diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-04-17 06:57:46 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-04-20 09:49:36 +0200 |
commit | c4ccf26cb7808786e15312b41c3055b2da75203b (patch) | |
tree | f25c7d75c2543e447847e84d978db3d23a433418 /bsps/m68k/mrm332 | |
parent | bsp/motorola_powerpc: Move bspstart.c to bsps (diff) | |
download | rtems-c4ccf26cb7808786e15312b41c3055b2da75203b.tar.bz2 |
bsps: Convert all bsp_predriver_hook()
Use RTEMS_SYSINIT_ITEM() instead.
Update #2408.
Diffstat (limited to 'bsps/m68k/mrm332')
-rw-r--r-- | bsps/m68k/mrm332/start/bspstart.c | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/bsps/m68k/mrm332/start/bspstart.c b/bsps/m68k/mrm332/start/bspstart.c new file mode 100644 index 0000000000..285f34de9d --- /dev/null +++ b/bsps/m68k/mrm332/start/bspstart.c @@ -0,0 +1,28 @@ +/* + * COPYRIGHT (c) 1989-2014. + * 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.org/license/LICENSE. + */ + +#include <bsp.h> +#include <bsp/bootcard.h> +#include <rtems/sysinit.h> + +extern void Spurious_Initialize(void); + +/* + * Must be called after the _ISR_Vector_Table allocation + */ +RTEMS_SYSINIT_ITEM( + Spurious_Initialize, + RTEMS_SYSINIT_BSP_PRE_DRIVERS, + RTEMS_SYSINIT_ORDER_MIDDLE +); + +void bsp_start(void) +{ + /* Nothing to do */ +} |