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

4.104.114.84.95
Last change on this file since ac7d5ef0 was ac7d5ef0, checked in by Joel Sherrill <joel.sherrill@…>, on May 11, 1995 at 5:39:37 PM

Initial revision

  • Property mode set to 100644
File size: 804 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
20int main(
21  int   argc,
22  char **argv
23)
24{
25  bsp_start();
26
27  /*
28   *  May be able to return to the "crt/start.s" code but also
29   *  may not be able to.  Do something here which is board dependent.
30   */
31
32  rtems_fatal_error_occurred( 0 );
33}
Note: See TracBrowser for help on using the repository browser.