summaryrefslogtreecommitdiffstats
path: root/cpukit/score/include/rtems/score/thread.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/score/include/rtems/score/thread.h')
-rw-r--r--cpukit/score/include/rtems/score/thread.h105
1 files changed, 0 insertions, 105 deletions
diff --git a/cpukit/score/include/rtems/score/thread.h b/cpukit/score/include/rtems/score/thread.h
index 9461c85be1..3cddb5a3e9 100644
--- a/cpukit/score/include/rtems/score/thread.h
+++ b/cpukit/score/include/rtems/score/thread.h
@@ -50,18 +50,6 @@
#define RTEMS_SCORE_THREAD_ENABLE_USER_PROVIDED_STACK_VIA_API
#endif
-#if defined(RTEMS_SMP) || \
- defined(RTEMS_HEAVY_STACK_DEBUG) || \
- defined(RTEMS_HEAVY_MALLOC_DEBUG)
- #define __THREAD_DO_NOT_INLINE_DISABLE_DISPATCH__
-#endif
-
-#if defined(RTEMS_SMP) || \
- (CPU_INLINE_ENABLE_DISPATCH == FALSE) || \
- (__RTEMS_DO_NOT_INLINE_THREAD_ENABLE_DISPATCH__ == 1)
- #define __THREAD_DO_NOT_INLINE_ENABLE_DISPATCH__
-#endif
-
/*
* Deferred floating point context switches are not currently
* supported when in SMP configuration.
@@ -463,28 +451,6 @@ SCORE_EXTERN Objects_Information _Thread_Internal_information;
SCORE_EXTERN Context_Control _Thread_BSP_context;
/**
- * The following declares the dispatch critical section nesting
- * counter which is used to prevent context switches at inopportune
- * moments.
- */
-SCORE_EXTERN volatile uint32_t _Thread_Dispatch_disable_level;
-
-#if defined(RTEMS_SMP)
- typedef struct {
- SMP_lock_Control lock;
- int owner_cpu;
- int nest_level;
- } Thread_Dispatch_disable_level_lock_control;
-
- /**
- * The following declares the smp spinlock to be used to control
- * the dispatch critical section accesses across cpus.
- */
- SCORE_EXTERN Thread_Dispatch_disable_level_lock_control
- _Thread_Dispatch_disable_level_lock;
-#endif
-
-/**
* The following holds how many user extensions are in the system. This
* is used to determine how many user extension data areas to allocate
* per thread.
@@ -542,26 +508,6 @@ void _Thread_Create_idle(void);
void _Thread_Start_multitasking( void );
/**
- * @brief Dispatch thread.
- *
- * This routine is responsible for transferring control of the
- * processor from the executing thread to the heir thread. Once the
- * heir is running an attempt is made to dispatch any ASRs.
- * As part of this process, it is responsible for the following actions:
- * + saving the context of the executing thread
- * + restoring the context of the heir thread
- * + dispatching any signals for the resulting executing thread
-
- * ALTERNATE ENTRY POINTS:
- * void _Thread_Enable_dispatch();
- *
- * - INTERRUPT LATENCY:
- * + dispatch thread
- * + no dispatch thread
- */
-void _Thread_Dispatch( void );
-
-/**
* @brief Allocate the requested stack space for the thread.
*
* Allocate the requested stack space for the thread.
@@ -903,57 +849,6 @@ void _Thread_blocking_operation_Cancel(
Thread_Control *the_thread,
ISR_Level level
);
-#if defined(RTEMS_SMP)
-
- /**
- * @brief Initializes the thread dispatching subsystem.
- *
- * This routine initializes the thread dispatching subsystem.
- */
- void _Thread_Dispatch_initialization(void);
-
- /**
- * @brief Checks if thread dispatch says that we are in a critical section.
- *
- * This routine returns true if thread dispatch indicates
- * that we are in a critical section.
- */
- bool _Thread_Dispatch_in_critical_section(void);
-
- /**
- * @brief Returns value of the the thread dispatch level.
- *
- * This routine returns value of the the thread dispatch level.
- */
- uint32_t _Thread_Dispatch_get_disable_level(void);
-
- /**
- * @brief Sets thread dispatch level to the value passed in.
- *
- * This routine sets thread dispatch level to the
- * value passed in.
- */
- uint32_t _Thread_Dispatch_set_disable_level(uint32_t value);
-
- /**
- * @brief Increments the thread dispatch level.
- *
- * This rountine increments the thread dispatch level
- */
- uint32_t _Thread_Dispatch_increment_disable_level(void);
-
- /**
- * @brief Decrements the thread dispatch level.
- *
- * This routine decrements the thread dispatch level.
- */
- uint32_t _Thread_Dispatch_decrement_disable_level(void);
-
-#else
- /*
- * The _Thread_Dispatch_... functions are in thread.inl
- */
-#endif
#ifndef __RTEMS_APPLICATION__
#include <rtems/score/thread.inl>