- Call IopStartRamdisk if booting from one. This completes kernel-side RAM disk boot support

svn path=/trunk/; revision=34203
This commit is contained in:
ReactOS Portable Systems Group 2008-06-30 02:18:04 +00:00
parent 3cc3ad057f
commit 96f1392d7b

View file

@ -513,6 +513,13 @@ IoInitSystem(IN PLOADER_PARAMETER_BLOCK LoaderBlock)
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);