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-1999. |
---|
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.rtems.org/license/LICENSE. |
---|
12 | */ |
---|
13 | |
---|
14 | #include <tmacros.h> |
---|
15 | |
---|
16 | /* macros */ |
---|
17 | |
---|
18 | /* functions */ |
---|
19 | |
---|
20 | rtems_task Init( |
---|
21 | rtems_task_argument argument |
---|
22 | ); |
---|
23 | |
---|
24 | rtems_task Task_1_through_3( |
---|
25 | rtems_task_argument argument |
---|
26 | ); |
---|
27 | |
---|
28 | void blow_stack( void ); |
---|
29 | |
---|
30 | /* configuration information */ |
---|
31 | |
---|
32 | #define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER |
---|
33 | #define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER |
---|
34 | |
---|
35 | #define TASK_STACK_SIZE (RTEMS_MINIMUM_STACK_SIZE*3) |
---|
36 | |
---|
37 | #define CONFIGURE_MAXIMUM_TASKS 4 |
---|
38 | #define CONFIGURE_EXTRA_TASK_STACKS (3 * (RTEMS_MINIMUM_STACK_SIZE * 2)) |
---|
39 | |
---|
40 | #define CONFIGURE_RTEMS_INIT_TASKS_TABLE |
---|
41 | |
---|
42 | #define CONFIGURE_STACK_CHECKER_ENABLED |
---|
43 | |
---|
44 | void Fatal_extension( |
---|
45 | rtems_fatal_source source, |
---|
46 | bool always_set_to_false, |
---|
47 | rtems_fatal_code error |
---|
48 | ); |
---|
49 | |
---|
50 | #define CONFIGURE_INITIAL_EXTENSIONS \ |
---|
51 | { NULL, NULL, NULL, NULL, NULL, NULL, NULL, Fatal_extension }, \ |
---|
52 | RTEMS_TEST_INITIAL_EXTENSION |
---|
53 | |
---|
54 | #include <rtems/confdefs.h> |
---|
55 | |
---|
56 | /* global variables */ |
---|
57 | |
---|
58 | TEST_EXTERN rtems_id Task_id[ 4 ]; /* array of task ids */ |
---|
59 | TEST_EXTERN rtems_name Task_name[ 4 ]; /* array of task names */ |
---|
60 | |
---|
61 | /* end of include file */ |
---|