mirror of
https://github.com/reactos/reactos.git
synced 2026-07-07 01:44:20 +08:00
Call IopEnumerateDevice() later, after IopCreateArcNames().
svn path=/trunk/; revision=39721
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user