diff --git a/xtoskrnl/mm/amd64/pte.cc b/xtoskrnl/mm/amd64/pte.cc index 8d86882..71fba17 100644 --- a/xtoskrnl/mm/amd64/pte.cc +++ b/xtoskrnl/mm/amd64/pte.cc @@ -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 */ diff --git a/xtoskrnl/mm/i686/pte.cc b/xtoskrnl/mm/i686/pte.cc index 3ca5b1f..60bc935 100644 --- a/xtoskrnl/mm/i686/pte.cc +++ b/xtoskrnl/mm/i686/pte.cc @@ -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