mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 16:37:47 +00:00
Kernel/aarch64: Add function to convert DFSC to StringView
This is useful for debugging, when hitting a data abort.
This commit is contained in:
parent
5b06925b8a
commit
b991cff60f
2 changed files with 104 additions and 0 deletions
|
@ -55,6 +55,9 @@ extern "C" void exception_common(Kernel::TrapFrame const* const trap_frame)
|
|||
if (Aarch64::exception_class_has_set_far(esr_el1.EC))
|
||||
dbgln("Faulting Virtual Address: 0x{:x}", Aarch64::FAR_EL1::read().virtual_address);
|
||||
|
||||
if (Aarch64::exception_class_is_data_abort(esr_el1.EC))
|
||||
dbgln("Data Fault Status Code: {}", Aarch64::data_fault_status_code_to_string(esr_el1.ISS));
|
||||
|
||||
dump_backtrace_from_base_pointer(regs->x[29]);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue