5
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.org/license/LICENSE. |
---|
8 | */ |
---|
9 | |
---|
10 | #include "tmacros.h" |
---|
11 | #include "test_support.h" |
---|
12 | |
---|
13 | /* functions */ |
---|
14 | |
---|
15 | rtems_task Init( |
---|
16 | rtems_task_argument argument |
---|
17 | ); |
---|
18 | |
---|
19 | rtems_task Test_task( |
---|
20 | rtems_task_argument argument |
---|
21 | ); |
---|
22 | |
---|
23 | /* configuration information */ |
---|
24 | |
---|
25 | #include <bsp.h> /* for device driver prototypes */ |
---|
26 | |
---|
27 | #define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER |
---|
28 | #define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER |
---|
29 | |
---|
30 | #define CONFIGURE_MAXIMUM_PROCESSORS 4 |
---|
31 | |
---|
32 | #define CONFIGURE_MAXIMUM_TASKS \ |
---|
33 | (1 + (CONFIGURE_MAXIMUM_PROCESSORS*3) ) |
---|
34 | |
---|
35 | #define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION |
---|
36 | |
---|
37 | #define CONFIGURE_RTEMS_INIT_TASKS_TABLE |
---|
38 | #define CONFIGURE_EXTRA_TASK_STACKS (3 * RTEMS_MINIMUM_STACK_SIZE) |
---|
39 | #define CONFIGURE_MAXIMUM_SEMAPHORES 2 |
---|
40 | |
---|
41 | #include <rtems/confdefs.h> |
---|
42 | |
---|
43 | TEST_EXTERN rtems_id Semaphore; /* synchronisation semaphore */ |
---|
44 | |
---|
45 | void PrintTaskInfo( |
---|
46 | const char *task_name, |
---|
47 | rtems_time_of_day *_tb |
---|
48 | ); |
---|
49 | |
---|
50 | /* end of include file */ |
---|
Note: See
TracBrowser
for help on using the repository browser.