4.104.114.84.95
Line | |
---|
1 | /** |
---|
2 | * @file rtems/rtems/options.h |
---|
3 | */ |
---|
4 | |
---|
5 | /* |
---|
6 | * This include file contains information which defines the |
---|
7 | * options available on many directives. |
---|
8 | * |
---|
9 | * COPYRIGHT (c) 1989-1999. |
---|
10 | * On-Line Applications Research Corporation (OAR). |
---|
11 | * |
---|
12 | * The license and distribution terms for this file may be |
---|
13 | * found in the file LICENSE in this distribution or at |
---|
14 | * http://www.rtems.com/license/LICENSE. |
---|
15 | * |
---|
16 | * $Id$ |
---|
17 | */ |
---|
18 | |
---|
19 | #ifndef _RTEMS_RTEMS_OPTIONS_H |
---|
20 | #define _RTEMS_RTEMS_OPTIONS_H |
---|
21 | |
---|
22 | #ifdef __cplusplus |
---|
23 | extern "C" { |
---|
24 | #endif |
---|
25 | |
---|
26 | /* |
---|
27 | * The following type defines the control block used to manage |
---|
28 | * option sets. |
---|
29 | */ |
---|
30 | |
---|
31 | typedef uint32_t rtems_option; |
---|
32 | |
---|
33 | /* |
---|
34 | * The following constants define the individual options which may |
---|
35 | * be used to compose an option set. |
---|
36 | */ |
---|
37 | |
---|
38 | #define RTEMS_DEFAULT_OPTIONS 0x00000000 |
---|
39 | |
---|
40 | #define RTEMS_WAIT 0x00000000 /* wait on resource */ |
---|
41 | #define RTEMS_NO_WAIT 0x00000001 /* do not wait on resource */ |
---|
42 | |
---|
43 | #define RTEMS_EVENT_ALL 0x00000000 /* wait for all events */ |
---|
44 | #define RTEMS_EVENT_ANY 0x00000002 /* wait on any event */ |
---|
45 | |
---|
46 | #ifndef __RTEMS_APPLICATION__ |
---|
47 | #include <rtems/rtems/options.inl> |
---|
48 | #endif |
---|
49 | |
---|
50 | #ifdef __cplusplus |
---|
51 | } |
---|
52 | #endif |
---|
53 | |
---|
54 | #endif |
---|
55 | /* end of include file */ |
---|
Note: See
TracBrowser
for help on using the repository browser.