From 1a062ca05fe453f744b39cc8ab19ae9c0642d7a2 Mon Sep 17 00:00:00 2001 From: Aiken Harris Date: Fri, 12 Jun 2026 13:21:22 +0200 Subject: [PATCH] Trigger low memory allocation before PFN database initialization --- xtoskrnl/mm/mmgr.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/xtoskrnl/mm/mmgr.cc b/xtoskrnl/mm/mmgr.cc index 44a2219..1c28f1d 100644 --- a/xtoskrnl/mm/mmgr.cc +++ b/xtoskrnl/mm/mmgr.cc @@ -232,6 +232,9 @@ XTAPI VOID MM::Manager::InitializeMemoryManager(VOID) { + /* Allocate low memory from the hardware pool before initializing the memory manager */ + MM::HardwarePool::AllocateLowMemory(NULLPTR, NULLPTR); + /* Scan memory descriptors provided by the boot loader */ MM::Pfn::ScanMemoryDescriptors();