mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-05-28 15:34:33 +00:00
Forgot to clear KCallback after configuration
This commit is contained in:
parent
12a1540d3d
commit
10364e17f0
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user