53 #ifndef _RTEMS_RTEMS_MODES_H 54 #define _RTEMS_RTEMS_MODES_H 81 #define RTEMS_INTERRUPT_MASK CPU_MODES_INTERRUPT_MASK 99 #define RTEMS_ALL_MODE_MASKS 0x0000ffff 109 #define RTEMS_ASR 0x00000000 118 #define RTEMS_ASR_MASK 0x00000400 128 #define RTEMS_CURRENT_MODE 0 137 #define RTEMS_DEFAULT_MODES 0x00000000 154 #define RTEMS_INTERRUPT_LEVEL( _interrupt_level ) \ 155 ( ( _interrupt_level ) & RTEMS_INTERRUPT_MASK ) 193 #define RTEMS_NO_ASR 0x00000400 202 #define RTEMS_NO_PREEMPT 0x00000100 211 #define RTEMS_NO_TIMESLICE 0x00000000 220 #define RTEMS_PREEMPT 0x00000000 230 #define RTEMS_PREEMPT_MASK 0x00000100 239 #define RTEMS_TIMESLICE 0x00000200 249 #define RTEMS_TIMESLICE_MASK 0x00000200 const uint32_t rtems_interrupt_mask
This task mode constant has the same value as RTEMS_INTERRUPT_MASK.
SPARC CPU Department Source.
uint32_t rtems_mode
This type is used to represent a task mode set.
rtems_mode rtems_interrupt_level_body(uint32_t level)
Returns the return value of RTEMS_INTERRUPT_LEVEL() for the specified interrupt level.