Mark XtMapHardwareMemoryPool() routine private
All checks were successful
Builds / ExectOS (amd64) (push) Successful in 36s
Builds / ExectOS (i686) (push) Successful in 35s

This commit is contained in:
Rafal Kupiec 2024-06-02 17:34:30 +02:00
parent c1ab5fe98d
commit 29ff9e114e
Signed by: belliash
GPG Key ID: 4E829243E0CFE6B4
3 changed files with 8 additions and 4 deletions

View File

@ -21,7 +21,7 @@
*/ */
XTCDECL XTCDECL
EFI_STATUS EFI_STATUS
XtMapHardwareMemoryPool(IN PXTBL_PAGE_MAPPING PageMap) XtpMapHardwareMemoryPool(IN PXTBL_PAGE_MAPPING PageMap)
{ {
PHARDWARE_PTE PdeBase, PpeBase, PxeBase; PHARDWARE_PTE PdeBase, PpeBase, PxeBase;
EFI_PHYSICAL_ADDRESS Address; EFI_PHYSICAL_ADDRESS Address;
@ -147,7 +147,7 @@ XtEnablePaging(IN PXTBL_PAGE_MAPPING PageMap)
} }
/* Map memory for hardware layer */ /* Map memory for hardware layer */
Status = XtMapHardwareMemoryPool(PageMap); Status = XtpMapHardwareMemoryPool(PageMap);
if(Status != STATUS_EFI_SUCCESS) if(Status != STATUS_EFI_SUCCESS)
{ {
/* Failed to map memory for hardware layer */ /* Failed to map memory for hardware layer */

View File

@ -21,7 +21,7 @@
*/ */
XTCDECL XTCDECL
EFI_STATUS EFI_STATUS
XtMapHardwareMemoryPool(IN PXTBL_PAGE_MAPPING PageMap) XtpMapHardwareMemoryPool(IN PXTBL_PAGE_MAPPING PageMap)
{ {
EFI_PHYSICAL_ADDRESS Address; EFI_PHYSICAL_ADDRESS Address;
PHARDWARE_PTE PdeBase; PHARDWARE_PTE PdeBase;
@ -107,7 +107,7 @@ XtEnablePaging(IN PXTBL_PAGE_MAPPING PageMap)
} }
/* Map memory for hardware layer */ /* Map memory for hardware layer */
Status = XtMapHardwareMemoryPool(PageMap); Status = XtpMapHardwareMemoryPool(PageMap);
if(Status != STATUS_EFI_SUCCESS) if(Status != STATUS_EFI_SUCCESS)
{ {
/* Failed to map memory for hardware layer */ /* Failed to map memory for hardware layer */

View File

@ -96,6 +96,10 @@ XtpLoadModule(IN PEFI_FILE_HANDLE BootDir,
IN LOADER_MEMORY_TYPE MemoryType, IN LOADER_MEMORY_TYPE MemoryType,
OUT PPECOFF_IMAGE_CONTEXT *ImageContext); OUT PPECOFF_IMAGE_CONTEXT *ImageContext);
XTCDECL
EFI_STATUS
XtpMapHardwareMemoryPool(IN PXTBL_PAGE_MAPPING PageMap);
XTCDECL XTCDECL
EFI_STATUS EFI_STATUS
BlXtLdrModuleMain(IN EFI_HANDLE ImageHandle, BlXtLdrModuleMain(IN EFI_HANDLE ImageHandle,