summaryrefslogtreecommitdiffstats
path: root/MdeModulePkg
diff options
context:
space:
mode:
authorArd Biesheuvel <ard.biesheuvel@linaro.org>2017-03-27 12:19:53 +0100
committerArd Biesheuvel <ard.biesheuvel@linaro.org>2017-03-29 11:53:35 +0100
commit9bca00be25c7cb5af5c11fcb1bd4f53f8380b2f3 (patch)
treebe0254298aff7741a48b8414d4bba3f88159fc1f /MdeModulePkg
parenta5f26fefca2edb7f3b2772966b79351b7edbcc3f (diff)
downloadedk2-9bca00be25c7cb5af5c11fcb1bd4f53f8380b2f3.tar.gz
edk2-9bca00be25c7cb5af5c11fcb1bd4f53f8380b2f3.tar.bz2
edk2-9bca00be25c7cb5af5c11fcb1bd4f53f8380b2f3.zip
MdeModulePkg/DxeCore: add missing id-to-string mapping for AARCH64
Add a mapping for EFI_IMAGE_MACHINE_AARCH64 to mMachineTypeInfo[] Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Reviewed-by: Liming Gao <liming.gao@intel.com>
Diffstat (limited to 'MdeModulePkg')
-rw-r--r--MdeModulePkg/Core/Dxe/Image/Image.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/MdeModulePkg/Core/Dxe/Image/Image.c b/MdeModulePkg/Core/Dxe/Image/Image.c
index 80128e729b..93720c85cb 100644
--- a/MdeModulePkg/Core/Dxe/Image/Image.c
+++ b/MdeModulePkg/Core/Dxe/Image/Image.c
@@ -89,7 +89,8 @@ GLOBAL_REMOVE_IF_UNREFERENCED MACHINE_TYPE_INFO mMachineTypeInfo[] = {
{EFI_IMAGE_MACHINE_IA32, L"IA32"},
{EFI_IMAGE_MACHINE_IA64, L"IA64"},
{EFI_IMAGE_MACHINE_X64, L"X64"},
- {EFI_IMAGE_MACHINE_ARMTHUMB_MIXED, L"ARM"}
+ {EFI_IMAGE_MACHINE_ARMTHUMB_MIXED, L"ARM"},
+ {EFI_IMAGE_MACHINE_AARCH64, L"AARCH64"}
};
UINT16 mDxeCoreImageMachineType = 0;