Management of the internal system state of RTEMS.
More...
Management of the internal system state of RTEMS.
◆ 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.
|
Definition at line 40 of file sysstate.h.
◆ _System_state_Get()
Gets the current system state.
- Returns
- The current system state.
Definition at line 90 of file sysstate.h.
◆ _System_state_Is_before_initialization()
Checks if the state is before initialization.
- Parameters
-
- Return values
-
true | state is before initialization. |
false | state is not before initialization. |
Definition at line 103 of file sysstate.h.
◆ _System_state_Is_before_multitasking()
Checks if the state is before multitasking.
- Parameters
-
- Return values
-
true | state is before multitasking. |
false | state is not before multitasking. |
Definition at line 118 of file sysstate.h.
◆ _System_state_Is_terminated()
Checks if the state is terminated.
- Parameters
-
- Return values
-
true | state is terminated. |
false | state is not terminated. |
Definition at line 148 of file sysstate.h.
◆ _System_state_Is_up()
Checks if the state is up.
- Parameters
-
- Return values
-
true | state is up. |
false | state is not up. |
Definition at line 133 of file sysstate.h.
◆ _System_state_Set()
Sets the current system state to the given state.
- Parameters
-
Definition at line 78 of file sysstate.h.