summaryrefslogtreecommitdiffstats
path: root/cpukit/score/inline
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/score/inline')
-rw-r--r--cpukit/score/inline/rtems/score/sysstate.inl99
-rw-r--r--cpukit/score/inline/rtems/score/thread.inl1
2 files changed, 0 insertions, 100 deletions
diff --git a/cpukit/score/inline/rtems/score/sysstate.inl b/cpukit/score/inline/rtems/score/sysstate.inl
deleted file mode 100644
index 3fa534ce17..0000000000
--- a/cpukit/score/inline/rtems/score/sysstate.inl
+++ /dev/null
@@ -1,99 +0,0 @@
-/**
- * @file
- *
- * @brief System State Handler API
- */
-
-/*
- * COPYRIGHT (c) 1989-2004.
- * On-Line Applications Research Corporation (OAR).
- *
- * The license and distribution terms for this file may be
- * found in the file LICENSE in this distribution or at
- * http://www.rtems.com/license/LICENSE.
- */
-
-#ifndef _RTEMS_SCORE_SYSSTATE_H
-# error "Never use <rtems/score/sysstate.inl> directly; include <rtems/score/sysstate.h> instead."
-#endif
-
-#ifndef _RTEMS_SCORE_SYSSTATE_INL
-#define _RTEMS_SCORE_SYSSTATE_INL
-
-/**
- * @addtogroup ScoreSysState
- */
-/**@{**/
-
-RTEMS_INLINE_ROUTINE void _System_state_Set (
- System_state_Codes state
-)
-{
- _System_state_Current = state;
-}
-
-RTEMS_INLINE_ROUTINE void _System_state_Handler_initialization (
-#if defined(RTEMS_MULTIPROCESSING)
- bool is_multiprocessing
-#else
- bool is_multiprocessing __attribute__((unused))
-#endif
-)
-{
- _System_state_Set( SYSTEM_STATE_BEFORE_INITIALIZATION );
-#if defined(RTEMS_MULTIPROCESSING)
- _System_state_Is_multiprocessing = is_multiprocessing;
-#endif
-}
-
-RTEMS_INLINE_ROUTINE System_state_Codes _System_state_Get ( void )
-{
- return _System_state_Current;
-}
-
-RTEMS_INLINE_ROUTINE bool _System_state_Is_before_initialization (
- System_state_Codes state
-)
-{
- return (state == SYSTEM_STATE_BEFORE_INITIALIZATION);
-}
-
-RTEMS_INLINE_ROUTINE bool _System_state_Is_before_multitasking (
- System_state_Codes state
-)
-{
- 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
-)
-{
- return (state == SYSTEM_STATE_SHUTDOWN);
-}
-
-RTEMS_INLINE_ROUTINE bool _System_state_Is_up (
- System_state_Codes state
-)
-{
- return (state == SYSTEM_STATE_UP);
-}
-
-RTEMS_INLINE_ROUTINE bool _System_state_Is_failed (
- System_state_Codes state
-)
-{
- return (state == SYSTEM_STATE_FAILED);
-}
-
-/** @} */
-
-#endif
-/* end of include file */
diff --git a/cpukit/score/inline/rtems/score/thread.inl b/cpukit/score/inline/rtems/score/thread.inl
index 88438d66bc..9c0aecb01a 100644
--- a/cpukit/score/inline/rtems/score/thread.inl
+++ b/cpukit/score/inline/rtems/score/thread.inl
@@ -23,7 +23,6 @@
#ifndef _RTEMS_SCORE_THREAD_INL
#define _RTEMS_SCORE_THREAD_INL
-#include <rtems/score/sysstate.h>
#include <rtems/score/context.h>
/**