Author: fireball
Date: Tue Jul 28 12:00:58 2009
New Revision: 42263
URL:
http://svn.reactos.org/svn/reactos?rev=42263&view=rev
Log:
- Fix a regression introduced in 40710, which caused all machine-specific memory regions
to be concatenated into one big LoaderSpecialMemory. Restore previous behaviour by
properly matching Arc and bootloader memory types.
Modified:
trunk/reactos/boot/freeldr/freeldr/mm/meminit.c
Modified: trunk/reactos/boot/freeldr/freeldr/mm/meminit.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/mm/me…
==============================================================================
--- trunk/reactos/boot/freeldr/freeldr/mm/meminit.c [iso-8859-1] (original)
+++ trunk/reactos/boot/freeldr/freeldr/mm/meminit.c [iso-8859-1] Tue Jul 28 12:00:58 2009
@@ -277,6 +277,38 @@
MemoryMapPageAllocated = LoaderFree;
break;
}
+ case MemoryFirmwarePermanent:
+ {
+ //
+ // Firmware permanent memory
+ //
+ MemoryMapPageAllocated = LoaderFirmwarePermanent;
+ break;
+ }
+ case MemoryFirmwareTemporary:
+ {
+ //
+ // Firmware temporary memory
+ //
+ MemoryMapPageAllocated = LoaderFirmwareTemporary;
+ break;
+ }
+ case MemoryLoadedProgram:
+ {
+ //
+ // Bootloader code
+ //
+ MemoryMapPageAllocated = LoaderLoadedProgram;
+ break;
+ }
+ case MemorySpecialMemory:
+ {
+ //
+ // Special reserved memory
+ //
+ MemoryMapPageAllocated = LoaderSpecialMemory;
+ break;
+ }
default:
{
//