4.115
Line | |
---|
1 | /* |
---|
2 | * COPYRIGHT (c) 1989-2011. |
---|
3 | * On-Line Applications Research Corporation (OAR). |
---|
4 | * |
---|
5 | * The license and distribution terms for this file may be |
---|
6 | * found in the file LICENSE in this distribution or at |
---|
7 | * http://www.rtems.com/license/LICENSE. |
---|
8 | */ |
---|
9 | |
---|
10 | #include <tmacros.h> |
---|
11 | |
---|
12 | /* functions */ |
---|
13 | |
---|
14 | rtems_task Init( |
---|
15 | rtems_task_argument argument |
---|
16 | ); |
---|
17 | |
---|
18 | rtems_task Preempt_task( |
---|
19 | rtems_task_argument argument |
---|
20 | ); |
---|
21 | |
---|
22 | rtems_task Task_1( |
---|
23 | rtems_task_argument argument |
---|
24 | ); |
---|
25 | |
---|
26 | rtems_task Task_2( |
---|
27 | rtems_task_argument argument |
---|
28 | ); |
---|
29 | |
---|
30 | rtems_task Task_3( |
---|
31 | rtems_task_argument argument |
---|
32 | ); |
---|
33 | |
---|
34 | /* configuration information */ |
---|
35 | |
---|
36 | #define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER |
---|
37 | #define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER |
---|
38 | |
---|
39 | #define CONFIGURE_RTEMS_INIT_TASKS_TABLE |
---|
40 | #define CONFIGURE_MAXIMUM_TASKS 4 |
---|
41 | |
---|
42 | /* |
---|
43 | * Deliberately configure the IDLE Task's stack as greater than minimum |
---|
44 | * so it will have to be increased. |
---|
45 | */ |
---|
46 | #define CONFIGURE_IDLE_TASK_STACK_SIZE (2 * RTEMS_MINIMUM_STACK_SIZE) |
---|
47 | |
---|
48 | #include <rtems/confdefs.h> |
---|
49 | |
---|
50 | /* global variables */ |
---|
51 | |
---|
52 | TEST_EXTERN rtems_id Task_id[ 4 ]; /* array of task ids */ |
---|
53 | TEST_EXTERN rtems_name Task_name[ 4 ]; /* array of task names */ |
---|
54 | |
---|
55 | /* end of include file */ |
---|
Note: See
TracBrowser
for help on using the repository browser.