From 0ab90add0f525eb9c91ce4bc2357298c4f357d09 Mon Sep 17 00:00:00 2001 From: Jiewen Yao Date: Mon, 16 May 2016 08:53:37 +0800 Subject: MdeModulePkg-DxeCore: rename CoreGetMemoryMapPropertiesTable This patches rename CoreGetMemoryMapPropertiesTable to CoreGetMemoryMapWithSeparatedImageSection. The reason is that CoreGetMemoryMapPropertiesTable is called by MemoryAttributesTable.c to get separated PE image section information. It is confusing to use *PropertiesTable, because it is NOT related to PropertiesTable.c We rename it to avoid confusing. Cc: Michael D Kinney Cc: Liming Gao Cc: Feng Tian Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jiewen Yao Reviewed-by: Liming Gao --- MdeModulePkg/Core/Dxe/Misc/PropertiesTable.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'MdeModulePkg/Core/Dxe/Misc/PropertiesTable.c') diff --git a/MdeModulePkg/Core/Dxe/Misc/PropertiesTable.c b/MdeModulePkg/Core/Dxe/Misc/PropertiesTable.c index 32497c1c0c..7ecad89c22 100644 --- a/MdeModulePkg/Core/Dxe/Misc/PropertiesTable.c +++ b/MdeModulePkg/Core/Dxe/Misc/PropertiesTable.c @@ -758,7 +758,7 @@ SplitTable ( **/ EFI_STATUS EFIAPI -CoreGetMemoryMapPropertiesTable ( +CoreGetMemoryMapWithSeparatedImageSection ( IN OUT UINTN *MemoryMapSize, IN OUT EFI_MEMORY_DESCRIPTOR *MemoryMap, OUT UINTN *MapKey, @@ -1364,7 +1364,7 @@ InstallPropertiesTable ( return ; } - gBS->GetMemoryMap = CoreGetMemoryMapPropertiesTable; + gBS->GetMemoryMap = CoreGetMemoryMapWithSeparatedImageSection; gBS->Hdr.CRC32 = 0; gBS->CalculateCrc32 ((UINT8 *)gBS, gBS->Hdr.HeaderSize, &gBS->Hdr.CRC32); -- cgit v1.2.3