Properly, recursively self map page tables; currently only for AMD64 and PML4

This commit is contained in:
2024-04-05 00:26:41 +02:00
parent d7b103f85d
commit 1305672875
6 changed files with 60 additions and 7 deletions

View File

@@ -21,7 +21,8 @@
*/
XTCDECL
EFI_STATUS
BlBuildPageMap(IN PXTBL_PAGE_MAPPING PageMap)
BlBuildPageMap(IN PXTBL_PAGE_MAPPING PageMap,
IN ULONG_PTR SelfMapAddress)
{
PLIST_ENTRY ListEntry, ModulesList, ModulesListEntry;
EFI_PHYSICAL_ADDRESS Address, DirectoryAddress;