RTEMS: cpukit/include/rtems/rtems/modes.h File Reference

| RTEMS 5.4-rc2

Loading...
Searching...
No Matches
Macros | Typedefs | Functions | Variables
modes.h File Reference
API » Classic » Modes
`#include <rtems/score/cpu.h>`

Go to the source code of this file.

## Macros
#define | RTEMS_ALL_MODE_MASKS 0x0000ffff
#define | RTEMS_DEFAULT_MODES 0x00000000
#define | RTEMS_CURRENT_MODE 0
#define | RTEMS_TIMESLICE_MASK 0x00000200
#define | RTEMS_PREEMPT_MASK 0x00000100
#define | RTEMS_ASR_MASK 0x00000400
#define | RTEMS_INTERRUPT_MASK CPU_MODES_INTERRUPT_MASK
#define | RTEMS_PREEMPT 0x00000000
#define | RTEMS_NO_PREEMPT 0x00000100
#define | RTEMS_NO_TIMESLICE 0x00000000
#define | RTEMS_TIMESLICE 0x00000200
#define | RTEMS_ASR 0x00000000
#define | RTEMS_NO_ASR 0x00000400
#define | RTEMS_INTERRUPT_LEVEL(_mode_set) ( (_mode_set) & RTEMS_INTERRUPT_MASK )
| RTEMS_INTERRUPT_LEVEL.

## Typedefs
typedef uint32_t | rtems_mode

## Functions
rtems_mode | rtems_interrupt_level_body (uint32_t level)
| Body for RTEMS_INTERRUPT_LEVEL Macro.

## Variables
const uint32_t | rtems_interrupt_mask
| Interrupt Mask Variable.

## Detailed Description

This include file contains all constants and structures associated with the RTEMS thread and RTEMS_ASR modes.