4.104.115
Last change
on this file since a1f0ca28 was
4e7ca87,
checked in by Joel Sherrill <joel.sherrill@…>, on 08/19/09 at 15:13:34
|
2009-08-19 Joel Sherrill <joel.sherrill@…>
- psxtime/main.c, psxtime/psxtime.scn, psxtime/test.c: Add test case
for adjusting time (adjtime()) where the time is adjusted by enough
microseconds that it crosses a second boundary.
|
-
Property mode set to
100644
|
File size:
862 bytes
|
Line | |
---|
1 | /* |
---|
2 | * Simple RTEMS startup to call main |
---|
3 | * |
---|
4 | * COPYRIGHT (c) 1989-2009. |
---|
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 |
---|
9 | * http://www.rtems.com/license/LICENSE. |
---|
10 | * |
---|
11 | * $Id$ |
---|
12 | */ |
---|
13 | |
---|
14 | #define CONFIGURE_INIT |
---|
15 | |
---|
16 | #include <bsp.h> |
---|
17 | #include <tmacros.h> /* instantiate buffering code if needed */ |
---|
18 | |
---|
19 | void test_main( void ); |
---|
20 | rtems_task Init( |
---|
21 | rtems_task_argument ignored |
---|
22 | ); |
---|
23 | |
---|
24 | rtems_task Init( |
---|
25 | rtems_task_argument ignored |
---|
26 | ) |
---|
27 | { |
---|
28 | test_main(); |
---|
29 | rtems_test_exit( 0 ); |
---|
30 | } |
---|
31 | |
---|
32 | /* configuration information */ |
---|
33 | |
---|
34 | #define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER |
---|
35 | #define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER |
---|
36 | |
---|
37 | #define CONFIGURE_MAXIMUM_TASKS 1 |
---|
38 | |
---|
39 | #define CONFIGURE_RTEMS_INIT_TASKS_TABLE |
---|
40 | |
---|
41 | #define CONFIGURE_INIT |
---|
42 | |
---|
43 | #include <rtems/confdefs.h> |
---|
44 | |
---|
45 | /* end of file */ |
---|
Note: See
TracBrowser
for help on using the repository browser.