[ros-dev] [ros-diffs] [dgorbachev] 39721: Call IopEnumerateDevice() later, after IopCreateArcNames().
Aleksey Bragin
aleksey at reactos.org
Tue Feb 24 10:54:01 CET 2009
Why so, Dmitry? Looks like a hack?
WBR,
Aleksey Bragin.
On Feb 23, 2009, at 4:17 PM, dgorbachev at svn.reactos.org wrote:
> Author: dgorbachev
> Date: Mon Feb 23 16:17:07 2009
> New Revision: 39721
>
> URL: http://svn.reactos.org/svn/reactos?rev=39721&view=rev
> Log:
> Call IopEnumerateDevice() later, after IopCreateArcNames().
>
> Modified:
> trunk/reactos/ntoskrnl/io/iomgr/iomgr.c
>
> Modified: trunk/reactos/ntoskrnl/io/iomgr/iomgr.c
> URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/io/
> iomgr/iomgr.c?rev=39721&r1=39720&r2=39721&view=diff
> ======================================================================
> ========
> --- trunk/reactos/ntoskrnl/io/iomgr/iomgr.c [iso-8859-1] (original)
> +++ trunk/reactos/ntoskrnl/io/iomgr/iomgr.c [iso-8859-1] Mon Feb 23
> 16:17:07 2009
> @@ -496,9 +496,6 @@
> /* 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 @@
> /* Mark the system boot partition */
> if (!IopMarkBootPartition(LoaderBlock)) return FALSE;
>
> + /* Initialize PnP root relations */
> + IopEnumerateDevice(IopRootDeviceNode->PhysicalDeviceObject);
> +
> #ifndef _WINKD_
> /* Read KDB Data */
> KdbInit();
>
More information about the Ros-dev
mailing list