mirror of
https://github.com/EnderIce2/Fennix.git
synced 2025-05-28 15:34:31 +00:00
kernel: Fix release compilation on amd64
Signed-off-by: EnderIce2 <enderice2@protonmail.com>
This commit is contained in:
parent
94cdd71e1e
commit
082f2fb6f2
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user