diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-09-16 19:03:46 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-09-16 19:03:46 +0000 |
commit | a993d456cdd8d85b2628fb45415abbb71d6b5356 (patch) | |
tree | 206b1c807da4c244c62ce3daebf9a62c9d602352 /c/src/lib/libbsp/m68k/sim68000/startup/bsppredriverhook.c | |
parent | 2008-09-16 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-a993d456cdd8d85b2628fb45415abbb71d6b5356.tar.bz2 |
2008-09-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac, startup/linkcmds: Add use of
bsp_get_work_area() in its own file and rely on BSP Framework to
perform more initialization. Remove unnecessary includes of
rtems/libio.h and rtems/libcsupport.h.
* console/debugio.c, startup/bsppredriverhook.c: New files.
* startup/bspstart.c: Removed.
Diffstat (limited to 'c/src/lib/libbsp/m68k/sim68000/startup/bsppredriverhook.c')
-rw-r--r-- | c/src/lib/libbsp/m68k/sim68000/startup/bsppredriverhook.c | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/m68k/sim68000/startup/bsppredriverhook.c b/c/src/lib/libbsp/m68k/sim68000/startup/bsppredriverhook.c new file mode 100644 index 0000000000..5632a55320 --- /dev/null +++ b/c/src/lib/libbsp/m68k/sim68000/startup/bsppredriverhook.c @@ -0,0 +1,24 @@ +/* + * 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 <bsp/bootcard.h> + +extern void bsp_spurious_initialize(void); + +void bsp_predriver_hook(void) +{ + #if defined(mcpu32) + #warning "do something about vectors!!!" + #endif + + bsp_spurious_initialize(); +} |