From 082f2fb6f23bb87e60274ecd75d1f93fe195cfc0 Mon Sep 17 00:00:00 2001 From: EnderIce2 Date: Sat, 4 Jan 2025 20:34:57 +0200 Subject: [PATCH] kernel: Fix release compilation on amd64 Signed-off-by: EnderIce2 --- Kernel/core/panic/kbd/xhci.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Kernel/core/panic/kbd/xhci.cpp b/Kernel/core/panic/kbd/xhci.cpp index e5dc31a8..36bd8506 100644 --- a/Kernel/core/panic/kbd/xhci.cpp +++ b/Kernel/core/panic/kbd/xhci.cpp @@ -68,7 +68,7 @@ nsa bool CrashXHCIKeyboardDriver::TakeOwnership() nsa bool CrashXHCIKeyboardDriver::Initialize() { - int timeout = 10; + // int timeout = 10; if (!TakeOwnership()) { @@ -192,7 +192,9 @@ nsa void CrashXHCIKeyboardDriver::OnInterruptReceived(CPU::TrapFrame *Frame) Interrupter->IMAN.IP = 1; if (!ops->USBSTS.EINT) + { debug("!USBSTS.EINT"); + } // return; ops->USBSTS.EINT = 1;