From 97c64b01e788b3607a101c22724b1cf8d4d2ff9c Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 19 Sep 2008 15:50:26 +0000 Subject: 2008-09-19 Joel Sherrill * Makefile.am: Split out bspstart contents. Use shared stub for bsp_start. * startup/h8bdinstallirq.c: New file. * startup/bspstart.c: Removed. --- c/src/lib/libbsp/h8300/h8sim/ChangeLog | 7 +++++ c/src/lib/libbsp/h8300/h8sim/Makefile.am | 3 +- c/src/lib/libbsp/h8300/h8sim/startup/bspstart.c | 36 ---------------------- .../libbsp/h8300/h8sim/startup/h8bdinstallirq.c | 19 ++++++++++++ 4 files changed, 28 insertions(+), 37 deletions(-) delete mode 100644 c/src/lib/libbsp/h8300/h8sim/startup/bspstart.c create mode 100644 c/src/lib/libbsp/h8300/h8sim/startup/h8bdinstallirq.c (limited to 'c/src/lib') 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 + + * 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 * 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 - -#include - -/* - * 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 + +void H8BD_Install_IRQ( + uint32_t vector, + proc_ptr new_handler, + proc_ptr *old_handler ) +{ /* empty */ +} -- cgit v1.2.3