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 + + * 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 * 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 -#include - -void idtsim__exit(); - -void bsp_cleanup( void ) -{ - idtsim__exit(); -}