summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cpukit/sapi/src/exinit.c2
-rw-r--r--cpukit/score/include/rtems/score/coremuteximpl.h4
-rw-r--r--cpukit/score/include/rtems/score/sysstate.h12
3 files changed, 2 insertions, 16 deletions
diff --git a/cpukit/sapi/src/exinit.c b/cpukit/sapi/src/exinit.c
index 5574b43910..7dad241d6c 100644
--- a/cpukit/sapi/src/exinit.c
+++ b/cpukit/sapi/src/exinit.c
@@ -219,8 +219,6 @@ void rtems_initialize_start_multitasking(void)
{
uint32_t status;
- _System_state_Set( SYSTEM_STATE_BEGIN_MULTITASKING );
-
#ifdef RTEMS_SMP
_SMP_Request_other_cores_to_perform_first_context_switch();
#endif
diff --git a/cpukit/score/include/rtems/score/coremuteximpl.h b/cpukit/score/include/rtems/score/coremuteximpl.h
index aa7f0d99cd..aefddabcd8 100644
--- a/cpukit/score/include/rtems/score/coremuteximpl.h
+++ b/cpukit/score/include/rtems/score/coremuteximpl.h
@@ -213,12 +213,12 @@ void _CORE_mutex_Seize_interrupt_blocking(
#define _CORE_mutex_Check_dispatch_for_seize(_wait) \
(_Thread_Dispatch_get_disable_level() != 1 \
&& (_wait) \
- && (_System_state_Get() >= SYSTEM_STATE_BEGIN_MULTITASKING))
+ && (_System_state_Get() >= SYSTEM_STATE_UP))
#else
#define _CORE_mutex_Check_dispatch_for_seize(_wait) \
(!_Thread_Dispatch_is_enabled() \
&& (_wait) \
- && (_System_state_Get() >= SYSTEM_STATE_BEGIN_MULTITASKING))
+ && (_System_state_Get() >= SYSTEM_STATE_UP))
#endif
/**
diff --git a/cpukit/score/include/rtems/score/sysstate.h b/cpukit/score/include/rtems/score/sysstate.h
index 6599dff4f1..304b9529c3 100644
--- a/cpukit/score/include/rtems/score/sysstate.h
+++ b/cpukit/score/include/rtems/score/sysstate.h
@@ -49,11 +49,6 @@ typedef enum {
SYSTEM_STATE_BEFORE_MULTITASKING,
/**
- * @brief The system is attempting to initiate multitasking.
- */
- SYSTEM_STATE_BEGIN_MULTITASKING,
-
- /**
* @brief The system is up and operating normally.
*/
SYSTEM_STATE_UP,
@@ -119,13 +114,6 @@ RTEMS_INLINE_ROUTINE bool _System_state_Is_before_multitasking (
return (state == SYSTEM_STATE_BEFORE_MULTITASKING);
}
-RTEMS_INLINE_ROUTINE bool _System_state_Is_begin_multitasking (
- System_state_Codes state
-)
-{
- return (state == SYSTEM_STATE_BEGIN_MULTITASKING);
-}
-
RTEMS_INLINE_ROUTINE bool _System_state_Is_shutdown (
System_state_Codes state
)