From 6182f013fe13ca650470cb9c2922037dff65ad50 Mon Sep 17 00:00:00 2001 From: ReactOS Portable Systems Group Date: Sun, 26 Jul 2009 19:44:27 +0000 Subject: [PATCH] - Initialize MmLowestPhysicalPage to -1, otherwise setting this value will never work properly since we'll never find a page lower than 0 (the default laoder-initialized value). - Fixed by Stef. svn path=/trunk/; revision=42237 --- reactos/ntoskrnl/mm/ARM3/i386/init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/ntoskrnl/mm/ARM3/i386/init.c b/reactos/ntoskrnl/mm/ARM3/i386/init.c index abf4aafe7a3..e053754ff7a 100644 --- a/reactos/ntoskrnl/mm/ARM3/i386/init.c +++ b/reactos/ntoskrnl/mm/ARM3/i386/init.c @@ -203,7 +203,7 @@ MEMORY_ALLOCATION_DESCRIPTOR MxOldFreeDescriptor; // // This is where we keep track of the most basic physical layout markers // -ULONG MmNumberOfPhysicalPages, MmHighestPhysicalPage, MmLowestPhysicalPage; +ULONG MmNumberOfPhysicalPages, MmHighestPhysicalPage, MmLowestPhysicalPage = -1; // // The total number of pages mapped by the boot loader, which include the kernel