abort handlers: replace panic with infinite loop

This commit is contained in:
Astro 2019-08-19 00:14:43 +02:00
parent d11e581862
commit 45ed5f6c5b

View File

@ -171,10 +171,12 @@ fn panic(info: &core::panic::PanicInfo) -> ! {
#[no_mangle] #[no_mangle]
pub unsafe extern "C" fn PrefetchAbort() { pub unsafe extern "C" fn PrefetchAbort() {
panic!("PrefetchAbort"); println!("PrefetchAbort");
loop {}
} }
#[no_mangle] #[no_mangle]
pub unsafe extern "C" fn DataAbort() { pub unsafe extern "C" fn DataAbort() {
panic!("DataAbort"); println!("DataAbort");
loop {}
} }