source: rtems/c/src/lib/libbsp/a29k/portsw/startup/main.c @ 6fd3979

4.104.114.84.95
Last change on this file since 6fd3979 was 98e4ebf5, checked in by Joel Sherrill <joel.sherrill@…>, on 10/08/97 at 15:45:54

Fixed typo in the pointer to the license terms.

  • Property mode set to 100644
File size: 852 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-1997.
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
20#ifndef lint
21static char _sccsid[] = "@(#)main.c 06/30/96     1.2\n";
22#endif
23
24int 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.