kernel: Fix release compilation on amd64

Signed-off-by: EnderIce2 <enderice2@protonmail.com>
This commit is contained in:
EnderIce2 2025-01-04 20:34:57 +02:00
parent 94cdd71e1e
commit 082f2fb6f2
No known key found for this signature in database
GPG Key ID: 2EE20AF089811A5A

View File

@ -68,7 +68,7 @@ nsa bool CrashXHCIKeyboardDriver::TakeOwnership()
nsa bool CrashXHCIKeyboardDriver::Initialize() nsa bool CrashXHCIKeyboardDriver::Initialize()
{ {
int timeout = 10; // int timeout = 10;
if (!TakeOwnership()) if (!TakeOwnership())
{ {
@ -192,7 +192,9 @@ nsa void CrashXHCIKeyboardDriver::OnInterruptReceived(CPU::TrapFrame *Frame)
Interrupter->IMAN.IP = 1; Interrupter->IMAN.IP = 1;
if (!ops->USBSTS.EINT) if (!ops->USBSTS.EINT)
{
debug("!USBSTS.EINT"); debug("!USBSTS.EINT");
}
// return; // return;
ops->USBSTS.EINT = 1; ops->USBSTS.EINT = 1;