diff --git a/xtoskrnl/mm/amd64/mmgr.cc b/xtoskrnl/mm/amd64/mmgr.cc index ff6551a..a128cb6 100644 --- a/xtoskrnl/mm/amd64/mmgr.cc +++ b/xtoskrnl/mm/amd64/mmgr.cc @@ -29,7 +29,7 @@ MM::Manager::InitializeMemoryLayout(VOID) PagedPoolSize = PteCount * PtesPerPage * MM_PAGE_SIZE; /* Retrieve the PFN database size */ - MM::Pfn::GetPfnDatabaseSize(&MemoryLayout.PfnDatabaseSize); + MM::Pfn::ComputePfnDatabaseSize(&MemoryLayout.PfnDatabaseSize); /* Define the number of system PTEs */ NumberOfSystemPtes = MM_DEFAULT_NUMBER_SYSTEM_PTES; diff --git a/xtoskrnl/mm/i686/mmgr.cc b/xtoskrnl/mm/i686/mmgr.cc index cc0032a..6a060c9 100644 --- a/xtoskrnl/mm/i686/mmgr.cc +++ b/xtoskrnl/mm/i686/mmgr.cc @@ -48,7 +48,7 @@ MM::Manager::InitializeMemoryLayout(VOID) PagedPoolSize = PteCount * PtesPerPage * MM_PAGE_SIZE; /* Retrieve the PFN database size */ - MM::Pfn::GetPfnDatabaseSize(&MemoryLayout.PfnDatabaseSize); + MM::Pfn::ComputePfnDatabaseSize(&MemoryLayout.PfnDatabaseSize); /* Check if 3-level paging (PAE) is enabled */ if(MM::Paging::GetXpaStatus())