[ros-diffs] [cgutman] 56071: [NTOSKRNL] - Hack IopDeleteDriver to workaround the boot driver unloading bugs I mailed ros-dev about - Should fix KVM testbot
cgutman at svn.reactos.org
cgutman at svn.reactos.org
Wed Mar 7 00:14:13 UTC 2012
Author: cgutman
Date: Wed Mar 7 00:14:13 2012
New Revision: 56071
URL: http://svn.reactos.org/svn/reactos?rev=56071&view=rev
Log:
[NTOSKRNL]
- Hack IopDeleteDriver to workaround the boot driver unloading bugs I mailed ros-dev about
- Should fix KVM testbot
Modified:
trunk/reactos/ntoskrnl/io/iomgr/driver.c
Modified: trunk/reactos/ntoskrnl/io/iomgr/driver.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/io/iomgr/driver.c?rev=56071&r1=56070&r2=56071&view=diff
==============================================================================
--- trunk/reactos/ntoskrnl/io/iomgr/driver.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/io/iomgr/driver.c [iso-8859-1] Wed Mar 7 00:14:13 2012
@@ -73,12 +73,16 @@
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)
More information about the Ros-diffs
mailing list