Skip to content

Commit 77bf447

Browse files
committed
arm64: Print ESR_EL1 on synchronous external abort
This is useful as the register may include information about the abort. Sponsored by: Arm Ltd
1 parent 0d843cc commit 77bf447

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sys/arm64/arm64/trap.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,7 @@ external_abort(struct thread *td, struct trapframe *frame, uint64_t esr,
246246

247247
print_registers(frame);
248248
print_gp_register("far", far);
249+
printf(" esr: 0x%.16lx\n", esr);
249250
panic("Unhandled external data abort");
250251
}
251252

0 commit comments

Comments
 (0)