[edk2] [PATCH] MdeModulePkg/DxeCore: add missing id-to-string mapping for AARCH64

Ard Biesheuvel posted 1 patch 7 years ago
Failed in applying to current master (apply log)
MdeModulePkg/Core/Dxe/Image/Image.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
[edk2] [PATCH] MdeModulePkg/DxeCore: add missing id-to-string mapping for AARCH64
Posted by Ard Biesheuvel 7 years ago
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>
---
 MdeModulePkg/Core/Dxe/Image/Image.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/MdeModulePkg/Core/Dxe/Image/Image.c b/MdeModulePkg/Core/Dxe/Image/Image.c
index b22b0fc786fc..91d70d5b6053 100644
--- a/MdeModulePkg/Core/Dxe/Image/Image.c
+++ b/MdeModulePkg/Core/Dxe/Image/Image.c
@@ -90,7 +90,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;
-- 
2.9.3

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
Re: [edk2] [PATCH] MdeModulePkg/DxeCore: add missing id-to-string mapping for AARCH64
Posted by Gao, Liming 7 years ago
Reviewed-by: Liming Gao <liming.gao@intel.com>

>-----Original Message-----
>From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of Ard
>Biesheuvel
>Sent: Monday, March 27, 2017 7:20 PM
>To: edk2-devel@lists.01.org; Zeng, Star <star.zeng@intel.com>; Tian, Feng
><feng.tian@intel.com>
>Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
>Subject: [edk2] [PATCH] 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>
>---
> MdeModulePkg/Core/Dxe/Image/Image.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
>diff --git a/MdeModulePkg/Core/Dxe/Image/Image.c
>b/MdeModulePkg/Core/Dxe/Image/Image.c
>index b22b0fc786fc..91d70d5b6053 100644
>--- a/MdeModulePkg/Core/Dxe/Image/Image.c
>+++ b/MdeModulePkg/Core/Dxe/Image/Image.c
>@@ -90,7 +90,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;
>--
>2.9.3
>
>_______________________________________________
>edk2-devel mailing list
>edk2-devel@lists.01.org
>https://lists.01.org/mailman/listinfo/edk2-devel
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel