Call IopEnumerateDevice() later, after IopCreateArcNames().

svn path=/trunk/; revision=39721
This commit is contained in:
Dmitry Gorbachev
2009-02-23 13:17:07 +00:00
parent 50ee6815d3
commit 9b42ebfbcc

View File

@@ -496,9 +496,6 @@ IoInitSystem(IN PLOADER_PARAMETER_BLOCK LoaderBlock)
/* Call back drivers that asked for */
IopReinitializeBootDrivers();
/* Initialize PnP root relations */
IopEnumerateDevice(IopRootDeviceNode->PhysicalDeviceObject);
/* Check if this was a ramdisk boot */
if (!_strnicmp(LoaderBlock->ArcBootDeviceName, "ramdisk(0)", 10))
{
@@ -512,6 +509,9 @@ IoInitSystem(IN PLOADER_PARAMETER_BLOCK LoaderBlock)
/* Mark the system boot partition */
if (!IopMarkBootPartition(LoaderBlock)) return FALSE;
/* Initialize PnP root relations */
IopEnumerateDevice(IopRootDeviceNode->PhysicalDeviceObject);
#ifndef _WINKD_
/* Read KDB Data */
KdbInit();