ada-examples-4-10-branch
ada-examples-4-10-2
Last change
on this file was
57716a5,
checked in by Joel Sherrill <joel.sherrill@…>, on 09/17/09 at 18:13:35
|
2009-09-17 Joel Sherrill <joel.sherrill@…>
- Makefile, gen-soccon.c, gsocket.h, init.c: Make follow standard RTEMS
test output format. Add output screens where appropriate.
|
-
Property mode set to
100644
|
File size:
578 bytes
|
Line | |
---|
1 | /* |
---|
2 | * Simple main wrapper for RTEMS with configuration |
---|
3 | * |
---|
4 | * $Id$ |
---|
5 | */ |
---|
6 | |
---|
7 | #include <bsp.h> |
---|
8 | |
---|
9 | #include <stdlib.h> |
---|
10 | |
---|
11 | rtems_task Init( |
---|
12 | rtems_task_argument ignored |
---|
13 | ) |
---|
14 | { |
---|
15 | extern int main( int, char ** ); |
---|
16 | main( 0, NULL ); |
---|
17 | exit( 0 ); |
---|
18 | } |
---|
19 | |
---|
20 | /* configuration information */ |
---|
21 | |
---|
22 | /* NOTICE: the clock driver is explicitly disabled */ |
---|
23 | #define CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER |
---|
24 | |
---|
25 | #define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER |
---|
26 | |
---|
27 | #define CONFIGURE_RTEMS_INIT_TASKS_TABLE |
---|
28 | |
---|
29 | #define CONFIGURE_MAXIMUM_TASKS 1 |
---|
30 | |
---|
31 | #define CONFIGURE_INIT |
---|
32 | |
---|
33 | #include <rtems/confdefs.h> |
---|
34 | |
---|
35 | /* end of file */ |
---|
Note: See
TracBrowser
for help on using the repository browser.