Changeset 3dd67dd1 in rtems
- Timestamp:
- 06/14/17 05:29:14 (7 years ago)
- 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)
- Location:
- cpukit/score
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
cpukit/score/include/rtems/score/thread.h
r4000836c r3dd67dd1 769 769 bool is_fp; 770 770 771 #if __RTEMS_ADA__772 /** This field is the GNAT self context pointer. */773 void *rtems_ada_self;774 #endif775 771 /** This field is the length of the time quantum that this thread is 776 772 * allowed to consume. The algorithm used to manage limits on CPU usage -
cpukit/score/src/threaddispatch.c
r4000836c r3dd67dd1 31 31 #include <rtems/config.h> 32 32 33 #if __RTEMS_ADA__34 void *rtems_ada_self;35 #endif36 37 33 #if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE ) 38 34 Thread_Control *_Thread_Allocated_fp; … … 212 208 * context switch. 213 209 */ 214 #if __RTEMS_ADA__215 executing->rtems_ada_self = rtems_ada_self;216 rtems_ada_self = heir->rtems_ada_self;217 #endif218 210 if ( heir->budget_algorithm == THREAD_CPU_BUDGET_ALGORITHM_RESET_TIMESLICE ) 219 211 heir->cpu_time_budget = rtems_configuration_get_ticks_per_timeslice();
Note: See TracChangeset
for help on using the changeset viewer.