Forgot to clear the Interrupt Mask

This commit is contained in:
Alex 2023-01-05 07:20:17 +02:00
parent dbb47bcd4d
commit 32967c9fc7
Signed by untrusted user who does not match committer: enderice2
GPG Key ID: EACC3AD603BAB4DD

View File

@ -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.");