summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/m68k/mvme147/startup/bspclean.c
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/lib/libbsp/m68k/mvme147/startup/bspclean.c')
-rw-r--r--c/src/lib/libbsp/m68k/mvme147/startup/bspclean.c13
1 files changed, 11 insertions, 2 deletions
diff --git a/c/src/lib/libbsp/m68k/mvme147/startup/bspclean.c b/c/src/lib/libbsp/m68k/mvme147/startup/bspclean.c
index 7f29f4e87d..405d9262fd 100644
--- a/c/src/lib/libbsp/m68k/mvme147/startup/bspclean.c
+++ b/c/src/lib/libbsp/m68k/mvme147/startup/bspclean.c
@@ -31,8 +31,10 @@ void bsp_return_to_monitor_trap(void)
__asm__ volatile ( "jmp %0@" : "=a" (start_addr) : "0" (start_addr) );
}
-void bsp_cleanup(
- uint32_t status
+void bsp_fatal_extension(
+ rtems_fatal_source source,
+ bool is_internal,
+ rtems_fatal_code error
)
{
pcc->timer1_int_control = 0; /* Disable Timer 1 */
@@ -41,3 +43,10 @@ void bsp_cleanup(
M68Kvec[ 45 ] = bsp_return_to_monitor_trap; /* install handler */
__asm__ volatile( "trap #13" ); /* ensures SUPV mode */
}
+
+void bsp_cleanup(
+ uint32_t status
+)
+{
+ rtems_fatal( RTEMS_FATAL_SOURCE_EXIT, status );
+}