diff options
-rw-r--r-- | src/interrupts.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interrupts.zig b/src/interrupts.zig index 6983517..4f72d91 100644 --- a/src/interrupts.zig +++ b/src/interrupts.zig @@ -145,7 +145,7 @@ export fn supervisor_trap(epc: usize, tval: usize, cause_bits: usize, hart_id: u return epc + 4; }, else => { - w.print("Hart {d}: Unhandled synchronous interrupt: {d}\r\n", .{ hart_id, cause.num }) catch while (true) {}; + w.print("Hart {d}: Unhandled synchronous interrupt: {d}, EPC = 0x{x:0>16}\r\n", .{ hart_id, cause.num, epc }) catch while (true) {}; while (true) {} }, } |