summaryrefslogtreecommitdiffstats
path: root/testsuites/tmtests/tm26/task1.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2010-11-24 16:06:37 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2010-11-24 16:06:37 +0000
commit692775fa567bc65090fd67be8095dbc1bdfd0da1 (patch)
treea4d2ca8d90cb306da6d15d8b88df22280827c4d9 /testsuites/tmtests/tm26/task1.c
parent2010-11-24 Gedare Bloom <giddyup44@yahoo.com> (diff)
downloadrtems-692775fa567bc65090fd67be8095dbc1bdfd0da1.tar.bz2
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.
Diffstat (limited to 'testsuites/tmtests/tm26/task1.c')
-rw-r--r--testsuites/tmtests/tm26/task1.c15
1 files changed, 10 insertions, 5 deletions
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 );