Author: hpoussin Date: Sun May 1 08:01:05 2011 New Revision: 51516
URL: http://svn.reactos.org/svn/reactos?rev=51516&view=rev Log: [freeldr] ramdisk: allocate memory with right type
This fixes NT boot type with a ramdisk, but ntoskrnl part is still broken
Modified: trunk/reactos/boot/freeldr/freeldr/disk/ramdisk.c
Modified: trunk/reactos/boot/freeldr/freeldr/disk/ramdisk.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/disk/r... ============================================================================== --- trunk/reactos/boot/freeldr/freeldr/disk/ramdisk.c [iso-8859-1] (original) +++ trunk/reactos/boot/freeldr/freeldr/disk/ramdisk.c [iso-8859-1] Sun May 1 08:01:05 2011 @@ -168,7 +168,7 @@ Percent = PercentPerChunk = 0; else Percent = PercentPerChunk = 100 / (gRamDiskSize / ChunkSize); - gRamDiskBase = MmAllocateMemory(gRamDiskSize); + gRamDiskBase = MmAllocateMemoryWithType(gRamDiskSize, LoaderXIPRom); if (!gRamDiskBase) { UiMessageBox("Failed to allocate memory for RAM disk\n");