source:
rtems/testsuites/psxtests/psxtime/main.c
@
936c8d6
Last change on this file since 936c8d6 was 9b4422a2, checked in by Joel Sherrill <joel.sherrill@…>, on 05/03/12 at 15:09:24 | |
---|---|
|
|
File size: 899 bytes |
Rev | Line | |
---|---|---|
[cd3fb80] | 1 | /* |
[4e7ca87] | 2 | * Simple RTEMS startup to call main |
[cd3fb80] | 3 | * |
[2e7e636f] | 4 | * COPYRIGHT (c) 1989-2009. |
[cd3fb80] | 5 | * On-Line Applications Research Corporation (OAR). |
6 | * | |
7 | * The license and distribution terms for this file may be | |
8 | * found in the file LICENSE in this distribution or at | |
[3c48599] | 9 | * http://www.rtems.com/license/LICENSE. |
[cd3fb80] | 10 | */ |
11 | ||
[cafefbf] | 12 | #ifdef HAVE_CONFIG_H |
13 | #include "config.h" | |
14 | #endif | |
15 | ||
[66c348cb] | 16 | #define CONFIGURE_INIT |
[cd3fb80] | 17 | |
18 | #include <bsp.h> | |
[d802489] | 19 | #include <tmacros.h> /* instantiate buffering code if needed */ |
[cd3fb80] | 20 | |
21 | void test_main( void ); | |
[2e7e636f] | 22 | rtems_task Init( |
23 | rtems_task_argument ignored | |
24 | ); | |
[cd3fb80] | 25 | |
26 | rtems_task Init( | |
27 | rtems_task_argument ignored | |
28 | ) | |
29 | { | |
30 | test_main(); | |
[d802489] | 31 | rtems_test_exit( 0 ); |
[cd3fb80] | 32 | } |
33 | ||
34 | /* configuration information */ | |
35 | ||
[df49c60] | 36 | #define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER |
37 | #define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER | |
38 | ||
39 | #define CONFIGURE_MAXIMUM_TASKS 1 | |
[cd3fb80] | 40 | |
41 | #define CONFIGURE_RTEMS_INIT_TASKS_TABLE | |
42 | ||
43 | #define CONFIGURE_INIT | |
44 | ||
[80450c7] | 45 | #include <rtems/confdefs.h> |
[cd3fb80] | 46 | |
47 | /* end of file */ |
Note: See TracBrowser
for help on using the repository browser.