RTEMS
Files | Functions
Classic Modes Implementation

Files

file  modesimpl.h
 Classic Modes Implementation.
 

Functions

static __inline__ bool _Modes_Mask_changed (rtems_mode mode_set, rtems_mode masks)
 Checks if any of the mode flags in mask are set in mode_set. More...
 
static __inline__ bool _Modes_Is_asr_disabled (rtems_mode mode_set)
 Checks if mode_set says that Asynchronous Signal Processing is disabled. More...
 
static __inline__ bool _Modes_Is_preempt (rtems_mode mode_set)
 Checks if mode_set indicates that preemption is enabled. More...
 
static __inline__ bool _Modes_Is_timeslice (rtems_mode mode_set)
 Checks if mode_set indicates that timeslicing is enabled. More...
 
static __inline__ ISR_Level _Modes_Get_interrupt_level (rtems_mode mode_set)
 Gets the interrupt level portion of the mode_set. More...
 
static __inline__ void _Modes_Set_interrupt_level (rtems_mode mode_set)
 Sets the current interrupt level to that specified in the mode_set. More...
 
static __inline__ void _Modes_Change (rtems_mode old_mode_set, rtems_mode new_mode_set, rtems_mode mask, rtems_mode *out_mode_set, rtems_mode *changed)
 Changes the modes in old_mode_set indicated by mask to the requested values in new_mode_set. More...
 

Detailed Description

Function Documentation

◆ _Modes_Change()

static __inline__ void _Modes_Change ( rtems_mode  old_mode_set,
rtems_mode  new_mode_set,
rtems_mode  mask,
rtems_mode out_mode_set,
rtems_mode changed 
)
static

Changes the modes in old_mode_set indicated by mask to the requested values in new_mode_set.

This routine changes the modes in old_mode_set indicated by mask to the requested values in new_mode_set. The resulting mode set is returned in out_mode_set and the modes that changed is returned in changed.

Definition at line 122 of file modesimpl.h.

◆ _Modes_Get_interrupt_level()

static __inline__ ISR_Level _Modes_Get_interrupt_level ( rtems_mode  mode_set)
static

Gets the interrupt level portion of the mode_set.

This function returns the interrupt level portion of the mode_set.

Definition at line 93 of file modesimpl.h.

◆ _Modes_Is_asr_disabled()

static __inline__ bool _Modes_Is_asr_disabled ( rtems_mode  mode_set)
static

Checks if mode_set says that Asynchronous Signal Processing is disabled.

This function returns TRUE if mode_set indicates that Asynchronous Signal Processing is disabled, and FALSE otherwise.

Definition at line 55 of file modesimpl.h.

◆ _Modes_Is_preempt()

static __inline__ bool _Modes_Is_preempt ( rtems_mode  mode_set)
static

Checks if mode_set indicates that preemption is enabled.

This function returns TRUE if mode_set indicates that preemption is enabled, and FALSE otherwise.

Definition at line 68 of file modesimpl.h.

◆ _Modes_Is_timeslice()

static __inline__ bool _Modes_Is_timeslice ( rtems_mode  mode_set)
static

Checks if mode_set indicates that timeslicing is enabled.

This function returns TRUE if mode_set indicates that timeslicing is enabled, and FALSE otherwise.

Definition at line 81 of file modesimpl.h.

◆ _Modes_Mask_changed()

static __inline__ bool _Modes_Mask_changed ( rtems_mode  mode_set,
rtems_mode  masks 
)
static

Checks if any of the mode flags in mask are set in mode_set.

This function returns TRUE if any of the mode flags in mask are set in mode_set, and FALSE otherwise.

Definition at line 41 of file modesimpl.h.

◆ _Modes_Set_interrupt_level()

static __inline__ void _Modes_Set_interrupt_level ( rtems_mode  mode_set)
static

Sets the current interrupt level to that specified in the mode_set.

This routine sets the current interrupt level to that specified in the mode_set.

Definition at line 106 of file modesimpl.h.