mirror of
https://github.com/Fennix-Project/Drivers.git
synced 2025-05-25 22:14:31 +00:00
Forgot to clear the Interrupt Mask
This commit is contained in:
parent
dbb47bcd4d
commit
32967c9fc7
@ -423,7 +423,7 @@ int CallbackHandler(KernelCallback *Data)
|
||||
}
|
||||
case StopReason:
|
||||
{
|
||||
// TODO: UNTESTED!!!
|
||||
OutCMD(REG::IMASK, 0x00000000);
|
||||
uint64_t cmdret = InCMD(REG::CTRL);
|
||||
OutCMD(REG::CTRL, cmdret & ~ECTRL::SLU);
|
||||
print("Driver stopped.");
|
||||
|
Loading…
x
Reference in New Issue
Block a user