* [PATCH] MdeModulePkg/DxeCore: add missing id-to-string mapping for AARCH64
@ 2017-03-27 11:19 Ard Biesheuvel
2017-03-29 8:38 ` Gao, Liming
0 siblings, 1 reply; 2+ messages in thread
From: Ard Biesheuvel @ 2017-03-27 11:19 UTC (permalink / raw)
To: edk2-devel, star.zeng, feng.tian; +Cc: Ard Biesheuvel
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] MdeModulePkg/DxeCore: add missing id-to-string mapping for AARCH64
2017-03-27 11:19 [PATCH] MdeModulePkg/DxeCore: add missing id-to-string mapping for AARCH64 Ard Biesheuvel
@ 2017-03-29 8:38 ` Gao, Liming
0 siblings, 0 replies; 2+ messages in thread
From: Gao, Liming @ 2017-03-29 8:38 UTC (permalink / raw)
To: Ard Biesheuvel, edk2-devel@lists.01.org, Zeng, Star, Tian, Feng
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-03-29 8:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-27 11:19 [PATCH] MdeModulePkg/DxeCore: add missing id-to-string mapping for AARCH64 Ard Biesheuvel
2017-03-29 8:38 ` Gao, Liming
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox