4.104.114.84.95
Rev | Line | |
---|
[1232196a] | 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. |
---|
[1232196a] | 7 | * On-Line Applications Research Corporation (OAR). |
---|
| 8 | * |
---|
| 9 | * The license and distribution terms for this file may be |
---|
| 10 | * found in the file LICENSE in this distribution or at |
---|
| 11 | * http://www.OARcorp.com/rtems/license.html. |
---|
| 12 | * |
---|
| 13 | * $Id$ |
---|
| 14 | */ |
---|
| 15 | |
---|
| 16 | #include <tmacros.h> |
---|
| 17 | |
---|
| 18 | /* functions */ |
---|
| 19 | |
---|
| 20 | rtems_task Init( |
---|
| 21 | rtems_task_argument argument |
---|
| 22 | ); |
---|
| 23 | |
---|
[bfded728] | 24 | void task1(void); |
---|
[1232196a] | 25 | |
---|
| 26 | /* configuration information */ |
---|
| 27 | |
---|
| 28 | #define CONFIGURE_SPTEST |
---|
| 29 | |
---|
| 30 | #define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER |
---|
| 31 | #define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER |
---|
| 32 | |
---|
| 33 | #define CONFIGURE_MAXIMUM_REGIONS 1 |
---|
| 34 | |
---|
| 35 | #define CONFIGURE_RTEMS_INIT_TASKS_TABLE |
---|
| 36 | |
---|
| 37 | #include <confdefs.h> |
---|
| 38 | |
---|
| 39 | /* global variables */ |
---|
| 40 | |
---|
| 41 | TEST_EXTERN rtems_id Task_id[ 6 ]; /* array of task ids */ |
---|
| 42 | TEST_EXTERN rtems_name Task_name[ 6 ]; /* array of task names */ |
---|
| 43 | TEST_EXTERN rtems_id Region_id[ 2 ]; /* array of region ids */ |
---|
| 44 | TEST_EXTERN rtems_name Region_name[ 2 ]; /* array of region names */ |
---|
| 45 | |
---|
| 46 | TEST_EXTERN rtems_unsigned8 Area_1[64000] CPU_STRUCTURE_ALIGNMENT; |
---|
| 47 | |
---|
| 48 | #define BASE_PRIORITY 140 |
---|
| 49 | |
---|
| 50 | #define Put_address_from_area_1( _to_be_printed ) \ |
---|
| 51 | printf( "0x%08lx", \ |
---|
| 52 | (unsigned long) ((rtems_unsigned8 *)(_to_be_printed) - Area_1 ) ) |
---|
| 53 | |
---|
| 54 | /* end of include file */ |
---|
Note: See
TracBrowser
for help on using the repository browser.