1
0
mirror of https://github.com/SerenityOS/serenity synced 2024-07-09 12:54:23 +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:
Timon Kruiper 2023-01-30 14:13:39 +01:00 committed by Linus Groh
parent 3106a72a72
commit da89cd948f

View File

@ -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);