- 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
This commit is contained in:
ReactOS Portable Systems Group 2009-07-26 19:44:27 +00:00
parent c8b2a78d5b
commit 6182f013fe

View file

@ -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