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

4.104.114.84.95
Last change on this file since 38ffa0c was 3652ad35, checked in by Joel Sherrill <joel.sherrill@…>, on 09/19/95 at 14:53:29

Minor bug fixes to get all targets compilable and running. The
single biggest changes were the expansion of the workspace size
macro to include other types of objects and the increase in the
minimum stack size for most CPUs.

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