mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 09:25:10 +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:
parent
3cc3ad057f
commit
96f1392d7b
1 changed files with 7 additions and 0 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue