18 #ifndef _RTEMS_SCORE_SYSSTATE_H 19 #define _RTEMS_SCORE_SYSSTATE_H 62 #define SYSTEM_STATE_CODES_FIRST SYSTEM_STATE_BEFORE_INITIALIZATION 64 #define SYSTEM_STATE_CODES_LAST SYSTEM_STATE_TERMINATED 66 #if defined(RTEMS_MULTIPROCESSING) 70 extern System_state_Codes _System_state_Current;
73 System_state_Codes state
76 _System_state_Current = state;
80 #
if defined(RTEMS_MULTIPROCESSING)
81 bool is_multiprocessing
83 bool is_multiprocessing __attribute__((unused))
88 #if defined(RTEMS_MULTIPROCESSING) 89 _System_state_Is_multiprocessing = is_multiprocessing;
95 return _System_state_Current;
99 System_state_Codes state
106 System_state_Codes state
113 System_state_Codes state
120 System_state_Codes state
#define RTEMS_INLINE_ROUTINE
The following (in conjunction with compiler arguments) are used to choose between the use of static i...
Definition: basedefs.h:135
The system is up and operating normally.
Definition: sysstate.h:54
The system is between end of the first phase of initialization but before multitasking is started...
Definition: sysstate.h:49
The system is before the end of the first phase of initialization.
Definition: sysstate.h:43
#define SCORE_EXTERN
The following ensures that all data is declared in the space of the initialization routine for either...
Definition: basedefs.h:81
System_state_Codes
System states.
Definition: sysstate.h:39
The system reached its terminal state.
Definition: sysstate.h:59