source:
rtems/testsuites/psxtests/psxtime/main.c
@
cafefbf
Last change on this file since cafefbf was cafefbf, checked in by Ralf Corsepius <ralf.corsepius@…>, on 02/22/11 at 09:47:36 | |
---|---|
|
|
File size: 911 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 | * $Id$ | |
12 | */ | |
13 | ||
[cafefbf] | 14 | #ifdef HAVE_CONFIG_H |
15 | #include "config.h" | |
16 | #endif | |
17 | ||
[66c348cb] | 18 | #define CONFIGURE_INIT |
[cd3fb80] | 19 | |
20 | #include <bsp.h> | |
[d802489] | 21 | #include <tmacros.h> /* instantiate buffering code if needed */ |
[cd3fb80] | 22 | |
23 | void test_main( void ); | |
[2e7e636f] | 24 | rtems_task Init( |
25 | rtems_task_argument ignored | |
26 | ); | |
[cd3fb80] | 27 | |
28 | rtems_task Init( | |
29 | rtems_task_argument ignored | |
30 | ) | |
31 | { | |
32 | test_main(); | |
[d802489] | 33 | rtems_test_exit( 0 ); |
[cd3fb80] | 34 | } |
35 | ||
36 | /* configuration information */ | |
37 | ||
[df49c60] | 38 | #define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER |
39 | #define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER | |
40 | ||
41 | #define CONFIGURE_MAXIMUM_TASKS 1 | |
[cd3fb80] | 42 | |
43 | #define CONFIGURE_RTEMS_INIT_TASKS_TABLE | |
44 | ||
45 | #define CONFIGURE_INIT | |
46 | ||
[80450c7] | 47 | #include <rtems/confdefs.h> |
[cd3fb80] | 48 | |
49 | /* end of file */ |
Note: See TracBrowser
for help on using the repository browser.