54 #include <rtems/test.h> 127 return attribute != 0 && ( attribute & ( attribute - 1 ) ) == 0;
136 while ( attributes != 0 ) {
138 attributes &= attributes - 1;
147 T_TEST_CASE( RtemsAttrValAttr )
192 T_step_eq_int( 20, PopCount( attributes ), 10 );
#define RTEMS_BARRIER_MANUAL_RELEASE
This attribute constant indicates that the Classic API Barrier object shall use the manual release pr...
#define RTEMS_INHERIT_PRIORITY
This attribute constant indicates that the Classic API Semaphore object shall use the Priority Inheri...
#define RTEMS_LOCAL
This attribute constant indicates that the Classic API object shall be a local resource in a multipro...
#define RTEMS_DEFAULT_ATTRIBUTES
This is the default value for an 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...
#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...
#define RTEMS_NO_PRIORITY_CEILING
This attribute constant indicates that the Classic API Semaphore object will not use the Priority Cei...
#define RTEMS_BINARY_SEMAPHORE
This attribute constant indicates that the Classic API Semaphore object shall be a proper binary sema...
#define RTEMS_NO_INHERIT_PRIORITY
This attribute constant indicates that the Classic API Semaphore object will not use the Priority Inh...
#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...
This header file defines the RTEMS Classic API.
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...
#define RTEMS_NO_FLOATING_POINT
This attribute constant indicates that the task will not use the floating point hardware.
#define RTEMS_BARRIER_AUTOMATIC_RELEASE
This attribute constant indicates that a Classic API Barrier object shall use the automatic release p...
#define RTEMS_APPLICATION_TASK
This attribute constant is used to indicate that the Classic API Task object shall be an application ...
#define RTEMS_GLOBAL
This attribute constant indicates that the Classic API object shall be a global resource in a multipr...
#define RTEMS_NO_MULTIPROCESSOR_RESOURCE_SHARING
This attribute constant indicates that the Classic API Semaphore object will not use the Multiprocess...
#define RTEMS_FIFO
This attribute constant indicates that the Classic API object shall manage blocking tasks using the F...