diff options
Diffstat (limited to 'c/src/lib/libbsp/m68k/mcf5225x/startup/bspclean.c')
-rw-r--r-- | c/src/lib/libbsp/m68k/mcf5225x/startup/bspclean.c | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/c/src/lib/libbsp/m68k/mcf5225x/startup/bspclean.c b/c/src/lib/libbsp/m68k/mcf5225x/startup/bspclean.c index fb538904df..e8c70c326f 100644 --- a/c/src/lib/libbsp/m68k/mcf5225x/startup/bspclean.c +++ b/c/src/lib/libbsp/m68k/mcf5225x/startup/bspclean.c @@ -19,13 +19,18 @@ #include <bsp/bootcard.h> #include <rtems/bspIo.h> +void bsp_fatal_extension( + rtems_fatal_source source, + bool is_internal, + rtems_fatal_code error +) +{ + printk("\nRTEMS exited!\n"); +} + void __attribute__((weak)) bsp_cleanup( uint32_t status ) { - printk("\nRTEMS exited!\n"); - for (;;) { - __asm__ volatile (" nop "); - __asm__ volatile (" nop "); - } + rtems_fatal( RTEMS_FATAL_SOURCE_EXIT, status ); } |