forked from M-Labs/artiq
1
0
Fork 0
This commit is contained in:
Sebastien Bourdeauducq 2021-08-12 13:01:35 +08:00
parent 9f94bc61ae
commit 420891ba54
1 changed files with 1 additions and 1 deletions

View File

@ -262,7 +262,7 @@ pub extern fn exception(vect: u32, _regs: *const u32, pc: u32, ea: u32) {
let vect = irq::Exception::try_from(vect).expect("unknown exception"); let vect = irq::Exception::try_from(vect).expect("unknown exception");
match vect { match vect {
irq::Exception::Interrupt => irq::Exception::Interrupt =>
panic!("spurious irq {}", irq::pending_mask().trailing_zeros()) panic!("spurious irq {}", irq::pending_mask().trailing_zeros()),
_ => { _ => {
fn hexdump(addr: u32) { fn hexdump(addr: u32) {
let addr = (addr - addr % 4) as *const u32; let addr = (addr - addr % 4) as *const u32;