mirror of
https://github.com/SerenityOS/serenity
synced 2024-10-07 00:19:27 +00:00
Kernel/aarch64: Do not dump register state on every page fault
This became very spammy, and is not needed anymore since we now correctly handle page faults.
This commit is contained in:
parent
3106a72a72
commit
da89cd948f
|
@ -84,12 +84,6 @@ extern "C" void exception_common(Kernel::TrapFrame* trap_frame)
|
|||
auto fault_address = Aarch64::FAR_EL1::read().virtual_address;
|
||||
Processor::enable_interrupts();
|
||||
|
||||
constexpr bool print_state = true;
|
||||
if constexpr (print_state) {
|
||||
dbgln("Exception Generated by processor!");
|
||||
dump_registers(*trap_frame->regs);
|
||||
}
|
||||
|
||||
if (Aarch64::exception_class_is_data_abort(esr_el1.EC) || Aarch64::exception_class_is_instruction_abort(esr_el1.EC)) {
|
||||
auto page_fault = page_fault_from_exception_syndrome_register(VirtualAddress(fault_address), esr_el1);
|
||||
page_fault.handle(*trap_frame->regs);
|
||||
|
|
Loading…
Reference in a new issue