source: rtems/c/src/lib/libbsp/no_cpu/no_bsp/startup/main.c @ 20f54e9

4.104.114.84.95
Last change on this file since 20f54e9 was 60b791ad, checked in by Joel Sherrill <joel.sherrill@…>, on 02/17/98 at 23:46:28

updated copyright to 1998

  • Property mode set to 100644
File size: 867 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-1998.
7 *  On-Line Applications Research Corporation (OAR).
8 *  Copyright assigned to U.S. Government, 1994.
9 *
10 *  The license and distribution terms for this file may be
11 *  found in the file LICENSE in this distribution or at
12 *  http://www.OARcorp.com/rtems/license.html.
13 *
14 *  $Id$
15 */
16
17#include <rtems.h>
18#include <bsp.h>
19
20int 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.