From 692775fa567bc65090fd67be8095dbc1bdfd0da1 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 24 Nov 2010 16:06:37 +0000 Subject: 2010-11-24 Gedare Bloom PR 1647/cpukit * tm26/task1.c, tm27/task1.c: Update documentation to reflect refactoring of SuperCore to add Scheduler Handler. --- testsuites/tmtests/tm26/task1.c | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'testsuites/tmtests/tm26/task1.c') diff --git a/testsuites/tmtests/tm26/task1.c b/testsuites/tmtests/tm26/task1.c index fb9130718d..95bfd8f3be 100644 --- a/testsuites/tmtests/tm26/task1.c +++ b/testsuites/tmtests/tm26/task1.c @@ -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 ); -- cgit v1.2.3