summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2008-09-19 15:50:26 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2008-09-19 15:50:26 +0000
commit97c64b01e788b3607a101c22724b1cf8d4d2ff9c (patch)
tree6789b5c6e3aa4f01a0552e5418fb0ae1c74a4aa0
parent2008-09-19 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-97c64b01e788b3607a101c22724b1cf8d4d2ff9c.tar.bz2
2008-09-19 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am: Split out bspstart contents. Use shared stub for bsp_start. * startup/h8bdinstallirq.c: New file. * startup/bspstart.c: Removed.
-rw-r--r--c/src/lib/libbsp/h8300/h8sim/ChangeLog7
-rw-r--r--c/src/lib/libbsp/h8300/h8sim/Makefile.am3
-rw-r--r--c/src/lib/libbsp/h8300/h8sim/startup/bspstart.c36
-rw-r--r--c/src/lib/libbsp/h8300/h8sim/startup/h8bdinstallirq.c19
4 files changed, 28 insertions, 37 deletions
diff --git a/c/src/lib/libbsp/h8300/h8sim/ChangeLog b/c/src/lib/libbsp/h8300/h8sim/ChangeLog
index 56bf988165..37e9b17a57 100644
--- a/c/src/lib/libbsp/h8300/h8sim/ChangeLog
+++ b/c/src/lib/libbsp/h8300/h8sim/ChangeLog
@@ -1,3 +1,10 @@
+2008-09-19 Joel Sherrill <joel.sherrill@oarcorp.com>
+
+ * Makefile.am: Split out bspstart contents. Use shared stub for
+ bsp_start.
+ * startup/h8bdinstallirq.c: New file.
+ * startup/bspstart.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/h8300/h8sim/Makefile.am b/c/src/lib/libbsp/h8300/h8sim/Makefile.am
index 576e49b989..4be7de0481 100644
--- a/c/src/lib/libbsp/h8300/h8sim/Makefile.am
+++ b/c/src/lib/libbsp/h8300/h8sim/Makefile.am
@@ -27,7 +27,8 @@ dist_project_lib_DATA += startup/linkcmds
startup_SOURCES = ../../shared/bspclean.c ../../shared/bsplibc.c \
../../shared/bsppredriverhook.c ../../shared/bsppretaskinghook.c \
- ../../shared/bspgetworkarea.c ../../shared/bsppost.c startup/bspstart.c \
+ ../../shared/bspgetworkarea.c ../../shared/bsppost.c \
+ ../../shared/bspstart.c startup/h8bdinstallirq.c \
../../shared/bootcard.c ../../shared/sbrk.c \
../../shared/gnatinstallhandler.c startup/__main.c
clock_SOURCES = ../../shared/clock_driver_stub.c
diff --git a/c/src/lib/libbsp/h8300/h8sim/startup/bspstart.c b/c/src/lib/libbsp/h8300/h8sim/startup/bspstart.c
deleted file mode 100644
index c350bcfef1..0000000000
--- a/c/src/lib/libbsp/h8300/h8sim/startup/bspstart.c
+++ /dev/null
@@ -1,36 +0,0 @@
-/*
- * This routine starts the application. It includes application,
- * board, and monitor specific initialization and configuration.
- * The generic CPU dependent initialization has been performed
- * before this routine is invoked.
- *
- * 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 <string.h>
-
-#include <bsp.h>
-
-/*
- * bsp_start
- *
- * This routine does the bulk of the system initialization.
- */
-
-void bsp_start( void )
-{
-}
-
-void H8BD_Install_IRQ(
- uint32_t vector,
- proc_ptr new_handler,
- proc_ptr *old_handler )
-{ /* empty */
-}
diff --git a/c/src/lib/libbsp/h8300/h8sim/startup/h8bdinstallirq.c b/c/src/lib/libbsp/h8300/h8sim/startup/h8bdinstallirq.c
new file mode 100644
index 0000000000..e964453b4f
--- /dev/null
+++ b/c/src/lib/libbsp/h8300/h8sim/startup/h8bdinstallirq.c
@@ -0,0 +1,19 @@
+/*
+ * COPYRIGHT (c) 1989-2008.
+ * 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>
+
+void H8BD_Install_IRQ(
+ uint32_t vector,
+ proc_ptr new_handler,
+ proc_ptr *old_handler )
+{ /* empty */
+}