mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 09:25:10 +00:00
- Forgot to merge these changes in as well -- they relate to the LARGE_INTEGER changes in the ramdisk header file.
svn path=/trunk/; revision=34674
This commit is contained in:
parent
4819929961
commit
148fbeb8b3
1 changed files with 3 additions and 3 deletions
|
@ -86,7 +86,7 @@ IopStartRamdisk(IN PLOADER_PARAMETER_BLOCK LoaderBlock)
|
||||||
RamdiskCreate.DiskType = RAMDISK_BOOT_DISK;
|
RamdiskCreate.DiskType = RAMDISK_BOOT_DISK;
|
||||||
RamdiskCreate.BasePage = MemoryDescriptor->BasePage;
|
RamdiskCreate.BasePage = MemoryDescriptor->BasePage;
|
||||||
RamdiskCreate.DiskOffset = 0;
|
RamdiskCreate.DiskOffset = 0;
|
||||||
RamdiskCreate.DiskLength = MemoryDescriptor->PageCount << PAGE_SHIFT;
|
RamdiskCreate.DiskLength.QuadPart = MemoryDescriptor->PageCount << PAGE_SHIFT;
|
||||||
RamdiskCreate.DiskGuid = RAMDISK_BOOTDISK_GUID;
|
RamdiskCreate.DiskGuid = RAMDISK_BOOTDISK_GUID;
|
||||||
RamdiskCreate.DriveLetter = L'C';
|
RamdiskCreate.DriveLetter = L'C';
|
||||||
RamdiskCreate.Options.Fixed = TRUE;
|
RamdiskCreate.Options.Fixed = TRUE;
|
||||||
|
@ -124,7 +124,7 @@ IopStartRamdisk(IN PLOADER_PARAMETER_BLOCK LoaderBlock)
|
||||||
//
|
//
|
||||||
// Reduce the disk length
|
// Reduce the disk length
|
||||||
//
|
//
|
||||||
RamdiskCreate.DiskLength -= RamdiskCreate.DiskOffset;
|
RamdiskCreate.DiskLength.QuadPart -= RamdiskCreate.DiskOffset;
|
||||||
|
|
||||||
//
|
//
|
||||||
// Check for length parameter
|
// Check for length parameter
|
||||||
|
@ -141,7 +141,7 @@ IopStartRamdisk(IN PLOADER_PARAMETER_BLOCK LoaderBlock)
|
||||||
//
|
//
|
||||||
// Set the offset
|
// Set the offset
|
||||||
//
|
//
|
||||||
RamdiskCreate.DiskLength = _atoi64(LengthValue + 1);
|
RamdiskCreate.DiskLength.QuadPart = _atoi64(LengthValue + 1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue