diff --git a/Core/Driver/DriverLoading/BindPCI.cpp b/Core/Driver/DriverLoading/BindPCI.cpp index c600793..e92cbbd 100644 --- a/Core/Driver/DriverLoading/BindPCI.cpp +++ b/Core/Driver/DriverLoading/BindPCI.cpp @@ -513,6 +513,9 @@ namespace Driver return DriverCode::DRIVER_RETURNED_ERROR; } + memset(KCallback, 0, sizeof(KernelCallback)); + KCallback->Reason = CallbackReason::InterruptReason; + DriverFile *DrvFile = new DriverFile; DrvFile->Enabled = true; DrvFile->DriverUID = this->DriverUIDs - 1;