Implement initial memory manager infrastructure #24

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

View File

@@ -77,7 +77,6 @@ MM::Pte::GetSystemPteBaseAddress(VOID)
}
}
/**
* Performs the initial setup of the system's page table hierarchy.
*
@@ -193,7 +192,7 @@ MM::Pte::MapP5E(PVOID StartAddress,
*PointerP5e = *TemplateP5e;
/* Clear the page table */
RtlZeroMemory(MM::Paging::GetPteVirtualAddress(PointerP5e), MM_PAGE_SIZE);
RTL::Memory::ZeroMemory(MM::Paging::GetPteVirtualAddress(PointerP5e), MM_PAGE_SIZE);
}
/* Get next table entry */
@@ -240,7 +239,7 @@ MM::Pte::MapPPE(PVOID StartAddress,
*PointerPpe = *TemplatePpe;
/* Clear the page table */
RtlZeroMemory(MM::Paging::GetPteVirtualAddress(PointerPpe), MM_PAGE_SIZE);
RTL::Memory::ZeroMemory(MM::Paging::GetPteVirtualAddress(PointerPpe), MM_PAGE_SIZE);
}
/* Get next table entry */
@@ -287,7 +286,7 @@ MM::Pte::MapPXE(PVOID StartAddress,
*PointerPxe = *TemplatePxe;
/* Clear the page table */
RtlZeroMemory(MM::Paging::GetPteVirtualAddress(PointerPxe), MM_PAGE_SIZE);
RTL::Memory::ZeroMemory(MM::Paging::GetPteVirtualAddress(PointerPxe), MM_PAGE_SIZE);
}
/* Get next table entry */

View File

@@ -112,7 +112,7 @@ MM::Pte::InitializePageTable(VOID)
MM::Pte::MapPDE(MemoryLayout->SystemSpaceStart, (PVOID)MM_HIGHEST_SYSTEM_ADDRESS, &TemplatePte);
}
/*
/**
* Maps a range of virtual addresses at the PPE (Page Directory Pointer Entry) level.
*
* @param StartAddress