4.104.114.84.95
Last change
on this file since dd1d1c7 was
dd1d1c7,
checked in by Joel Sherrill <joel.sherrill@…>, on 04/07/97 at 21:29:49
|
added prototype and return statement to eliminate warnings.
|
-
Property mode set to
100644
|
File size:
950 bytes
|
Line | |
---|
1 | /* main() |
---|
2 | * |
---|
3 | * This is the entry point for the application. It calls |
---|
4 | * the bsp_start routine to the actual dirty work. |
---|
5 | * |
---|
6 | * COPYRIGHT (c) 1989, 1990, 1991, 1992, 1993, 1994. |
---|
7 | * On-Line Applications Research Corporation (OAR). |
---|
8 | * All rights assigned to U.S. Government, 1994. |
---|
9 | * |
---|
10 | * This material may be reproduced by or for the U.S. Government pursuant |
---|
11 | * to the copyright license under the clause at DFARS 252.227-7013. This |
---|
12 | * notice must appear in all copies of this file and its derivatives. |
---|
13 | * |
---|
14 | * $Id$ |
---|
15 | */ |
---|
16 | |
---|
17 | #include <rtems.h> |
---|
18 | #include <bsp.h> |
---|
19 | |
---|
20 | int main( |
---|
21 | int argc, |
---|
22 | char **argv, |
---|
23 | char **environp |
---|
24 | ) |
---|
25 | { |
---|
26 | extern void bsp_start( int, char**, char ** ); |
---|
27 | |
---|
28 | bsp_start( argc, argv, environp ); |
---|
29 | |
---|
30 | /* |
---|
31 | * May be able to return to the "crt/start.s" code but also |
---|
32 | * may not be able to. Do something here which is board dependent. |
---|
33 | */ |
---|
34 | |
---|
35 | rtems_fatal_error_occurred( 0 ); |
---|
36 | |
---|
37 | return 0; /* just to satisfy the native compiler */ |
---|
38 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.