forked from Imagelibrary/rtems
2011-12-06 Petr Benes <benesp16@fel.cvut.cz>
PR 1980/testing * spedfsched02/task1.c, spedfsched02/init.c: Fixed initialization.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2011-12-06 Petr Benes <benesp16@fel.cvut.cz>
|
||||
|
||||
PR 1980/testing
|
||||
* spedfsched02/task1.c, spedfsched02/init.c: Fixed initialization.
|
||||
|
||||
2011-11-26 Gedare Bloom <gedare@rtems.org>
|
||||
|
||||
PR 1964
|
||||
|
||||
@@ -28,6 +28,8 @@
|
||||
#define CONFIGURE_INIT
|
||||
#include "system.h"
|
||||
|
||||
rtems_task_priority Prio[7] = { 0, 2, 2, 2, 2, 100, 1 };
|
||||
|
||||
rtems_task Init(
|
||||
rtems_task_argument argument
|
||||
)
|
||||
@@ -35,6 +37,8 @@ rtems_task Init(
|
||||
uint32_t index;
|
||||
rtems_status_code status;
|
||||
|
||||
Priorities = Prio;
|
||||
|
||||
puts( "\n\n*** TEST EDF Scheduler 2 ***" );
|
||||
|
||||
Task_name[ 1 ] = rtems_build_name( 'T', 'A', '1', ' ' );
|
||||
|
||||
@@ -31,7 +31,6 @@
|
||||
|
||||
uint32_t Periods[7] = { 0, 2, 2, 2, 2, 100, 0 };
|
||||
uint32_t Iterations[7] = { 0, 50, 50, 50, 50, 1, TA6_ITERATIONS };
|
||||
rtems_task_priority Prio[7] = { 0, 2, 2, 2, 2, 100, 1 };
|
||||
|
||||
rtems_task Task_1_through_6(
|
||||
rtems_task_argument argument
|
||||
@@ -44,8 +43,6 @@ rtems_task Task_1_through_6(
|
||||
uint32_t failed;
|
||||
rtems_status_code status;
|
||||
|
||||
Priorities = Prio;
|
||||
|
||||
status = rtems_rate_monotonic_create( argument, &rmid );
|
||||
directive_failed( status, "rtems_rate_monotonic_create" );
|
||||
put_name( Task_name[ argument ], FALSE );
|
||||
|
||||
Reference in New Issue
Block a user