* tm26/task1.c, tm27/task1.c: Update for API changes.
This commit is contained in:
Sebastian Huber
2010-11-25 13:26:45 +00:00
parent 5c4e0c5947
commit b758b90679
3 changed files with 11 additions and 7 deletions

View File

@@ -1,3 +1,7 @@
2010-11-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
* tm26/task1.c, tm27/task1.c: Update for API changes.
2010-11-24 Gedare Bloom <giddyup44@yahoo.com>
PR 1647/cpukit

View File

@@ -243,7 +243,7 @@ rtems_task Middle_task(
_Thread_Executing =
(Thread_Control *)
_Chain_First(&_Scheduler.ready_queues.Priority[LOW_PRIORITY]);
_Chain_First(&_Scheduler.Ready_queues.priority[LOW_PRIORITY]);
/* do not force context switch */
@@ -281,7 +281,7 @@ rtems_task Low_task(
_Thread_Executing =
(Thread_Control *)
_Chain_First(&_Scheduler.ready_queues.Priority[FP1_PRIORITY]);
_Chain_First(&_Scheduler.Ready_queues.priority[FP1_PRIORITY]);
/* do not force context switch */
@@ -309,7 +309,7 @@ rtems_task Floating_point_task_1(
_Thread_Executing =
(Thread_Control *)
_Chain_First(&_Scheduler.ready_queues.Priority[FP2_PRIORITY]);
_Chain_First(&_Scheduler.Ready_queues.priority[FP2_PRIORITY]);
/* do not force context switch */
@@ -333,7 +333,7 @@ rtems_task Floating_point_task_1(
_Thread_Executing =
(Thread_Control *)
_Chain_First(&_Scheduler.ready_queues.Priority[FP2_PRIORITY]);
_Chain_First(&_Scheduler.Ready_queues.priority[FP2_PRIORITY]);
/* do not force context switch */
@@ -363,7 +363,7 @@ rtems_task Floating_point_task_2(
_Thread_Executing =
(Thread_Control *)
_Chain_First(&_Scheduler.ready_queues.Priority[FP1_PRIORITY]);
_Chain_First(&_Scheduler.Ready_queues.priority[FP1_PRIORITY]);
FP_LOAD( 1.0 );

View File

@@ -171,7 +171,7 @@ rtems_task Task_1(
_Thread_Dispatch_disable_level = 0;
_Thread_Heir = (rtems_tcb *)
_Chain_Last(&_Scheduler.ready_queues.Priority[LOW_PRIORITY]);
_Chain_Last(&_Scheduler.Ready_queues.priority[LOW_PRIORITY]);
_Thread_Dispatch_necessary = 1;
@@ -229,7 +229,7 @@ rtems_task Task_2(
_Thread_Dispatch_disable_level = 0;
_Thread_Heir = (rtems_tcb *)
_Chain_First(&_Scheduler.ready_queues.Priority[LOW_PRIORITY]);
_Chain_First(&_Scheduler.Ready_queues.priority[LOW_PRIORITY]);
_Thread_Dispatch_necessary = 1;