RTEMS  5.1
attr.h
Go to the documentation of this file.
1 
10 /* COPYRIGHT (c) 1989-2008.
11  * On-Line Applications Research Corporation (OAR).
12  *
13  * The license and distribution terms for this file may be
14  * found in the file LICENSE in this distribution or at
15  * http://www.rtems.org/license/LICENSE.
16  */
17 
18 #ifndef _RTEMS_RTEMS_ATTR_H
19 #define _RTEMS_RTEMS_ATTR_H
20 
21 #include <rtems/score/basedefs.h>
22 
23 #ifdef __cplusplus
24 extern "C" {
25 #endif
26 
41 typedef uint32_t rtems_attribute;
42 
45 #define RTEMS_DEFAULT_ATTRIBUTES 0x00000000
46 
50 #define RTEMS_LOCAL 0x00000000
51 
55 #define RTEMS_GLOBAL 0x00000002
56 
61 #define RTEMS_FIFO 0x00000000
62 
67 #define RTEMS_PRIORITY 0x00000004
68 
69 /******************** RTEMS Task Specific Attributes *********************/
70 
76 #define RTEMS_NO_FLOATING_POINT 0x00000000
77 
83 #define RTEMS_FLOATING_POINT 0x00000001
84 
85 /***************** RTEMS Semaphore Specific Attributes ********************/
86 
91 #define RTEMS_SEMAPHORE_CLASS 0x00000030
92 
97 #define RTEMS_COUNTING_SEMAPHORE 0x00000000
98 
103 #define RTEMS_BINARY_SEMAPHORE 0x00000010
104 
109 #define RTEMS_SIMPLE_BINARY_SEMAPHORE 0x00000020
110 
115 #define RTEMS_NO_INHERIT_PRIORITY 0x00000000
116 
123 #define RTEMS_INHERIT_PRIORITY 0x00000040
124 
129 #define RTEMS_NO_PRIORITY_CEILING 0x00000000
130 
137 #define RTEMS_PRIORITY_CEILING 0x00000080
138 
143 #define RTEMS_NO_MULTIPROCESSOR_RESOURCE_SHARING 0x00000000
144 
151 #define RTEMS_MULTIPROCESSOR_RESOURCE_SHARING 0x00000100
152 
153 /******************** RTEMS Barrier Specific Attributes ********************/
154 
159 #define RTEMS_BARRIER_AUTOMATIC_RELEASE 0x00000010
160 
165 #define RTEMS_BARRIER_MANUAL_RELEASE 0x00000000
166 
167 /**************** RTEMS Internal Task Specific Attributes ****************/
168 
173 #define RTEMS_APPLICATION_TASK 0x00000000
174 
179 #define RTEMS_SYSTEM_TASK 0x00008000
180 
183 #ifdef __cplusplus
184 }
185 #endif
186 
187 #endif
188 /* end of include file */
uint32_t rtems_attribute
Definition: attr.h:41
Basic Definitions.