Author: ros-arm-bringup
Date: Sun Jun 29 21:18:04 2008
New Revision: 34203
URL:
http://svn.reactos.org/svn/reactos?rev=34203&view=rev
Log:
- Call IopStartRamdisk if booting from one. This completes kernel-side RAM disk boot
support
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?…
==============================================================================
--- trunk/reactos/ntoskrnl/io/iomgr/iomgr.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/io/iomgr/iomgr.c [iso-8859-1] Sun Jun 29 21:18:04 2008
@@ -512,6 +512,13 @@
IoSynchronousInvalidateDeviceRelations(IopRootDeviceNode->
PhysicalDeviceObject,
BusRelations);
+
+ /* Check if this was a ramdisk boot */
+ if (RtlEqualMemory(LoaderBlock->ArcBootDeviceName, "ramdisk(0)", 10))
+ {
+ /* Initialize the ramdisk driver */
+ IopStartRamdisk(LoaderBlock);
+ }
/* Create ARC names for boot devices */
IopCreateArcNames(LoaderBlock);