diff options
Diffstat (limited to 'c/src/lib/libbsp/sh/gensh1/startup/bspstart.c')
-rw-r--r-- | c/src/lib/libbsp/sh/gensh1/startup/bspstart.c | 21 |
1 files changed, 1 insertions, 20 deletions
diff --git a/c/src/lib/libbsp/sh/gensh1/startup/bspstart.c b/c/src/lib/libbsp/sh/gensh1/startup/bspstart.c index 1a3cc2737f..93bb88855e 100644 --- a/c/src/lib/libbsp/sh/gensh1/startup/bspstart.c +++ b/c/src/lib/libbsp/sh/gensh1/startup/bspstart.c @@ -151,11 +151,7 @@ bsp_postdriver_hook(void) rtems_fatal_error_occurred( error_code | 'I' << 8 | 'O' ); } -int bsp_start( - int argc, - char **argv, - char **environp -) +void bsp_start(void) { /* For real boards you need to setup the hardware @@ -165,11 +161,6 @@ int bsp_start( startup code, rtems startup code or here. */ - if ((argc > 0) && argv && argv[0]) - rtems_progname = argv[0]; - else - rtems_progname = "RTEMS"; - /* * Allocate the memory for the RTEMS Work Space. This can come from * a variety of places: hard coded address, malloc'ed from outside @@ -265,14 +256,4 @@ int bsp_start( */ rtems_libio_config(&BSP_Configuration, BSP_LIBIO_MAX_FDS); - - /* - * Start RTEMS - */ - - rtems_initialize_executive( &BSP_Configuration, &Cpu_table ); - - bsp_cleanup(); - - return 0; } |