Correct physical memory range detection

This commit is contained in:
2026-03-25 15:03:33 +01:00
committed by CodingWorkshop Signing Team
parent 71684314c7
commit 14276179a7
+4
View File
@@ -1146,6 +1146,10 @@ MM::Pfn::ScanMemoryDescriptors(VOID)
PLOADER_MEMORY_DESCRIPTOR MemoryDescriptor;
PFN_NUMBER FreePages;
/* Initialize the lowest and highest physical page numbers */
LowestPhysicalPage = ~0;
HighestPhysicalPage = 0;
/* Initially, set number of free pages to 0 */
FreePages = 0;