forked from Imagelibrary/rtems
2010-11-24 Gedare Bloom <giddyup44@yahoo.com>
PR 1647/cpukit * tm26/task1.c, tm27/task1.c: Update documentation to reflect refactoring of SuperCore to add Scheduler Handler.
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
2010-11-24 Gedare Bloom <giddyup44@yahoo.com>
|
||||
|
||||
PR 1647/cpukit
|
||||
* tm26/task1.c, tm27/task1.c: Update documentation to reflect
|
||||
refactoring of SuperCore to add Scheduler Handler.
|
||||
|
||||
2010-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
|
||||
|
||||
* tm26/task1.c, tm27/task1.c: Do not violate chain API.
|
||||
|
||||
@@ -242,7 +242,8 @@ rtems_task Middle_task(
|
||||
Middle_tcb = _Thread_Executing;
|
||||
|
||||
_Thread_Executing =
|
||||
(Thread_Control *) _Chain_First(&_Thread_Ready_chain[LOW_PRIORITY]);
|
||||
(Thread_Control *)
|
||||
_Chain_First(&_Scheduler.ready_queues.Priority[LOW_PRIORITY]);
|
||||
|
||||
/* do not force context switch */
|
||||
|
||||
@@ -279,7 +280,8 @@ rtems_task Low_task(
|
||||
context_switch_another_task_time = benchmark_timer_read();
|
||||
|
||||
_Thread_Executing =
|
||||
(Thread_Control *) _Chain_First(&_Thread_Ready_chain[FP1_PRIORITY]);
|
||||
(Thread_Control *)
|
||||
_Chain_First(&_Scheduler.ready_queues.Priority[FP1_PRIORITY]);
|
||||
|
||||
/* do not force context switch */
|
||||
|
||||
@@ -306,7 +308,8 @@ rtems_task Floating_point_task_1(
|
||||
executing = _Thread_Executing;
|
||||
|
||||
_Thread_Executing =
|
||||
(Thread_Control *) _Chain_First(&_Thread_Ready_chain[FP2_PRIORITY]);
|
||||
(Thread_Control *)
|
||||
_Chain_First(&_Scheduler.ready_queues.Priority[FP2_PRIORITY]);
|
||||
|
||||
/* do not force context switch */
|
||||
|
||||
@@ -329,7 +332,8 @@ rtems_task Floating_point_task_1(
|
||||
executing = _Thread_Executing;
|
||||
|
||||
_Thread_Executing =
|
||||
(Thread_Control *) _Chain_First(&_Thread_Ready_chain[FP2_PRIORITY]);
|
||||
(Thread_Control *)
|
||||
_Chain_First(&_Scheduler.ready_queues.Priority[FP2_PRIORITY]);
|
||||
|
||||
/* do not force context switch */
|
||||
|
||||
@@ -358,7 +362,8 @@ rtems_task Floating_point_task_2(
|
||||
executing = _Thread_Executing;
|
||||
|
||||
_Thread_Executing =
|
||||
(Thread_Control *) _Chain_First(&_Thread_Ready_chain[FP1_PRIORITY]);
|
||||
(Thread_Control *)
|
||||
_Chain_First(&_Scheduler.ready_queues.Priority[FP1_PRIORITY]);
|
||||
|
||||
FP_LOAD( 1.0 );
|
||||
|
||||
|
||||
@@ -170,7 +170,8 @@ rtems_task Task_1(
|
||||
|
||||
_Thread_Dispatch_disable_level = 0;
|
||||
|
||||
_Thread_Heir = (rtems_tcb *) _Chain_Last(&_Thread_Ready_chain[LOW_PRIORITY]);
|
||||
_Thread_Heir = (rtems_tcb *)
|
||||
_Chain_Last(&_Scheduler.ready_queues.Priority[LOW_PRIORITY]);
|
||||
|
||||
_Thread_Dispatch_necessary = 1;
|
||||
|
||||
@@ -227,7 +228,8 @@ rtems_task Task_2(
|
||||
|
||||
_Thread_Dispatch_disable_level = 0;
|
||||
|
||||
_Thread_Heir = (rtems_tcb *) _Chain_First(&_Thread_Ready_chain[LOW_PRIORITY]);
|
||||
_Thread_Heir = (rtems_tcb *)
|
||||
_Chain_First(&_Scheduler.ready_queues.Priority[LOW_PRIORITY]);
|
||||
|
||||
_Thread_Dispatch_necessary = 1;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user