Mark XtMapHardwareMemoryPool() routine private
This commit is contained in:
parent
c1ab5fe98d
commit
29ff9e114e
@ -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 */
|
||||||
|
@ -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 */
|
||||||
|
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user