RTEMS  5.0.0
Files | Macros | Enumerations | Functions | Variables
System State Handler

Management of the internal system state of RTEMS. More...

Files

file  sysstate.h
 System State Handler API.
 

Macros

#define SYSTEM_STATE_CODES_FIRST   SYSTEM_STATE_BEFORE_INITIALIZATION
 
#define SYSTEM_STATE_CODES_LAST   SYSTEM_STATE_TERMINATED
 

Enumerations

enum  System_state_Codes { SYSTEM_STATE_BEFORE_INITIALIZATION, SYSTEM_STATE_BEFORE_MULTITASKING, SYSTEM_STATE_UP, SYSTEM_STATE_TERMINATED }
 System states. More...
 

Functions

RTEMS_INLINE_ROUTINE void _System_state_Set (System_state_Codes state)
 
RTEMS_INLINE_ROUTINE System_state_Codes _System_state_Get (void)
 
RTEMS_INLINE_ROUTINE bool _System_state_Is_before_initialization (System_state_Codes state)
 
RTEMS_INLINE_ROUTINE bool _System_state_Is_before_multitasking (System_state_Codes state)
 
RTEMS_INLINE_ROUTINE bool _System_state_Is_up (System_state_Codes state)
 
RTEMS_INLINE_ROUTINE bool _System_state_Is_terminated (System_state_Codes state)
 

Variables

System_state_Codes _System_state_Current
 

Detailed Description

Management of the internal system state of RTEMS.

Enumeration Type Documentation

◆ System_state_Codes

System states.

Enumerator
SYSTEM_STATE_BEFORE_INITIALIZATION 

The system is before the end of the first phase of initialization.

SYSTEM_STATE_BEFORE_MULTITASKING 

The system is between end of the first phase of initialization but before multitasking is started.

SYSTEM_STATE_UP 

The system is up and operating normally.

SYSTEM_STATE_TERMINATED 

The system reached its terminal state.