Changeset 3dd67dd1 in rtems


Ignore:
Timestamp:
06/14/17 05:29:14 (7 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
5, master
Children:
fd10817
Parents:
4000836c
git-author:
Sebastian Huber <sebastian.huber@…> (06/14/17 05:29:14)
git-committer:
Sebastian Huber <sebastian.huber@…> (06/14/17 05:30:46)
Message:

score: Remove rtems_ada_self

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

Update #2289.

Location:
cpukit/score
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/include/rtems/score/thread.h

    r4000836c r3dd67dd1  
    769769  bool                                  is_fp;
    770770
    771 #if __RTEMS_ADA__
    772   /** This field is the GNAT self context pointer. */
    773   void                                 *rtems_ada_self;
    774 #endif
    775771  /** This field is the length of the time quantum that this thread is
    776772   *  allowed to consume.  The algorithm used to manage limits on CPU usage
  • cpukit/score/src/threaddispatch.c

    r4000836c r3dd67dd1  
    3131#include <rtems/config.h>
    3232
    33 #if __RTEMS_ADA__
    34 void *rtems_ada_self;
    35 #endif
    36 
    3733#if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )
    3834Thread_Control *_Thread_Allocated_fp;
     
    212208     *  context switch.
    213209     */
    214 #if __RTEMS_ADA__
    215     executing->rtems_ada_self = rtems_ada_self;
    216     rtems_ada_self = heir->rtems_ada_self;
    217 #endif
    218210    if ( heir->budget_algorithm == THREAD_CPU_BUDGET_ALGORITHM_RESET_TIMESLICE )
    219211      heir->cpu_time_budget = rtems_configuration_get_ticks_per_timeslice();
Note: See TracChangeset for help on using the changeset viewer.