mirror of
https://github.com/Fennix-Project/Drivers.git
synced 2025-07-13 08:09:23 +00:00
Forgot to clear the Interrupt Mask
This commit is contained in:
@ -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.");
|
||||||
|
Reference in New Issue
Block a user