diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-09-14 22:03:54 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-09-14 22:03:54 +0000 |
commit | eb3923bce56d845e02c69f8541a7686ac6c8900f (patch) | |
tree | 07cfe95077184b7b053375361c243e9bdb0e6b7b /c/src/lib/libbsp/no_cpu/no_bsp/startup/main.c | |
parent | 2008-09-14 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-eb3923bce56d845e02c69f8541a7686ac6c8900f.tar.bz2 |
2008-09-14 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac, startup/bspstart.c: Create
bsp_get_work_area() into its own file and use BSP Framework to
perform more initialization.
* startup/bspgetworkarea.c: New file.
* startup/main.c: Removed.
Diffstat (limited to '')
-rw-r--r-- | c/src/lib/libbsp/no_cpu/no_bsp/startup/main.c | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/c/src/lib/libbsp/no_cpu/no_bsp/startup/main.c b/c/src/lib/libbsp/no_cpu/no_bsp/startup/main.c deleted file mode 100644 index ef8d420f3c..0000000000 --- a/c/src/lib/libbsp/no_cpu/no_bsp/startup/main.c +++ /dev/null @@ -1,37 +0,0 @@ -/* main() - * - * This is the entry point for the application. It calls - * the bsp_start routine to the actual dirty work. - * - * COPYRIGHT (c) 1989-1999. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may be - * found in the file LICENSE in this distribution or at - * http://www.rtems.com/license/LICENSE. - * - * $Id$ - */ - -#include <rtems.h> -#include <bsp.h> - -int main( - int argc, - char **argv, - char **environp -) -{ - extern void bsp_start( int, char**, char ** ); - - bsp_start( argc, argv, environp ); - - /* - * May be able to return to the "crt/start.s" code but also - * may not be able to. Do something here which is board dependent. - */ - - rtems_fatal_error_occurred( 0 ); - - return 0; /* just to satisfy the native compiler */ -} |