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.
|
◆ _System_state_Get()
Gets the current system state.
- Returns
- The current system state.
◆ _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. |
◆ _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. |
◆ _System_state_Is_terminated()
Checks if the state is terminated.
- Parameters
-
- Return values
-
true | state is terminated. |
false | state is not terminated. |
◆ _System_state_Is_up()
Checks if the state is up.
- Parameters
-
- Return values
-
true | state is up. |
false | state is not up. |
◆ _System_state_Set()
Sets the current system state to the given state.
- Parameters
-