RTEMS: cpukit/include/rtems/score/sysstate.h File Reference

| RTEMS 5.4-rc2

Loading...
Searching...
No Matches
Macros | Enumerations | Functions | Variables
sysstate.h File Reference
Internal » SuperCore » System State Handler

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

## Variables
System_state_Codes | _System_state_Current

## Detailed Description

System State Handler API.