RTEMS  5.1
Macros | Enumerations | Functions | Variables
sysstate.h File Reference

System State Handler API. More...

#include <rtems/score/basedefs.h>

Go to the source code of this file.

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)
 Sets the current system state to the given state. More...
 
RTEMS_INLINE_ROUTINE System_state_Codes _System_state_Get (void)
 Gets the current system state. More...
 
RTEMS_INLINE_ROUTINE bool _System_state_Is_before_initialization (System_state_Codes state)
 Checks if the state is before initialization. More...
 
RTEMS_INLINE_ROUTINE bool _System_state_Is_before_multitasking (System_state_Codes state)
 Checks if the state is before multitasking. More...
 
RTEMS_INLINE_ROUTINE bool _System_state_Is_up (System_state_Codes state)
 Checks if the state is up. More...
 
RTEMS_INLINE_ROUTINE bool _System_state_Is_terminated (System_state_Codes state)
 Checks if the state is terminated. More...
 

Variables

System_state_Codes _System_state_Current
 

Detailed Description

System State Handler API.