Implement initial memory manager infrastructure #24

Open
harraiken wants to merge 198 commits from memmgr into master
Showing only changes of commit ae8ac1eacb - Show all commits

View File

@@ -99,6 +99,9 @@ MM::Pfn::InitializePageDirectory(IN PMMPDE StartingPde,
/* Allocate a new PTE page and map PDE to it */ /* Allocate a new PTE page and map PDE to it */
MM::Paging::SetPte(ValidPte, AllocateBootstrapPages(1), 0); MM::Paging::SetPte(ValidPte, AllocateBootstrapPages(1), 0);
*StartingPde = *ValidPte; *StartingPde = *ValidPte;
/* Clear the newly created page */
RTL::Memory::ZeroMemory(MM::Paging::GetPteVirtualAddress(StartingPde), MM_PAGE_SIZE);
} }
/* Move to the next PDE */ /* Move to the next PDE */