mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
[NTOSKRNL]
- Hack IopDeleteDriver to workaround the boot driver unloading bugs I mailed ros-dev about - Should fix KVM testbot svn path=/trunk/; revision=56071
This commit is contained in:
@@ -73,12 +73,16 @@ IopDeleteDriver(IN PVOID ObjectBody)
|
||||
DriverExtension = NextDriverExtension;
|
||||
}
|
||||
|
||||
#if 0
|
||||
/* Check if the driver image is still loaded */
|
||||
if (DriverObject->DriverSection)
|
||||
{
|
||||
/* Unload it */
|
||||
MmUnloadSystemImage(DriverObject->DriverSection);
|
||||
}
|
||||
#else
|
||||
DPRINT1("HACK: Not unloading the driver image due to critical bugs!\n");
|
||||
#endif
|
||||
|
||||
/* Check if it has a name */
|
||||
if (DriverObject->DriverName.Buffer)
|
||||
|
||||
Reference in New Issue
Block a user