summaryrefslogtreecommitdiffstats
path: root/testsuites/tmtests/tm26/task1.c
diff options
context:
space:
mode:
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 );