diff options
Diffstat (limited to '')
-rw-r--r-- | bsps/sparc/erc32/start/bspstart.c (renamed from c/src/lib/libbsp/sparc/erc32/startup/bsppredriver.c) | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/c/src/lib/libbsp/sparc/erc32/startup/bsppredriver.c b/bsps/sparc/erc32/start/bspstart.c index 6c6ea1e634..80447b9457 100644 --- a/c/src/lib/libbsp/sparc/erc32/startup/bsppredriver.c +++ b/bsps/sparc/erc32/start/bspstart.c @@ -12,14 +12,13 @@ #include <bsp.h> #include <bsp/bootcard.h> +#include <rtems/sysinit.h> /* - * bsp_predriver_hook - * - * BSP predriver hook. Called just before drivers are initialized. - * Is used to initialize shared interrupt handling. + * Called just before drivers are initialized. Is used to initialize shared + * interrupt handling. */ -void bsp_predriver_hook( void ) +static void erc32_pre_driver_hook( void ) { bsp_spurious_initialize(); @@ -28,3 +27,14 @@ void bsp_predriver_hook( void ) */ BSP_shared_interrupt_init(); } + +RTEMS_SYSINIT_ITEM( + erc32_pre_driver_hook, + RTEMS_SYSINIT_BSP_PRE_DRIVERS, + RTEMS_SYSINIT_ORDER_MIDDLE +); + +void bsp_start(void) +{ + /* Nothing to do */ +} |