Implement initial memory manager infrastructure #24

Open
harraiken wants to merge 169 commits from memmgr into master
2 changed files with 2 additions and 2 deletions
Showing only changes of commit 54e75c9345 - Show all commits

View File

@@ -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;

View File

@@ -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())