- 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:
ReactOS Portable Systems Group 2008-07-22 09:57:36 +00:00
parent 4819929961
commit 148fbeb8b3

View file

@ -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);
} }
} }
} }