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
1 changed files with 4 additions and 2 deletions

View File

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