From da89cd948f1975816b701ee1cb27c9a657d37e09 Mon Sep 17 00:00:00 2001 From: Timon Kruiper Date: Mon, 30 Jan 2023 14:13:39 +0100 Subject: [PATCH] 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. --- Kernel/Arch/aarch64/Interrupts.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/Kernel/Arch/aarch64/Interrupts.cpp b/Kernel/Arch/aarch64/Interrupts.cpp index 75f4dd56e9..a8f9b5a89f 100644 --- a/Kernel/Arch/aarch64/Interrupts.cpp +++ b/Kernel/Arch/aarch64/Interrupts.cpp @@ -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);