source:
rtems/c/src/tests/sptests/sp23/system.h
@
f49aaf18
Last change on this file since f49aaf18 was 08311cc3, checked in by Joel Sherrill <joel.sherrill@…>, on 11/17/99 at 17:51:34 | |
---|---|
|
|
File size: 1.5 KB |
Rev | Line | |
---|---|---|
[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 | |
[03f2154e] | 11 | * http://www.OARcorp.com/rtems/license.html. |
[ac7d5ef0] | 12 | * |
[3235ad9] | 13 | * $Id$ |
[ac7d5ef0] | 14 | */ |
15 | ||
[4b374f36] | 16 | #include <tmacros.h> |
[ac7d5ef0] | 17 | |
[3a4ae6c] | 18 | /* functions */ |
[ac7d5ef0] | 19 | |
[3a4ae6c] | 20 | rtems_task Init( |
21 | rtems_task_argument argument | |
22 | ); | |
[ac7d5ef0] | 23 | |
[3a4ae6c] | 24 | rtems_task Task_1( |
25 | rtems_task_argument argument | |
26 | ); | |
[ac7d5ef0] | 27 | |
[3a4ae6c] | 28 | /* configuration information */ |
[ac7d5ef0] | 29 | |
[3a4ae6c] | 30 | #define CONFIGURE_SPTEST |
31 | ||
32 | #define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER | |
33 | #define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER | |
34 | ||
35 | #define CONFIGURE_MAXIMUM_PORTS 1 | |
[6eba9b79] | 36 | #define CONFIGURE_INIT_TASK_STACK_SIZE (RTEMS_MINIMUM_STACK_SIZE * 2) |
[3a4ae6c] | 37 | |
[be1c11ed] | 38 | #define CONFIGURE_RTEMS_INIT_TASKS_TABLE |
39 | ||
[9a993ed5] | 40 | #define CONFIGURE_EXTRA_TASK_STACKS (1 * RTEMS_MINIMUM_STACK_SIZE) |
41 | ||
[3a4ae6c] | 42 | #include <confdefs.h> |
43 | ||
44 | /* global variables */ | |
45 | ||
46 | TEST_EXTERN rtems_id Task_id[ 2 ]; /* array of task ids */ | |
47 | TEST_EXTERN rtems_name Task_name[ 2 ]; /* array of task names */ | |
48 | ||
49 | TEST_EXTERN rtems_id Port_id[ 2 ]; /* array of port ids */ | |
50 | TEST_EXTERN rtems_name Port_name[ 2 ]; /* array of port names */ | |
51 | ||
52 | #define Internal_port_area ((rtems_unsigned8 *) 0x00001000) | |
53 | #define External_port_area ((rtems_unsigned8 *) 0x00002000) | |
54 | ||
55 | #define Below_port_area ((rtems_unsigned8 *) 0x00000500) | |
56 | #define Above_port_area ((rtems_unsigned8 *) 0x00003000) | |
[ac7d5ef0] | 57 | |
58 | /* end of include file */ |
Note: See TracBrowser
for help on using the repository browser.