diff options
Diffstat (limited to 'testsuites/sptests/spedfsched02')
-rw-r--r-- | testsuites/sptests/spedfsched02/system.h | 2 | ||||
-rw-r--r-- | testsuites/sptests/spedfsched02/task1.c | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/testsuites/sptests/spedfsched02/system.h b/testsuites/sptests/spedfsched02/system.h index 3a3c8360bd..b9898f488f 100644 --- a/testsuites/sptests/spedfsched02/system.h +++ b/testsuites/sptests/spedfsched02/system.h @@ -60,6 +60,6 @@ TEST_EXTERN rtems_name Task_name[ 7 ]; /* array of task names */ TEST_EXTERN struct counters Count; /* iteration counters */ TEST_EXTERN struct counters Temporary_count; -extern rtems_task_priority Priorities[ 7 ]; +TEST_EXTERN rtems_task_priority *Priorities; /* end of include file */ diff --git a/testsuites/sptests/spedfsched02/task1.c b/testsuites/sptests/spedfsched02/task1.c index 0fdf40417b..5ae12bd36c 100644 --- a/testsuites/sptests/spedfsched02/task1.c +++ b/testsuites/sptests/spedfsched02/task1.c @@ -31,7 +31,7 @@ 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 Priorities[7] = { 0, 2, 2, 2, 2, 100, 1 }; +rtems_task_priority Prio[7] = { 0, 2, 2, 2, 2, 100, 1 }; rtems_task Task_1_through_6( rtems_task_argument argument @@ -44,6 +44,8 @@ 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 ); |