RTEMS CPU Kit with SuperCore  4.11.3
Macros | Typedefs | Functions | Variables
modes.h File Reference
#include <rtems/score/cpu.h>
Include dependency graph for modes.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define RTEMS_ALL_MODE_MASKS   0x0000ffff
 The following constants define the individual modes and masks which may be used to compose a mode set and to alter modes.
 
#define RTEMS_DEFAULT_MODES   0x00000000
 This mode constant is the default mode set.
 
#define RTEMS_CURRENT_MODE   0
 This mode constant is used when the user wishes to obtain their current execution mode.
 
#define RTEMS_TIMESLICE_MASK   0x00000200
 This mode constant corresponds to the timeslice enable/disable bit. More...
 
#define RTEMS_PREEMPT_MASK   0x00000100
 This mode constant corresponds to the preemption enable/disable bit. More...
 
#define RTEMS_ASR_MASK   0x00000400
 This mode constant corresponds to the signal enable/disable bit. More...
 
#define RTEMS_INTERRUPT_MASK   CPU_MODES_INTERRUPT_MASK
 This mode constant corresponds to the interrupt enable/disable bits. More...
 
#define RTEMS_PREEMPT   0x00000000
 This mode constant is used to indicate preemption is enabled. More...
 
#define RTEMS_NO_PREEMPT   0x00000100
 This mode constant is used to indicate preemption is disabled. More...
 
#define RTEMS_NO_TIMESLICE   0x00000000
 This mode constant is used to indicate timeslicing is disabled. More...
 
#define RTEMS_TIMESLICE   0x00000200
 This mode constant is used to indicate timeslicing is enabled. More...
 
#define RTEMS_ASR   0x00000000
 This mode constant is used to indicate signal processing is enabled. More...
 
#define RTEMS_NO_ASR   0x00000400
 This mode constant is used to indicate signal processing is disabled. More...
 
#define RTEMS_INTERRUPT_LEVEL(_mode_set)   ( (_mode_set) & RTEMS_INTERRUPT_MASK )
 RTEMS_INTERRUPT_LEVEL. More...
 

Typedefs

typedef uint32_t Modes_Control
 The following type defines the control block used to manage each a mode set.
 

Functions

Modes_Control rtems_interrupt_level_body (uint32_t level)
 Body for RTEMS_INTERRUPT_LEVEL Macro. More...
 

Variables

const uint32_t rtems_interrupt_mask
 Interrupt Mask Variable. More...