summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/sh/gensh2
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2008-09-10 21:35:06 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2008-09-10 21:35:06 +0000
commit05adba6b126c1abffce4eee25bf0dc0e1d15b9e6 (patch)
tree4a5d31ce4e192b939bc1ad42be844cba1ff76855 /c/src/lib/libbsp/sh/gensh2
parent2008-09-10 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-05adba6b126c1abffce4eee25bf0dc0e1d15b9e6.tar.bz2
2008-09-10 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, include/bsp.h: Review of all bsp_cleanup() implementations. In this phase, all prototypes were removed from bsp.h and empty implementations were removed and made to use the shared stub. * startup/bspclean.c: Removed.
Diffstat (limited to 'c/src/lib/libbsp/sh/gensh2')
-rw-r--r--c/src/lib/libbsp/sh/gensh2/ChangeLog8
-rw-r--r--c/src/lib/libbsp/sh/gensh2/Makefile.am4
-rw-r--r--c/src/lib/libbsp/sh/gensh2/include/bsp.h4
-rw-r--r--c/src/lib/libbsp/sh/gensh2/startup/bspclean.c42
4 files changed, 10 insertions, 48 deletions
diff --git a/c/src/lib/libbsp/sh/gensh2/ChangeLog b/c/src/lib/libbsp/sh/gensh2/ChangeLog
index 9f288636a0..87261422d3 100644
--- a/c/src/lib/libbsp/sh/gensh2/ChangeLog
+++ b/c/src/lib/libbsp/sh/gensh2/ChangeLog
@@ -1,3 +1,11 @@
+2008-09-10 Joel Sherrill <joel.sherrill@oarcorp.com>
+
+ * Makefile.am, include/bsp.h: Review of all bsp_cleanup()
+ implementations. In this phase, all prototypes were removed from
+ bsp.h and empty implementations were removed and made to use the
+ shared stub.
+ * startup/bspclean.c: Removed.
+
2008-05-15 Joel Sherrill <joel.sherrill@OARcorp.com>
* startup/bspstart.c: Add capability for bootcard.c BSP Initialization
diff --git a/c/src/lib/libbsp/sh/gensh2/Makefile.am b/c/src/lib/libbsp/sh/gensh2/Makefile.am
index f6afaff594..24fa8ef713 100644
--- a/c/src/lib/libbsp/sh/gensh2/Makefile.am
+++ b/c/src/lib/libbsp/sh/gensh2/Makefile.am
@@ -36,8 +36,8 @@ CLEANFILES = scitab.c
startup_SOURCES = startup/hw_init.c ../../shared/bsplibc.c \
../../shared/bsppost.c ../../shared/bsppredriverhook.c \
- startup/bspstart.c startup/bspclean.c ../../shared/sbrk.c \
- ../../shared/bootcard.c ../../shared/gnatinstallhandler.c
+ startup/bspstart.c ../../shared/sbrk.c ../../shared/bootcard.c \
+ ../../shared/gnatinstallhandler.c ../../shared/bspclean.c
scitab_SOURCES = scitab.c
console_SOURCES = ../../sh/shared/console.c console/config.c
debugio_SOURCES = ../../shared/dummy_printk_support.c
diff --git a/c/src/lib/libbsp/sh/gensh2/include/bsp.h b/c/src/lib/libbsp/sh/gensh2/include/bsp.h
index b0cb1cb9f3..0d42747e93 100644
--- a/c/src/lib/libbsp/sh/gensh2/include/bsp.h
+++ b/c/src/lib/libbsp/sh/gensh2/include/bsp.h
@@ -84,10 +84,6 @@ extern uint32_t WorkSpaceEnd ;
extern void *CPU_Interrupt_stack_low ;
extern void *CPU_Interrupt_stack_high ;
-/* miscellaneous stuff assumed to exist */
-
-extern void bsp_cleanup( void );
-
/*
* Device Driver Table Entries
*/
diff --git a/c/src/lib/libbsp/sh/gensh2/startup/bspclean.c b/c/src/lib/libbsp/sh/gensh2/startup/bspclean.c
deleted file mode 100644
index 7fb98bdd56..0000000000
--- a/c/src/lib/libbsp/sh/gensh2/startup/bspclean.c
+++ /dev/null
@@ -1,42 +0,0 @@
-/* bsp_cleanup()
- *
- * This routine normally is part of start.s and usually returns
- * control to a monitor.
- *
- * INPUT: NONE
- *
- * OUTPUT: NONE
- *
- * Authors: Ralf Corsepius (corsepiu@faw.uni-ulm.de) and
- * Bernd Becker (becker@faw.uni-ulm.de)
- *
- * COPYRIGHT (c) 1997-1998, FAW Ulm, Germany
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; If not, write to the Free Software Foundation,
- * 675 Mass Ave, Cambridge, MA 02139, USA.
- *
- *
- * COPYRIGHT (c) 1998.
- * 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 bsp_cleanup( void )
-{
-#if 0
- rtems_fatal_error_occurred(0);
-#endif
-}