diff --git a/xtldr/modules/xtos_o/amd64/memory.c b/xtldr/modules/xtos_o/amd64/memory.c index cfa9ded..23fecda 100644 --- a/xtldr/modules/xtos_o/amd64/memory.c +++ b/xtldr/modules/xtos_o/amd64/memory.c @@ -21,7 +21,7 @@ */ XTCDECL EFI_STATUS -XtMapHardwareMemoryPool(IN PXTBL_PAGE_MAPPING PageMap) +XtpMapHardwareMemoryPool(IN PXTBL_PAGE_MAPPING PageMap) { PHARDWARE_PTE PdeBase, PpeBase, PxeBase; EFI_PHYSICAL_ADDRESS Address; @@ -147,7 +147,7 @@ XtEnablePaging(IN PXTBL_PAGE_MAPPING PageMap) } /* Map memory for hardware layer */ - Status = XtMapHardwareMemoryPool(PageMap); + Status = XtpMapHardwareMemoryPool(PageMap); if(Status != STATUS_EFI_SUCCESS) { /* Failed to map memory for hardware layer */ diff --git a/xtldr/modules/xtos_o/i686/memory.c b/xtldr/modules/xtos_o/i686/memory.c index 52ea44b..a3d06d3 100644 --- a/xtldr/modules/xtos_o/i686/memory.c +++ b/xtldr/modules/xtos_o/i686/memory.c @@ -21,7 +21,7 @@ */ XTCDECL EFI_STATUS -XtMapHardwareMemoryPool(IN PXTBL_PAGE_MAPPING PageMap) +XtpMapHardwareMemoryPool(IN PXTBL_PAGE_MAPPING PageMap) { EFI_PHYSICAL_ADDRESS Address; PHARDWARE_PTE PdeBase; @@ -107,7 +107,7 @@ XtEnablePaging(IN PXTBL_PAGE_MAPPING PageMap) } /* Map memory for hardware layer */ - Status = XtMapHardwareMemoryPool(PageMap); + Status = XtpMapHardwareMemoryPool(PageMap); if(Status != STATUS_EFI_SUCCESS) { /* Failed to map memory for hardware layer */ diff --git a/xtldr/modules/xtos_o/includes/xtos.h b/xtldr/modules/xtos_o/includes/xtos.h index 91c72be..1dc8430 100644 --- a/xtldr/modules/xtos_o/includes/xtos.h +++ b/xtldr/modules/xtos_o/includes/xtos.h @@ -96,6 +96,10 @@ XtpLoadModule(IN PEFI_FILE_HANDLE BootDir, IN LOADER_MEMORY_TYPE MemoryType, OUT PPECOFF_IMAGE_CONTEXT *ImageContext); +XTCDECL +EFI_STATUS +XtpMapHardwareMemoryPool(IN PXTBL_PAGE_MAPPING PageMap); + XTCDECL EFI_STATUS BlXtLdrModuleMain(IN EFI_HANDLE ImageHandle,