[ac7d5ef0] | 1 | /* system.h |
---|
| 2 | * |
---|
| 3 | * This include file contains information that is included in every |
---|
| 4 | * function in the test set. |
---|
| 5 | * |
---|
[08311cc3] | 6 | * COPYRIGHT (c) 1989-1999. |
---|
[ac7d5ef0] | 7 | * On-Line Applications Research Corporation (OAR). |
---|
| 8 | * |
---|
[98e4ebf5] | 9 | * The license and distribution terms for this file may be |
---|
| 10 | * found in the file LICENSE in this distribution or at |
---|
[c499856] | 11 | * http://www.rtems.org/license/LICENSE. |
---|
[ac7d5ef0] | 12 | */ |
---|
| 13 | |
---|
[4b374f36] | 14 | #include <tmacros.h> |
---|
[ac7d5ef0] | 15 | |
---|
[3a4ae6c] | 16 | /* functions */ |
---|
[ac7d5ef0] | 17 | |
---|
[3a4ae6c] | 18 | rtems_task Init( |
---|
| 19 | rtems_task_argument argument |
---|
| 20 | ); |
---|
[8f71a36] | 21 | |
---|
[3a4ae6c] | 22 | rtems_task Test_task1( |
---|
| 23 | rtems_task_argument argument |
---|
| 24 | ); |
---|
[8f71a36] | 25 | |
---|
[3a4ae6c] | 26 | rtems_task Test_task2( |
---|
| 27 | rtems_task_argument argument |
---|
| 28 | ); |
---|
[8f71a36] | 29 | |
---|
[3a4ae6c] | 30 | rtems_task Test_task3( |
---|
| 31 | rtems_task_argument restart |
---|
| 32 | ); |
---|
[ac7d5ef0] | 33 | |
---|
[3a4ae6c] | 34 | /* configuration information */ |
---|
[8f71a36] | 35 | |
---|
[df49c60] | 36 | #define CONFIGURE_MP_APPLICATION |
---|
[8f71a36] | 37 | |
---|
[c4b8b147] | 38 | #define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER |
---|
[df49c60] | 39 | #define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER |
---|
[8f71a36] | 40 | |
---|
[f30dd1f] | 41 | #if ( CONFIGURE_MP_NODE_NUMBER == 1 ) |
---|
[df49c60] | 42 | #define CONFIGURE_MAXIMUM_TASKS 1 |
---|
[3a4ae6c] | 43 | #define CONFIGURE_MAXIMUM_SEMAPHORES 1 |
---|
| 44 | #define CONFIGURE_MAXIMUM_MESSAGE_QUEUES 1 |
---|
[d4771e6] | 45 | #define CONFIGURE_MESSAGE_BUFFER_MEMORY \ |
---|
| 46 | CONFIGURE_MESSAGE_BUFFERS_FOR_QUEUE( 3, 16 ) |
---|
[df49c60] | 47 | #else |
---|
| 48 | #define CONFIGURE_MAXIMUM_TASKS 4 |
---|
[3a4ae6c] | 49 | #endif |
---|
[ac7d5ef0] | 50 | |
---|
[be1c11ed] | 51 | #define CONFIGURE_RTEMS_INIT_TASKS_TABLE |
---|
| 52 | |
---|
[ab187ad] | 53 | #include <rtems/confdefs.h> |
---|
[ac7d5ef0] | 54 | |
---|
[3a4ae6c] | 55 | /* variables */ |
---|
| 56 | |
---|
| 57 | TEST_EXTERN rtems_id Task_id[ 4 ]; /* array of task ids */ |
---|
| 58 | TEST_EXTERN rtems_name Task_name[ 4 ]; /* array of task names */ |
---|
| 59 | |
---|
| 60 | TEST_EXTERN rtems_id Queue_id[ 2 ]; /* array of message queue ids */ |
---|
| 61 | TEST_EXTERN rtems_name Queue_name[ 2 ]; /* array of message queue names */ |
---|
| 62 | |
---|
| 63 | TEST_EXTERN rtems_id Semaphore_id[ 2 ]; /* array of semaphore ids */ |
---|
| 64 | TEST_EXTERN rtems_name Semaphore_name[ 2 ]; /* array of semaphore names */ |
---|
[ac7d5ef0] | 65 | |
---|
| 66 | /* end of include file */ |
---|