[f37e656d] | 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. |
---|
[f37e656d] | 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. |
---|
[f37e656d] | 12 | */ |
---|
| 13 | |
---|
| 14 | #include <tmacros.h> |
---|
| 15 | |
---|
| 16 | /* types */ |
---|
| 17 | |
---|
| 18 | struct counters { |
---|
[9919946a] | 19 | uint32_t count[6]; |
---|
[f37e656d] | 20 | }; |
---|
| 21 | |
---|
| 22 | /* functions */ |
---|
| 23 | |
---|
| 24 | rtems_task Init( |
---|
| 25 | rtems_task_argument argument |
---|
| 26 | ); |
---|
[8f71a36] | 27 | |
---|
[f37e656d] | 28 | rtems_task Task_1_through_5( |
---|
| 29 | rtems_task_argument argument |
---|
| 30 | ); |
---|
[8f71a36] | 31 | |
---|
[f37e656d] | 32 | void Get_all_counters( void ); |
---|
[8f71a36] | 33 | |
---|
[f37e656d] | 34 | /* configuration information */ |
---|
| 35 | |
---|
[c4b8b147] | 36 | #define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER |
---|
[df49c60] | 37 | #define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER |
---|
[f37e656d] | 38 | |
---|
[df49c60] | 39 | #define CONFIGURE_MAXIMUM_TASKS 7 |
---|
| 40 | #define CONFIGURE_MAXIMUM_PERIODS 10 |
---|
[f37e656d] | 41 | |
---|
| 42 | #define CONFIGURE_INIT_TASK_PRIORITY 10 |
---|
| 43 | #define CONFIGURE_INIT_TASK_INITIAL_MODES RTEMS_DEFAULT_MODES |
---|
[f8b2eb03] | 44 | #define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION |
---|
| 45 | |
---|
[f37e656d] | 46 | #define CONFIGURE_RTEMS_INIT_TASKS_TABLE |
---|
[df49c60] | 47 | |
---|
| 48 | #define CONFIGURE_EXTRA_TASK_STACKS \ |
---|
| 49 | (6 * (3 * RTEMS_MINIMUM_STACK_SIZE)) /* our tasks */ + \ |
---|
| 50 | (1 * RTEMS_MINIMUM_STACK_SIZE) /* monitor tasks */ |
---|
[f37e656d] | 51 | |
---|
[1b22030] | 52 | #include <rtems/confdefs.h> |
---|
[f37e656d] | 53 | |
---|
| 54 | /* global variables */ |
---|
| 55 | |
---|
| 56 | TEST_EXTERN rtems_id Task_id[ 6 ]; /* array of task ids */ |
---|
| 57 | TEST_EXTERN rtems_name Task_name[ 6 ]; /* array of task names */ |
---|
| 58 | |
---|
| 59 | /* end of include file */ |
---|