mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +00:00
- Call IopStartRamdisk if booting from one. This completes kernel-side RAM disk boot support
svn path=/trunk/; revision=34203
This commit is contained in:
@@ -512,6 +512,13 @@ IoInitSystem(IN PLOADER_PARAMETER_BLOCK LoaderBlock)
|
||||
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);
|
||||
|
||||
Reference in New Issue
Block a user