RTEMS  5.0.0
Files | Functions
Classic Modes Implementation

Files

file  modesimpl.h
 Classic Modes Implementation.
 

Functions

RTEMS_INLINE_ROUTINE 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...
 
RTEMS_INLINE_ROUTINE bool _Modes_Is_asr_disabled (rtems_mode mode_set)
 Checks if mode_set says that Asynchronous Signal Processing is disabled. More...
 
RTEMS_INLINE_ROUTINE bool _Modes_Is_preempt (rtems_mode mode_set)
 Checks if mode_set indicates that preemption is enabled. More...
 
RTEMS_INLINE_ROUTINE bool _Modes_Is_timeslice (rtems_mode mode_set)
 Checks if mode_set indicates that timeslicing is enabled. More...
 
RTEMS_INLINE_ROUTINE ISR_Level _Modes_Get_interrupt_level (rtems_mode mode_set)
 Gets the interrupt level portion of the mode_set. More...
 
RTEMS_INLINE_ROUTINE void _Modes_Set_interrupt_level (rtems_mode mode_set)
 Sets the current interrupt level to that specified in the mode_set. More...
 
RTEMS_INLINE_ROUTINE 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()

RTEMS_INLINE_ROUTINE 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.

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.

◆ _Modes_Get_interrupt_level()

RTEMS_INLINE_ROUTINE ISR_Level _Modes_Get_interrupt_level ( rtems_mode  mode_set)

Gets the interrupt level portion of the mode_set.

This function returns the interrupt level portion of the mode_set.

◆ _Modes_Is_asr_disabled()

RTEMS_INLINE_ROUTINE bool _Modes_Is_asr_disabled ( rtems_mode  mode_set)

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.

◆ _Modes_Is_preempt()

RTEMS_INLINE_ROUTINE bool _Modes_Is_preempt ( rtems_mode  mode_set)

Checks if mode_set indicates that preemption is enabled.

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

◆ _Modes_Is_timeslice()

RTEMS_INLINE_ROUTINE bool _Modes_Is_timeslice ( rtems_mode  mode_set)

Checks if mode_set indicates that timeslicing is enabled.

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

◆ _Modes_Mask_changed()

RTEMS_INLINE_ROUTINE 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.

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

◆ _Modes_Set_interrupt_level()

RTEMS_INLINE_ROUTINE void _Modes_Set_interrupt_level ( rtems_mode  mode_set)

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.