1 | /* |
---|
2 | * This include file contains information that is included in every |
---|
3 | * function in the test set. |
---|
4 | */ |
---|
5 | |
---|
6 | /* |
---|
7 | * COPYRIGHT (c) 1989-2014. |
---|
8 | * On-Line Applications Research Corporation (OAR). |
---|
9 | * |
---|
10 | * The license and distribution terms for this file may be |
---|
11 | * found in the file LICENSE in this distribution or at |
---|
12 | * http://www.rtems.com/license/LICENSE. |
---|
13 | */ |
---|
14 | |
---|
15 | #include <tmacros.h> |
---|
16 | |
---|
17 | /* functions */ |
---|
18 | |
---|
19 | rtems_task Init( |
---|
20 | rtems_task_argument argument |
---|
21 | ); |
---|
22 | |
---|
23 | rtems_isr Service_routine( |
---|
24 | rtems_vector_number ignored |
---|
25 | ); |
---|
26 | |
---|
27 | /* configuration information */ |
---|
28 | |
---|
29 | #define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER |
---|
30 | #define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER |
---|
31 | |
---|
32 | #define CONFIGURE_MAXIMUM_TASKS 10 |
---|
33 | #define CONFIGURE_MAXIMUM_TIMERS 1 |
---|
34 | #define CONFIGURE_MAXIMUM_SEMAPHORES 2 |
---|
35 | #define CONFIGURE_MAXIMUM_MESSAGE_QUEUES 1 |
---|
36 | #define CONFIGURE_MAXIMUM_PERIODS 1 |
---|
37 | #define CONFIGURE_MAXIMUM_USER_EXTENSIONS 0 |
---|
38 | #define CONFIGURE_TICKS_PER_TIMESLICE 100 |
---|
39 | |
---|
40 | #define CONFIGURE_RTEMS_INIT_TASKS_TABLE |
---|
41 | |
---|
42 | #define CONFIGURE_EXTRA_TASK_STACKS (20 * RTEMS_MINIMUM_STACK_SIZE) |
---|
43 | |
---|
44 | #include <rtems/confdefs.h> |
---|
45 | |
---|
46 | /* global variables */ |
---|
47 | |
---|
48 | TEST_EXTERN rtems_id Task_id[ 11 ]; /* array of task ids */ |
---|
49 | TEST_EXTERN rtems_name Task_name[ 11 ]; /* array of task names */ |
---|
50 | |
---|
51 | TEST_EXTERN rtems_name Semaphore_name[ 4 ]; /* array of semaphore names */ |
---|
52 | TEST_EXTERN rtems_id Semaphore_id[ 4 ]; /* array of semaphore ids */ |
---|
53 | |
---|
54 | TEST_EXTERN rtems_name Queue_name[ 3 ]; /* array of queue names */ |
---|
55 | TEST_EXTERN rtems_id Queue_id[ 3 ]; /* array of queue ids */ |
---|
56 | |
---|
57 | TEST_EXTERN rtems_name Port_name[ 2 ]; /* array of port names */ |
---|
58 | TEST_EXTERN rtems_id Port_id[ 2 ]; /* array of port ids */ |
---|
59 | |
---|
60 | TEST_EXTERN rtems_name Period_name[ 2 ]; /* array of period names */ |
---|
61 | TEST_EXTERN rtems_id Period_id[ 2 ]; /* array of period ids */ |
---|
62 | |
---|
63 | TEST_EXTERN rtems_id Junk_id; /* id used to return errors */ |
---|
64 | |
---|
65 | #define Internal_port_area (void *) 0x00001000 |
---|
66 | #define External_port_area (void *) 0x00002000 |
---|
67 | |
---|
68 | /* end of include file */ |
---|