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.com/license/LICENSE. |
---|
12 | * |
---|
13 | * $Id$ |
---|
14 | */ |
---|
15 | |
---|
16 | #include <tmacros.h> |
---|
17 | |
---|
18 | /* buffered IO */ |
---|
19 | |
---|
20 | void buffered_io_initialize( void ); |
---|
21 | |
---|
22 | void buffered_io_flush(void); |
---|
23 | |
---|
24 | void buffered_io_add_string( char *s ); |
---|
25 | |
---|
26 | /* end of buffered IO */ |
---|
27 | |
---|
28 | /* functions */ |
---|
29 | |
---|
30 | rtems_task Init( |
---|
31 | rtems_task_argument argument |
---|
32 | ); |
---|
33 | |
---|
34 | rtems_task Task_1( |
---|
35 | rtems_task_argument argument |
---|
36 | ); |
---|
37 | |
---|
38 | rtems_task Task_2( |
---|
39 | rtems_task_argument argument |
---|
40 | ); |
---|
41 | |
---|
42 | rtems_task Task_3( |
---|
43 | rtems_task_argument argument |
---|
44 | ); |
---|
45 | |
---|
46 | rtems_task Task_4( |
---|
47 | rtems_task_argument argument |
---|
48 | ); |
---|
49 | |
---|
50 | rtems_boolean Task_create_extension( |
---|
51 | rtems_tcb *unused, |
---|
52 | rtems_tcb *created_task |
---|
53 | ); |
---|
54 | |
---|
55 | rtems_extension Task_delete_extension( |
---|
56 | rtems_tcb *running_task, |
---|
57 | rtems_tcb *deleted_task |
---|
58 | ); |
---|
59 | |
---|
60 | rtems_extension Task_restart_extension( |
---|
61 | rtems_tcb *unused, |
---|
62 | rtems_tcb *restarted_task |
---|
63 | ); |
---|
64 | |
---|
65 | rtems_extension Task_start_extension( |
---|
66 | rtems_tcb *unused, |
---|
67 | rtems_tcb *started_task |
---|
68 | ); |
---|
69 | |
---|
70 | rtems_extension Task_exit_extension( |
---|
71 | rtems_tcb *running_task |
---|
72 | ); |
---|
73 | |
---|
74 | /* configuration information */ |
---|
75 | |
---|
76 | #define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER |
---|
77 | #define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER |
---|
78 | |
---|
79 | #define CONFIGURE_MAXIMUM_USER_EXTENSIONS 1 |
---|
80 | #define CONFIGURE_TICKS_PER_TIMESLICE 100 |
---|
81 | |
---|
82 | #define CONFIGURE_RTEMS_INIT_TASKS_TABLE |
---|
83 | |
---|
84 | #define CONFIGURE_EXTRA_TASK_STACKS (4 * RTEMS_MINIMUM_STACK_SIZE) |
---|
85 | #define CONFIGURE_MAXIMUM_TASKS 5 |
---|
86 | |
---|
87 | #include <confdefs.h> |
---|
88 | |
---|
89 | /* global variables */ |
---|
90 | |
---|
91 | TEST_EXTERN rtems_id Task_id[ 5 ]; /* array of task ids */ |
---|
92 | TEST_EXTERN rtems_name Task_name[ 5 ]; /* array of task names */ |
---|
93 | |
---|
94 | TEST_EXTERN rtems_id Extension_id[ 4 ]; |
---|
95 | TEST_EXTERN rtems_name Extension_name[ 4 ]; /* array of task names */ |
---|
96 | |
---|
97 | /* end of include file */ |
---|