Improve type safety of physical page boundaries initialization
All checks were successful
Builds / ExectOS (amd64, debug) (push) Successful in 32s
Builds / ExectOS (i686, debug) (push) Successful in 30s
Builds / ExectOS (amd64, release) (push) Successful in 37s
Builds / ExectOS (i686, release) (push) Successful in 36s

This commit is contained in:
2026-03-03 08:51:22 +01:00
parent 44f27fad28
commit 3e1f57f67c

View File

@@ -1146,9 +1146,9 @@ 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 */ /* Initialize the highest and lowest physical page numbers */
LowestPhysicalPage = ~0; HighestPhysicalPage = (ULONG_PTR)0;
HighestPhysicalPage = 0; LowestPhysicalPage = (ULONG_PTR)~0;
/* Initially, set number of free pages to 0 */ /* Initially, set number of free pages to 0 */
FreePages = 0; FreePages = 0;