summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2008-09-23 14:51:37 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2008-09-23 14:51:37 +0000
commitca93cf149c1bab1b86615841b58e564688f57fc5 (patch)
tree65e6616f7c9f13e268cd630f8df2bf28e3c1c2c3
parent2008-09-23 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-ca93cf149c1bab1b86615841b58e564688f57fc5.tar.bz2
2008-09-23 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am: 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.
-rw-r--r--c/src/lib/libbsp/mips/jmr3904/ChangeLog7
-rw-r--r--c/src/lib/libbsp/mips/jmr3904/Makefile.am2
-rw-r--r--c/src/lib/libbsp/mips/jmr3904/startup/bspclean.c16
3 files changed, 8 insertions, 17 deletions
diff --git a/c/src/lib/libbsp/mips/jmr3904/ChangeLog b/c/src/lib/libbsp/mips/jmr3904/ChangeLog
index 8cfca98aed..c4b2f396df 100644
--- a/c/src/lib/libbsp/mips/jmr3904/ChangeLog
+++ b/c/src/lib/libbsp/mips/jmr3904/ChangeLog
@@ -1,3 +1,10 @@
+2008-09-23 Joel Sherrill <joel.sherrill@oarcorp.com>
+
+ * Makefile.am: 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-18 Joel Sherrill <joel.sherrill@oarcorp.com>
* include/bsp.h: Remove unnecessary boilerplate comments.
diff --git a/c/src/lib/libbsp/mips/jmr3904/Makefile.am b/c/src/lib/libbsp/mips/jmr3904/Makefile.am
index 6b3b0d02ed..b946361919 100644
--- a/c/src/lib/libbsp/mips/jmr3904/Makefile.am
+++ b/c/src/lib/libbsp/mips/jmr3904/Makefile.am
@@ -29,7 +29,7 @@ project_lib_DATA = start.$(OBJEXT)
dist_project_lib_DATA += startup/linkcmds
-startup_SOURCES = startup/bspclean.c ../../shared/bsplibc.c \
+startup_SOURCES = ../../shared/bspclean.c ../../shared/bsplibc.c \
../../shared/bsppredriverhook.c ../../shared/bsppost.c \
../../shared/bsppretaskinghook.c ../../shared/bspgetworkarea.c \
startup/bspstart.c ../../shared/bootcard.c ../../shared/sbrk.c \
diff --git a/c/src/lib/libbsp/mips/jmr3904/startup/bspclean.c b/c/src/lib/libbsp/mips/jmr3904/startup/bspclean.c
deleted file mode 100644
index f790bd0c7e..0000000000
--- a/c/src/lib/libbsp/mips/jmr3904/startup/bspclean.c
+++ /dev/null
@@ -1,16 +0,0 @@
-/*
- * 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$
- */
-
-void bsp_cleanup( void )
-{
- extern void _sys_exit(int);
- _sys_exit(0);
-}