54 #include <rtems/test.h> 126 return mode != 0 && ( mode & ( mode - 1 ) ) == 0;
135 while ( modes != 0 ) {
146 T_TEST_CASE( RtemsModeValModes )
195 T_step_eq_int( 14, PopCount( modes ), 11 );
#define RTEMS_NO_TIMESLICE
This task mode constant is used to indicate timeslicing is disabled.
#define RTEMS_INTERRUPT_MASK
This task mode constant corresponds to the interrupt enable/disable bits.
#define RTEMS_ASR
This task mode constant is used to indicate signal processing is disabled.
#define RTEMS_TIMESLICE
This task mode constant is used to indicate timeslicing is enabled.
#define RTEMS_TIMESLICE_MASK
This task mode constant corresponds to the timeslice enable/disable bit.
#define RTEMS_ASR_MASK
This mode constant corresponds to the signal enable/disable bit.
#define RTEMS_PREEMPT
This task mode constant is used to indicate preemption is enabled.
#define RTEMS_NO_ASR
This task mode constant is used to indicate signal processing is disabled.
This header file defines the RTEMS Classic API.
uint32_t rtems_mode
This type is used to represent a task mode set.
#define RTEMS_PREEMPT_MASK
This task mode constant corresponds to the preemption enable/disable bit.
#define RTEMS_ALL_MODE_MASKS
This task mode constant is a mask with all mode bits set.
#define RTEMS_DEFAULT_MODES
This task mode constant represents the default mode set.
#define RTEMS_NO_PREEMPT
This task mode constant is used to indicate preemption is disabled.