score: Remove rtems_ada_self

This task variable is superfluous since we use thread-local storage now.

Update #2289.
This commit is contained in:
Sebastian Huber
2017-06-14 07:30:46 +02:00
parent 4000836c03
commit 3dd67dd16e
2 changed files with 0 additions and 12 deletions
@@ -768,10 +768,6 @@ struct _Thread_Control {
/** This field is true if the thread uses the floating point unit. */
bool is_fp;
#if __RTEMS_ADA__
/** This field is the GNAT self context pointer. */
void *rtems_ada_self;
#endif
/** This field is the length of the time quantum that this thread is
* allowed to consume. The algorithm used to manage limits on CPU usage
* is specified by budget_algorithm.
-8
View File
@@ -30,10 +30,6 @@
#include <rtems/score/wkspace.h>
#include <rtems/config.h>
#if __RTEMS_ADA__
void *rtems_ada_self;
#endif
#if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )
Thread_Control *_Thread_Allocated_fp;
#endif
@@ -211,10 +207,6 @@ void _Thread_Do_dispatch( Per_CPU_Control *cpu_self, ISR_Level level )
* Since heir and executing are not the same, we need to do a real
* context switch.
*/
#if __RTEMS_ADA__
executing->rtems_ada_self = rtems_ada_self;
rtems_ada_self = heir->rtems_ada_self;
#endif
if ( heir->budget_algorithm == THREAD_CPU_BUDGET_ALGORITHM_RESET_TIMESLICE )
heir->cpu_time_budget = rtems_configuration_get_ticks_per_timeslice();