18 #ifndef _RTEMS_RTEMS_ATTR_INL 19 #define _RTEMS_RTEMS_ATTR_INL 42 #define ATTRIBUTES_NOT_SUPPORTED 0 48 #if ( CPU_ALL_TASKS_ARE_FP == TRUE ) 49 #define ATTRIBUTES_REQUIRED RTEMS_FLOATING_POINT 51 #define ATTRIBUTES_REQUIRED 0 65 return attribute_set | new_attributes;
80 return attribute_set & ~mask;
97 #if defined(RTEMS_MULTIPROCESSING) 197 return ( attribute_set & ( attribute_set - 1 ) ) == 0;
RTEMS_INLINE_ROUTINE bool _Attributes_Is_priority(rtems_attribute attribute_set)
Checks if the priority attribute is enabled in the attribute_set.
RTEMS_INLINE_ROUTINE bool _Attributes_Is_floating_point(rtems_attribute attribute_set)
Checks if the floating point attribute is enabled in the attribute_set.
RTEMS_INLINE_ROUTINE bool _Attributes_Is_simple_binary_semaphore(rtems_attribute attribute_set)
Checks if the simple binary semaphore attribute is enabled in the attribute_set.
#define RTEMS_INHERIT_PRIORITY
This attribute constant indicates that the Classic API Semaphore object shall use the Priority Inheri...
RTEMS_INLINE_ROUTINE bool _Attributes_Is_system_task(rtems_attribute attribute_set)
Checks if the system task attribute is enabled in the attribute_set.
#define RTEMS_SYSTEM_TASK
This attribute constant is used to indicate that the Classic API Task object shall be a system task...
#define RTEMS_MULTIPROCESSOR_RESOURCE_SHARING
This attribute constant indicates that the Classic API Semaphore object shall use the Multiprocessor ...
#define RTEMS_COUNTING_SEMAPHORE
This attribute constant indicates that the Classic API Semaphore object shall be a counting semaphore...
RTEMS_INLINE_ROUTINE rtems_attribute _Attributes_Set(rtems_attribute new_attributes, rtems_attribute attribute_set)
Sets the requested new_attributes in the attribute_set passed in.
#define RTEMS_PRIORITY
This attribute constant indicates that the Classic API object shall manage blocking tasks using the t...
#define RTEMS_SIMPLE_BINARY_SEMAPHORE
This attribute constant indicates that the Classic API Semaphore object shall be a simple binary sema...
This header file defines attributes provided by the Classic API.
#define RTEMS_BINARY_SEMAPHORE
This attribute constant indicates that the Classic API Semaphore object shall be a proper binary sema...
RTEMS_INLINE_ROUTINE bool _Attributes_Is_multiprocessor_resource_sharing(rtems_attribute attribute_set)
Checks if the Multiprocessor Resource Sharing Protocol attribute is enabled in the attribute_set...
#define RTEMS_FLOATING_POINT
This attribute constant indicates that the task shall be able to use the floating point hardware...
#define RTEMS_SEMAPHORE_CLASS
This is the mask for the attribute bits associated with the Classic API Semaphore Manager...
RTEMS_INLINE_ROUTINE bool _Attributes_Is_barrier_automatic(rtems_attribute attribute_set)
Checks if the barrier automatic release attribute is enabled in the attribute_set.
SPARC CPU Department Source.
uint32_t rtems_attribute
This type is used to represent Classic API attributes.
#define RTEMS_PRIORITY_CEILING
This attribute constant indicates that the Classic API Semaphore object shall use the Priority Ceilin...
RTEMS_INLINE_ROUTINE rtems_attribute _Attributes_Clear(rtems_attribute attribute_set, rtems_attribute mask)
Clears the requested new_attributes in the attribute_set passed in.
#define RTEMS_BARRIER_AUTOMATIC_RELEASE
This attribute constant indicates that a Classic API Barrier object shall use the automatic release p...
RTEMS_INLINE_ROUTINE bool _Attributes_Is_counting_semaphore(rtems_attribute attribute_set)
Checks if the counting semaphore attribute is enabled in the attribute_set.
#define RTEMS_INLINE_ROUTINE
Gives a hint to the compiler in a function declaration to inline this function.
RTEMS_INLINE_ROUTINE bool _Attributes_Has_at_most_one_protocol(rtems_attribute attribute_set)
Returns true if the attribute set has at most one protocol, and false otherwise.
RTEMS_INLINE_ROUTINE bool _Attributes_Is_binary_semaphore(rtems_attribute attribute_set)
Checks if the binary semaphore attribute is enabled in the attribute_set.
#define RTEMS_GLOBAL
This attribute constant indicates that the Classic API object shall be a global resource in a multipr...
RTEMS_INLINE_ROUTINE bool _Attributes_Is_inherit_priority(rtems_attribute attribute_set)
Checks if the priority inheritance attribute is enabled in the attribute_set.
RTEMS_INLINE_ROUTINE bool _Attributes_Is_priority_ceiling(rtems_attribute attribute_set)
Checks if the priority ceiling attribute is enabled in the attribute_set.