abort handlers: replace panic with infinite loop
This commit is contained in:
parent
d11e581862
commit
45ed5f6c5b
|
@ -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 {}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue