18 #ifndef _RTEMS_RTEMS_ATTR_INL 19 #define _RTEMS_RTEMS_ATTR_INL 22 #include <rtems/score/cpu.h> 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;
#define RTEMS_BINARY_SEMAPHORE
Definition: attr.h:103
uint32_t rtems_attribute
Definition: attr.h:41
#define RTEMS_FLOATING_POINT
Definition: attr.h:83
RTEMS_INLINE_ROUTINE bool _Attributes_Is_priority(rtems_attribute attribute_set)
Checks if the priority attribute is enabled in the attribute_set.
Definition: attrimpl.h:119
RTEMS_INLINE_ROUTINE bool _Attributes_Is_floating_point(rtems_attribute attribute_set)
Checks if the floating point attribute is enabled in the attribute_set.
Definition: attrimpl.h:90
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.
Definition: attrimpl.h:147
#define RTEMS_SIMPLE_BINARY_SEMAPHORE
Definition: attr.h:109
RTEMS_INLINE_ROUTINE bool _Attributes_Is_system_task(rtems_attribute attribute_set)
Checks if the system task attribute is enabled in the attribute_set.
Definition: attrimpl.h:249
#define RTEMS_COUNTING_SEMAPHORE
Definition: attr.h:97
#define RTEMS_PRIORITY
Definition: attr.h:67
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.
Definition: attrimpl.h:60
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.
Definition: attrimpl.h:221
#define RTEMS_PRIORITY_CEILING
Definition: attr.h:137
#define RTEMS_GLOBAL
Definition: attr.h:55
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.
Definition: attrimpl.h:235
#define RTEMS_SEMAPHORE_CLASS
Definition: attr.h:91
#define RTEMS_INHERIT_PRIORITY
Definition: attr.h:123
#define RTEMS_BARRIER_AUTOMATIC_RELEASE
Definition: attr.h:159
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.
Definition: attrimpl.h:75
#define RTEMS_SYSTEM_TASK
Definition: attr.h:179
RTEMS_INLINE_ROUTINE bool _Attributes_Is_counting_semaphore(rtems_attribute attribute_set)
Checks if the counting semaphore attribute is enabled in the attribute_set.
Definition: attrimpl.h:162
#define RTEMS_MULTIPROCESSOR_RESOURCE_SHARING
Definition: attr.h:151
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.
Definition: attrimpl.h:190
RTEMS_INLINE_ROUTINE bool _Attributes_Is_binary_semaphore(rtems_attribute attribute_set)
Checks if the binary semaphore attribute is enabled in the attribute_set.
Definition: attrimpl.h:133
#define RTEMS_INLINE_ROUTINE
Definition: basedefs.h:66
RTEMS_INLINE_ROUTINE bool _Attributes_Is_inherit_priority(rtems_attribute attribute_set)
Checks if the priority inheritance attribute is enabled in the attribute_set.
Definition: attrimpl.h:176
RTEMS_INLINE_ROUTINE bool _Attributes_Is_priority_ceiling(rtems_attribute attribute_set)
Checks if the priority ceiling attribute is enabled in the attribute_set.
Definition: attrimpl.h:207