Correct physical memory range detection
This commit is contained in:
@@ -1146,6 +1146,10 @@ MM::Pfn::ScanMemoryDescriptors(VOID)
|
|||||||
PLOADER_MEMORY_DESCRIPTOR MemoryDescriptor;
|
PLOADER_MEMORY_DESCRIPTOR MemoryDescriptor;
|
||||||
PFN_NUMBER FreePages;
|
PFN_NUMBER FreePages;
|
||||||
|
|
||||||
|
/* Initialize the lowest and highest physical page numbers */
|
||||||
|
LowestPhysicalPage = ~0;
|
||||||
|
HighestPhysicalPage = 0;
|
||||||
|
|
||||||
/* Initially, set number of free pages to 0 */
|
/* Initially, set number of free pages to 0 */
|
||||||
FreePages = 0;
|
FreePages = 0;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user