4.104.114.84.95
Last change
on this file since 0836603 was
0836603,
checked in by Joel Sherrill <joel.sherrill@…>, on 09/18/96 at 21:13:10
|
new files submitted by Craig Lebakken (lebakken@…) and Derrick Ostertag
(ostertag@…)
|
-
Property mode set to
100644
|
File size:
935 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 | #ifndef lint |
---|
21 | static char _sccsid[] = "@(#)main.c 06/30/96 1.2\n"; |
---|
22 | #endif |
---|
23 | |
---|
24 | int main( |
---|
25 | int argc, |
---|
26 | char **argv, |
---|
27 | char **environp |
---|
28 | ) |
---|
29 | { |
---|
30 | bsp_start( argc, argv, environp ); |
---|
31 | |
---|
32 | /* |
---|
33 | * May be able to return to the "crt/start.s" code but also |
---|
34 | * may not be able to. Do something here which is board dependent. |
---|
35 | */ |
---|
36 | |
---|
37 | _exit(0); |
---|
38 | rtems_fatal_error_occurred( 0 ); |
---|
39 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.