diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-09-23 15:07:32 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-09-23 15:07:32 +0000 |
commit | a2a2f3f21a2528d7bf0bf6e6d4ba614c7050115e (patch) | |
tree | c1a31d32286e8dec67059636101db69f5bd8e346 /c | |
parent | 2008-09-23 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-a2a2f3f21a2528d7bf0bf6e6d4ba614c7050115e.tar.bz2 |
2008-09-23 Joel Sherrill <joel.sherrill@oarcorp.com>
* start/start.S: bsp_cleanup() had the same code which was executed
when you returned from boot_card() to start.S. So just use the stub
bsp_cleanup() implementation and remove a file.
* startup/bspclean.c: Removed.
Diffstat (limited to 'c')
-rw-r--r-- | c/src/lib/libbsp/mips/hurricane/ChangeLog | 7 | ||||
-rw-r--r-- | c/src/lib/libbsp/mips/hurricane/start/start.S | 2 | ||||
-rw-r--r-- | c/src/lib/libbsp/mips/hurricane/startup/bspclean.c | 28 |
3 files changed, 8 insertions, 29 deletions
diff --git a/c/src/lib/libbsp/mips/hurricane/ChangeLog b/c/src/lib/libbsp/mips/hurricane/ChangeLog index 673f6599b6..889c773ff2 100644 --- a/c/src/lib/libbsp/mips/hurricane/ChangeLog +++ b/c/src/lib/libbsp/mips/hurricane/ChangeLog @@ -1,3 +1,10 @@ +2008-09-23 Joel Sherrill <joel.sherrill@oarcorp.com> + + * start/start.S: bsp_cleanup() had the same code which was executed + when you returned from boot_card() to start.S. So just use the stub + bsp_cleanup() implementation and remove a file. + * startup/bspclean.c: Removed. + 2008-09-19 Joel Sherrill <joel.sherrill@oarcorp.com> * include/bsp.h: Eliminate tm27 items from bsp.h diff --git a/c/src/lib/libbsp/mips/hurricane/start/start.S b/c/src/lib/libbsp/mips/hurricane/start/start.S index 55bade24ee..cbf98a8fbb 100644 --- a/c/src/lib/libbsp/mips/hurricane/start/start.S +++ b/c/src/lib/libbsp/mips/hurricane/start/start.S @@ -300,7 +300,7 @@ FRAME(start,sp,0,ra) nop # jump to the "exit" routine - jal _sys_exit + jal _idtsim_exit move a0,v0 # pass through the exit code diff --git a/c/src/lib/libbsp/mips/hurricane/startup/bspclean.c b/c/src/lib/libbsp/mips/hurricane/startup/bspclean.c deleted file mode 100644 index 3e3e5bb98c..0000000000 --- a/c/src/lib/libbsp/mips/hurricane/startup/bspclean.c +++ /dev/null @@ -1,28 +0,0 @@ -/* bsp_cleanup() - * - * This routine normally is part of start.s and usually returns - * control to a monitor. - * - * INPUT: NONE - * - * OUTPUT: NONE - * - * 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> - -void idtsim__exit(); - -void bsp_cleanup( void ) -{ - idtsim__exit(); -} |