summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/m68k
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2008-09-16 19:09:30 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2008-09-16 19:09:30 +0000
commitcb78c0d4d49e92bf09e7d6179da6542636cf52a0 (patch)
tree7c002b7d14c4c6bc646748233c7c5459044d53b4 /c/src/lib/libbsp/m68k
parent2008-09-16 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-cb78c0d4d49e92bf09e7d6179da6542636cf52a0.tar.bz2
2008-09-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* startup/bspstart.c: Removed.
Diffstat (limited to '')
-rw-r--r--c/src/lib/libbsp/m68k/mrm332/ChangeLog4
-rw-r--r--c/src/lib/libbsp/m68k/mrm332/startup/bspstart.c59
2 files changed, 4 insertions, 59 deletions
diff --git a/c/src/lib/libbsp/m68k/mrm332/ChangeLog b/c/src/lib/libbsp/m68k/mrm332/ChangeLog
index 0cfc1a5dd2..1c18efe07e 100644
--- a/c/src/lib/libbsp/m68k/mrm332/ChangeLog
+++ b/c/src/lib/libbsp/m68k/mrm332/ChangeLog
@@ -1,5 +1,9 @@
2008-09-16 Joel Sherrill <joel.sherrill@oarcorp.com>
+ * startup/bspstart.c: Removed.
+
+2008-09-16 Joel Sherrill <joel.sherrill@oarcorp.com>
+
* Makefile.am, configure.ac, clock/ckinit.c, startup/linkcmds,
startup/linkcmds_ROM: Add use of bsp_get_work_area() in its own file
and rely on BSP Framework to perform more initialization. Remove
diff --git a/c/src/lib/libbsp/m68k/mrm332/startup/bspstart.c b/c/src/lib/libbsp/m68k/mrm332/startup/bspstart.c
deleted file mode 100644
index 45c59e0d9f..0000000000
--- a/c/src/lib/libbsp/m68k/mrm332/startup/bspstart.c
+++ /dev/null
@@ -1,59 +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 <bsp.h>
-#include <rtems/libio.h>
-
-#include <string.h>
-
-/*
- * Use the shared implementations of the following routines
- */
-
-void bsp_libc_init( void *, uint32_t, int );
-void bsp_pretasking_hook(void); /* m68k version */
-
-/*
- * Call Spurious_Initialize in bsp_predriver_hook because
- * bsp_predriver_hook is call after the _ISR_Vector_Table allocation
- */
-
-void bsp_predriver_hook(void)
-{
- extern void Spurious_Initialize(void);
- Spurious_Initialize();
-}
-
-/*
- * bsp_start
- *
- * This routine does the bulk of the system initialization.
- */
-
-void bsp_start( void )
-{
- void *vbr;
- extern void *_WorkspaceBase;
- extern void *_RamSize;
- extern unsigned long _M68k_Ramsize;
-
- /* RAM size set in linker script */
- _M68k_Ramsize = (unsigned long)&_RamSize;
-
- m68k_get_vbr( vbr );
-
- Configuration.work_space_start = (void *) &_WorkspaceBase;
-}