mirror of
https://github.com/EnderIce2/Fennix.git
synced 2025-07-17 10:11:43 +00:00
Forgot to clear KCallback after configuration
This commit is contained in:
@@ -513,6 +513,9 @@ namespace Driver
|
|||||||
return DriverCode::DRIVER_RETURNED_ERROR;
|
return DriverCode::DRIVER_RETURNED_ERROR;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
memset(KCallback, 0, sizeof(KernelCallback));
|
||||||
|
KCallback->Reason = CallbackReason::InterruptReason;
|
||||||
|
|
||||||
DriverFile *DrvFile = new DriverFile;
|
DriverFile *DrvFile = new DriverFile;
|
||||||
DrvFile->Enabled = true;
|
DrvFile->Enabled = true;
|
||||||
DrvFile->DriverUID = this->DriverUIDs - 1;
|
DrvFile->DriverUID = this->DriverUIDs - 1;
|
||||||
|
Reference in New Issue
Block a user