diff options
Diffstat (limited to 'c/src/lib/libbsp/m68k/mvme167/startup/bspclean.c')
-rw-r--r-- | c/src/lib/libbsp/m68k/mvme167/startup/bspclean.c | 29 |
1 files changed, 6 insertions, 23 deletions
diff --git a/c/src/lib/libbsp/m68k/mvme167/startup/bspclean.c b/c/src/lib/libbsp/m68k/mvme167/startup/bspclean.c index 68e127ff2c..820ffe89ed 100644 --- a/c/src/lib/libbsp/m68k/mvme167/startup/bspclean.c +++ b/c/src/lib/libbsp/m68k/mvme167/startup/bspclean.c @@ -49,19 +49,7 @@ static void bsp_return_to_monitor_trap( void ) __asm__ volatile( "jmp %0@" : "=a" (start_addr) : "0" (start_addr) ); } -void bsp_fatal_extension( - rtems_fatal_source source, - bool is_internal, - rtems_fatal_code error -) -{ - M68Kvec[ 45 ] = bsp_return_to_monitor_trap; - __asm__ volatile( "trap #13" ); -} - /* - * bsp_cleanup - * * This code was copied from other MC680x0 MVME BSPs. * Our guess is that someone was concerned about the CPU no longer being in * supervisor mode when they got here. This function forces the CPU back to @@ -73,18 +61,13 @@ void bsp_fatal_extension( * problems if 167Bug is invoked before we get to switch the VBR back to * 167Bug because trap 13 is documented as being reserved for the internal * use of the debugger. - * - * Prototyped in rtems/c/src/lib/libbsp/m68k/mvme167/include/bsp.h - * - * Input parameters: NONE - * - * Output parameters: NONE - * - * Return values: DOES NOT RETURN */ -void bsp_cleanup( - uint32_t status +void bsp_fatal_extension( + rtems_fatal_source source, + bool is_internal, + rtems_fatal_code error ) { - rtems_fatal( RTEMS_FATAL_SOURCE_EXIT, status ); + M68Kvec[ 45 ] = bsp_return_to_monitor_trap; + __asm__ volatile( "trap #13" ); } |