Author: ros-arm-bringup
Date: Tue Jul 22 04:57:36 2008
New Revision: 34674
URL:
http://svn.reactos.org/svn/reactos?rev=34674&view=rev
Log:
- Forgot to merge these changes in as well -- they relate to the LARGE_INTEGER changes in
the ramdisk header file.
Modified:
trunk/reactos/ntoskrnl/io/iomgr/ramdisk.c
Modified: trunk/reactos/ntoskrnl/io/iomgr/ramdisk.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/io/iomgr/ramdisk.…
==============================================================================
--- trunk/reactos/ntoskrnl/io/iomgr/ramdisk.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/io/iomgr/ramdisk.c [iso-8859-1] Tue Jul 22 04:57:36 2008
@@ -86,7 +86,7 @@
RamdiskCreate.DiskType = RAMDISK_BOOT_DISK;
RamdiskCreate.BasePage = MemoryDescriptor->BasePage;
RamdiskCreate.DiskOffset = 0;
- RamdiskCreate.DiskLength = MemoryDescriptor->PageCount << PAGE_SHIFT;
+ RamdiskCreate.DiskLength.QuadPart = MemoryDescriptor->PageCount <<
PAGE_SHIFT;
RamdiskCreate.DiskGuid = RAMDISK_BOOTDISK_GUID;
RamdiskCreate.DriveLetter = L'C';
RamdiskCreate.Options.Fixed = TRUE;
@@ -124,7 +124,7 @@
//
// Reduce the disk length
//
- RamdiskCreate.DiskLength -= RamdiskCreate.DiskOffset;
+ RamdiskCreate.DiskLength.QuadPart -= RamdiskCreate.DiskOffset;
//
// Check for length parameter
@@ -141,7 +141,7 @@
//
// Set the offset
//
- RamdiskCreate.DiskLength = _atoi64(LengthValue + 1);
+ RamdiskCreate.DiskLength.QuadPart = _atoi64(LengthValue + 1);
}
}
}