[61a183a9] | 1 | /* system.h |
---|
| 2 | * |
---|
| 3 | * This include file contains information that is included in every |
---|
| 4 | * function in the test set. |
---|
| 5 | * |
---|
| 6 | * COPYRIGHT (c) 1989, 1990, 1991, 1992, 1993, 1994. |
---|
| 7 | * On-Line Applications Research Corporation (OAR). |
---|
| 8 | * All rights assigned to U.S. Government, 1994. |
---|
| 9 | * |
---|
| 10 | * This material may be reproduced by or for the U.S. Government pursuant |
---|
| 11 | * to the copyright license under the clause at DFARS 252.227-7013. This |
---|
| 12 | * notice must appear in all copies of this file and its derivatives. |
---|
| 13 | * |
---|
| 14 | * system.h,v 1.6 1995/12/19 20:21:12 joel Exp |
---|
| 15 | */ |
---|
| 16 | |
---|
| 17 | #include <tmacros.h> |
---|
| 18 | |
---|
| 19 | /* types */ |
---|
| 20 | |
---|
| 21 | struct counters { |
---|
| 22 | rtems_unsigned32 count[6]; |
---|
| 23 | }; |
---|
| 24 | |
---|
| 25 | /* functions */ |
---|
| 26 | |
---|
| 27 | rtems_task Init( |
---|
| 28 | rtems_task_argument argument |
---|
| 29 | ); |
---|
| 30 | |
---|
| 31 | rtems_task Task_1_through_5( |
---|
| 32 | rtems_task_argument argument |
---|
| 33 | ); |
---|
| 34 | |
---|
| 35 | void Get_all_counters( void ); |
---|
| 36 | |
---|
| 37 | /* configuration information */ |
---|
| 38 | |
---|
| 39 | #define CONFIGURE_SPTEST |
---|
| 40 | |
---|
| 41 | #define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER |
---|
| 42 | #define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER |
---|
| 43 | |
---|
| 44 | #define CONFIGURE_INIT_TASK_PRIORITY 10 |
---|
| 45 | #define CONFIGURE_INIT_TASK_INITIAL_MODES RTEMS_DEFAULT_MODES |
---|
| 46 | #define CONFIGURE_MAXIMUM_PERIODS 10 |
---|
| 47 | |
---|
| 48 | #include <confdefs.h> |
---|
| 49 | |
---|
| 50 | /* global variables */ |
---|
| 51 | |
---|
| 52 | TEST_EXTERN rtems_id Task_id[ 6 ]; /* array of task ids */ |
---|
| 53 | TEST_EXTERN rtems_name Task_name[ 6 ]; /* array of task names */ |
---|
| 54 | |
---|
| 55 | TEST_EXTERN struct counters Count; /* iteration counters */ |
---|
| 56 | TEST_EXTERN struct counters Temporary_count; |
---|
| 57 | extern rtems_task_priority Priorities[ 6 ]; |
---|
| 58 | |
---|
| 59 | /* end of include file */ |
---|