diff --git a/cpukit/score/include/rtems/score/schedulercbs.h b/cpukit/score/include/rtems/score/schedulercbs.h
index a319dfe..2f5d9bf 100644
a
|
b
|
typedef struct { |
130 | 130 | * List of servers. The @a Scheduler_CBS_Server is the index to the array |
131 | 131 | * of pointers to @a _Scheduler_CBS_Server_list. |
132 | 132 | */ |
133 | | Scheduler_CBS_Server **_Scheduler_CBS_Server_list; |
| 133 | extern Scheduler_CBS_Server **_Scheduler_CBS_Server_list; |
134 | 134 | |
135 | 135 | /** |
136 | 136 | * @brief Scheduler CBS Unblock |
diff --git a/cpukit/score/src/schedulercbs.c b/cpukit/score/src/schedulercbs.c
index d29279e..9964055 100644
a
|
b
|
|
19 | 19 | #include <rtems/score/schedulercbs.h> |
20 | 20 | #include <rtems/rtems/signal.h> |
21 | 21 | |
| 22 | Scheduler_CBS_Server **_Scheduler_CBS_Server_list; |
| 23 | |
22 | 24 | void _Scheduler_CBS_Budget_callout( |
23 | 25 | Thread_Control *the_thread |
24 | 26 | ) |
diff --git a/testsuites/sptests/spcbssched02/system.h b/testsuites/sptests/spcbssched02/system.h
index b34ab10..b1758c1 100644
a
|
b
|
rtems_task Task_Periodic( |
52 | 52 | |
53 | 53 | /* global variables */ |
54 | 54 | |
55 | | rtems_id Task_id; |
56 | | rtems_name Task_name; |
57 | | rtems_id Task_id2; |
58 | | rtems_name Task_name2; |
59 | | rtems_task_priority Priority; |
60 | | time_t Period; |
61 | | time_t Execution; |
62 | | time_t Phase; |
| 55 | TEST_EXTERN rtems_id Task_id; |
| 56 | TEST_EXTERN rtems_name Task_name; |
| 57 | TEST_EXTERN rtems_id Task_id2; |
| 58 | TEST_EXTERN rtems_name Task_name2; |
| 59 | TEST_EXTERN rtems_task_priority Priority; |
| 60 | TEST_EXTERN time_t Period; |
| 61 | TEST_EXTERN time_t Execution; |
| 62 | TEST_EXTERN time_t Phase; |
63 | 63 | |
64 | 64 | /* end of include file */ |
diff --git a/testsuites/sptests/spcbssched03/system.h b/testsuites/sptests/spcbssched03/system.h
index 23736a3..6dfddc1 100644
a
|
b
|
rtems_task Tasks_Aperiodic( |
64 | 64 | |
65 | 65 | TEST_EXTERN rtems_id Task_id[ 1+NUM_TASKS ]; /* array of task ids */ |
66 | 66 | TEST_EXTERN rtems_name Task_name[ 1+NUM_TASKS ]; /* array of task names */ |
67 | | extern rtems_task_priority Priorities[ 1+NUM_TASKS ]; |
68 | | extern uint32_t Periods[ 1 + NUM_PERIODIC_TASKS ]; |
69 | | extern uint32_t Phases[1 + NUM_TASKS]; |
70 | | extern uint32_t Execution[1 + NUM_TASKS]; |
71 | | bool Violating_task[1 + NUM_PERIODIC_TASKS]; |
| 67 | TEST_EXTERN rtems_task_priority Priorities[ 1+NUM_TASKS ]; |
| 68 | TEST_EXTERN uint32_t Periods[ 1 + NUM_PERIODIC_TASKS ]; |
| 69 | TEST_EXTERN uint32_t Phases[1 + NUM_TASKS]; |
| 70 | TEST_EXTERN uint32_t Execution[1 + NUM_TASKS]; |
| 71 | TEST_EXTERN bool Violating_task[1 + NUM_PERIODIC_TASKS]; |
72 | 72 | |
73 | 73 | /* end of include file */ |
diff --git a/testsuites/sptests/spedfsched02/system.h b/testsuites/sptests/spedfsched02/system.h
index 8007684..5603d16 100644
a
|
b
|
TEST_EXTERN rtems_name Task_name[ 7 ]; /* array of task names */ |
60 | 60 | |
61 | 61 | TEST_EXTERN struct counters Count; /* iteration counters */ |
62 | 62 | TEST_EXTERN struct counters Temporary_count; |
63 | | extern rtems_task_priority Priorities[ 7 ]; |
| 63 | TEST_EXTERN rtems_task_priority *Priorities; |
64 | 64 | |
65 | 65 | /* end of include file */ |
diff --git a/testsuites/sptests/spedfsched02/task1.c b/testsuites/sptests/spedfsched02/task1.c
index 7354f29..98c8788 100644
a
|
b
|
|
27 | 27 | |
28 | 28 | uint32_t Periods[7] = { 0, 2, 2, 2, 2, 100, 0 }; |
29 | 29 | uint32_t Iterations[7] = { 0, 50, 50, 50, 50, 1, TA6_ITERATIONS }; |
30 | | rtems_task_priority Priorities[7] = { 0, 2, 2, 2, 2, 100, 1 }; |
| 30 | rtems_task_priority Prio[7] = { 0, 2, 2, 2, 2, 100, 1 }; |
31 | 31 | |
32 | 32 | rtems_task Task_1_through_6( |
33 | 33 | rtems_task_argument argument |
… |
… |
rtems_task Task_1_through_6( |
40 | 40 | uint32_t failed; |
41 | 41 | rtems_status_code status; |
42 | 42 | |
| 43 | Priorities = Prio; |
| 44 | |
43 | 45 | status = rtems_rate_monotonic_create( argument, &rmid ); |
44 | 46 | directive_failed( status, "rtems_rate_monotonic_create" ); |
45 | 47 | put_name( Task_name[ argument ], FALSE ); |
diff --git a/testsuites/sptests/spedfsched03/system.h b/testsuites/sptests/spedfsched03/system.h
index 01f6399..f490607 100644
a
|
b
|
rtems_task Tasks_Aperiodic( |
63 | 63 | |
64 | 64 | TEST_EXTERN rtems_id Task_id[ 1+NUM_TASKS ]; /* array of task ids */ |
65 | 65 | TEST_EXTERN rtems_name Task_name[ 1+NUM_TASKS ]; /* array of task names */ |
66 | | extern rtems_task_priority Priorities[ 1+NUM_TASKS ]; |
67 | | extern uint32_t Periods[ 1 + NUM_PERIODIC_TASKS ]; |
68 | | extern uint32_t Phases[1 + NUM_TASKS]; |
69 | | extern uint32_t Execution[1 + NUM_TASKS]; |
| 66 | TEST_EXTERN rtems_task_priority Priorities[ 1+NUM_TASKS ]; |
| 67 | TEST_EXTERN uint32_t Periods[ 1 + NUM_PERIODIC_TASKS ]; |
| 68 | TEST_EXTERN uint32_t Phases[1 + NUM_TASKS]; |
| 69 | TEST_EXTERN uint32_t Execution[1 + NUM_TASKS]; |
70 | 70 | |
71 | 71 | /* end of include file */ |