forked from M-Labs/zynq-rs
1
0
Fork 0
zynq-rs/libboard_zc706/src/abort.rs

18 lines
283 B
Rust
Raw Normal View History

use libboard_zynq::{println, stdio};
2019-11-11 09:37:06 +08:00
#[no_mangle]
pub unsafe extern "C" fn PrefetchAbort() {
stdio::drop_uart();
2019-11-11 09:37:06 +08:00
println!("PrefetchAbort");
loop {}
}
#[no_mangle]
pub unsafe extern "C" fn DataAbort() {
stdio::drop_uart();
2019-11-11 09:37:06 +08:00
println!("DataAbort");
loop {}
}