RTEMS CPU Kit with SuperCore  4.11.3
Files | Functions
Classic Modes Implementation
Collaboration diagram for Classic Modes Implementation:

Files

file  modesimpl.h
 Classic Modes Implementation.
 

Functions

RTEMS_INLINE_ROUTINE bool _Modes_Mask_changed (Modes_Control mode_set, Modes_Control masks)
 Checks if any of the mode flags in mask are set in mode_set. More...
 
RTEMS_INLINE_ROUTINE bool _Modes_Is_asr_disabled (Modes_Control mode_set)
 Checks if mode_set says that Asynchronous Signal Processing is disabled. More...
 
RTEMS_INLINE_ROUTINE bool _Modes_Is_preempt (Modes_Control mode_set)
 Checks if mode_set indicates that preemption is enabled. More...
 
RTEMS_INLINE_ROUTINE bool _Modes_Is_timeslice (Modes_Control mode_set)
 Checks if mode_set indicates that timeslicing is enabled. More...
 
RTEMS_INLINE_ROUTINE ISR_Level _Modes_Get_interrupt_level (Modes_Control mode_set)
 Gets the interrupt level portion of the mode_set. More...
 
RTEMS_INLINE_ROUTINE void _Modes_Set_interrupt_level (Modes_Control mode_set)
 Sets the current interrupt level to that specified in the mode_set. More...
 
RTEMS_INLINE_ROUTINE void _Modes_Change (Modes_Control old_mode_set, Modes_Control new_mode_set, Modes_Control mask, Modes_Control *out_mode_set, Modes_Control *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 ( Modes_Control  old_mode_set,
Modes_Control  new_mode_set,
Modes_Control  mask,
Modes_Control out_mode_set,
Modes_Control 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 ( Modes_Control  mode_set)

Gets the interrupt level portion of the mode_set.

This function returns the interrupt level portion of the mode_set.

References RTEMS_INTERRUPT_MASK.

Referenced by _Modes_Set_interrupt_level().

◆ _Modes_Is_asr_disabled()

RTEMS_INLINE_ROUTINE bool _Modes_Is_asr_disabled ( Modes_Control  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.

References RTEMS_ASR_MASK, and RTEMS_NO_ASR.

◆ _Modes_Is_preempt()

RTEMS_INLINE_ROUTINE bool _Modes_Is_preempt ( Modes_Control  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.

References RTEMS_PREEMPT, and RTEMS_PREEMPT_MASK.

◆ _Modes_Is_timeslice()

RTEMS_INLINE_ROUTINE bool _Modes_Is_timeslice ( Modes_Control  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.

References RTEMS_TIMESLICE, and RTEMS_TIMESLICE_MASK.

◆ _Modes_Mask_changed()

RTEMS_INLINE_ROUTINE bool _Modes_Mask_changed ( Modes_Control  mode_set,
Modes_Control  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 ( Modes_Control  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.

References _ISR_Set_level, and _Modes_Get_interrupt_level().