mirror of
https://github.com/Fennix-Project/Drivers.git
synced 2025-05-28 15:34:29 +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:
|
case StopReason:
|
||||||
{
|
{
|
||||||
// TODO: UNTESTED!!!
|
OutCMD(REG::IMASK, 0x00000000);
|
||||||
uint64_t cmdret = InCMD(REG::CTRL);
|
uint64_t cmdret = InCMD(REG::CTRL);
|
||||||
OutCMD(REG::CTRL, cmdret & ~ECTRL::SLU);
|
OutCMD(REG::CTRL, cmdret & ~ECTRL::SLU);
|
||||||
print("Driver stopped.");
|
print("Driver stopped.");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user