From 1d40d81b4b8dd50e4162b0b79b60d3312d2744e5 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Tue, 3 May 2016 07:38:19 +0200 Subject: rtems: Remove task variables Update #2494. Update #2555. --- cpukit/score/include/rtems/score/thread.h | 34 ------------------------------- 1 file changed, 34 deletions(-) (limited to 'cpukit/score/include/rtems/score/thread.h') diff --git a/cpukit/score/include/rtems/score/thread.h b/cpukit/score/include/rtems/score/thread.h index 8bc12d2e33..8ea2db2cc1 100644 --- a/cpukit/score/include/rtems/score/thread.h +++ b/cpukit/score/include/rtems/score/thread.h @@ -173,35 +173,6 @@ typedef enum { */ typedef void (*Thread_CPU_budget_algorithm_callout )( Thread_Control * ); -#if !defined(RTEMS_SMP) -/** - * @brief Forward reference to the per task variable structure.. - * - * Forward reference to the per task variable structure. - */ -struct rtems_task_variable_tt; - -/** - * @brief Internal structure used to manager per task variables. - * - * This is the internal structure used to manager per Task Variables. - */ -typedef struct { - /** This field points to the next per task variable for this task. */ - struct rtems_task_variable_tt *next; - /** This field points to the physical memory location of this per - * task variable. - */ - void **ptr; - /** This field is to the global value for this per task variable. */ - void *gval; - /** This field is to this thread's value for this per task variable. */ - void *tval; - /** This field points to the destructor for this per task variable. */ - void (*dtor)(void *); -} rtems_task_variable_t; -#endif - /** * The following structure contains the information which defines * the starting state of a thread. @@ -870,11 +841,6 @@ struct _Thread_Control { /** This array contains the API extension area pointers. */ void *API_Extensions[ THREAD_API_LAST + 1 ]; -#if !defined(RTEMS_SMP) - /** This field points to the set of per task variables. */ - rtems_task_variable_t *task_variables; -#endif - /** * @brief The POSIX Keys information. */ -- cgit v1.2.3