RTEMS CPU Kit with SuperCore  4.11.3
attr.h
Go to the documentation of this file.
1 
13 /* COPYRIGHT (c) 1989-2008.
14  * On-Line Applications Research Corporation (OAR).
15  *
16  * The license and distribution terms for this file may be
17  * found in the file LICENSE in this distribution or at
18  * http://www.rtems.org/license/LICENSE.
19  */
20 
21 #ifndef _RTEMS_RTEMS_ATTR_H
22 #define _RTEMS_RTEMS_ATTR_H
23 
24 #include <rtems/score/basedefs.h>
25 
26 #ifdef __cplusplus
27 extern "C" {
28 #endif
29 
44 typedef uint32_t rtems_attribute;
45 
48 #define RTEMS_DEFAULT_ATTRIBUTES 0x00000000
49 
53 #define RTEMS_LOCAL 0x00000000
54 
58 #define RTEMS_GLOBAL 0x00000002
59 
64 #define RTEMS_FIFO 0x00000000
65 
70 #define RTEMS_PRIORITY 0x00000004
71 
72 /******************** RTEMS Task Specific Attributes *********************/
73 
79 #define RTEMS_NO_FLOATING_POINT 0x00000000
80 
86 #define RTEMS_FLOATING_POINT 0x00000001
87 
88 /***************** RTEMS Semaphore Specific Attributes ********************/
89 
94 #define RTEMS_SEMAPHORE_CLASS 0x00000030
95 
100 #define RTEMS_COUNTING_SEMAPHORE 0x00000000
101 
106 #define RTEMS_BINARY_SEMAPHORE 0x00000010
107 
112 #define RTEMS_SIMPLE_BINARY_SEMAPHORE 0x00000020
113 
118 #define RTEMS_NO_INHERIT_PRIORITY 0x00000000
119 
126 #define RTEMS_INHERIT_PRIORITY 0x00000040
127 
132 #define RTEMS_NO_PRIORITY_CEILING 0x00000000
133 
140 #define RTEMS_PRIORITY_CEILING 0x00000080
141 
146 #define RTEMS_NO_MULTIPROCESSOR_RESOURCE_SHARING 0x00000000
147 
154 #define RTEMS_MULTIPROCESSOR_RESOURCE_SHARING 0x00000100
155 
156 /******************** RTEMS Barrier Specific Attributes ********************/
157 
162 #define RTEMS_BARRIER_AUTOMATIC_RELEASE 0x00000010
163 
168 #define RTEMS_BARRIER_MANUAL_RELEASE 0x00000000
169 
170 /**************** RTEMS Internal Task Specific Attributes ****************/
171 
176 #define RTEMS_APPLICATION_TASK 0x00000000
177 
182 #define RTEMS_SYSTEM_TASK 0x00008000
183 
186 #ifdef __cplusplus
187 }
188 #endif
189 
190 #endif
191 /* end of include file */
uint32_t rtems_attribute
This defines the type used to contain Classic API attributes.
Definition: attr.h:44
Basic Definitions.