diff --git a/xtoskrnl/mm/amd64/mmgr.cc b/xtoskrnl/mm/amd64/mmgr.cc index 72adf3a..8219f1b 100644 --- a/xtoskrnl/mm/amd64/mmgr.cc +++ b/xtoskrnl/mm/amd64/mmgr.cc @@ -387,7 +387,4 @@ MM::Manager::InitializeMemoryLayout(VOID) /* Update paged pool end address */ MemoryLayout.PagedPoolEnd = (PVOID)(((ULONGLONG)MemoryLayout.PagedPoolStart + MemoryLayout.PagedPoolSize * MM_PAGE_SIZE) - 1); - - /* Dump memory layout */ - DumpMemoryLayout(); } diff --git a/xtoskrnl/mm/i686/mmgr.cc b/xtoskrnl/mm/i686/mmgr.cc index 179e303..1a65d53 100644 --- a/xtoskrnl/mm/i686/mmgr.cc +++ b/xtoskrnl/mm/i686/mmgr.cc @@ -442,7 +442,4 @@ MM::Manager::InitializeMemoryLayout(VOID) /* Compute non-paged expansion pool size */ MemoryLayout.NonPagedExpansionPoolSize = ((ULONG_PTR)MemoryLayout.NonPagedExpansionPoolEnd - (ULONG_PTR)MemoryLayout.NonPagedExpansionPoolStart) / MM_PAGE_SIZE; - - /* Dump memory layout */ - DumpMemoryLayout(); } diff --git a/xtoskrnl/mm/mmgr.cc b/xtoskrnl/mm/mmgr.cc index 4860069..fc8e633 100644 --- a/xtoskrnl/mm/mmgr.cc +++ b/xtoskrnl/mm/mmgr.cc @@ -112,8 +112,9 @@ MM::Manager::InitializeMemoryManager(VOID) /* Compute page colors to reduce CPU cache conflicts */ MM::Colors::ComputePageColoring(); - /* Initialize memory layout */ + /* Initialize and dump memory layout */ InitializeMemoryLayout(); + DumpMemoryLayout(); /* Initialize PTE template */ MM::Pte::InitializeSystemPte();