public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [edk2 1/1] Dxe: add RISCV64 to mMachineTypeInfo
@ 2023-02-18  4:36 Andrei Warkentin
  2023-02-20 12:27 ` [edk2-devel] " Sunil V L
  0 siblings, 1 reply; 2+ messages in thread
From: Andrei Warkentin @ 2023-02-18  4:36 UTC (permalink / raw)
  To: devel; +Cc: Andrei Warkentin, Sunil V L, Daniel Schaefer, Liming Gao,
	Jian J Wang

This fixes messages like:
"Image type AARCH64 can't be loaded on <Unknown> UEFI system"

Cc: Sunil V L <sunilvl@ventanamicro.com>
Cc: Daniel Schaefer <git@danielschaefer.me>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Jian J Wang <jian.j.wang@intel.com>
Signed-off-by: Andrei Warkentin <andrei.warkentin@intel.com>
---
 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 06cc6744b8c6..8704ebea9a7c 100644
--- a/MdeModulePkg/Core/Dxe/Image/Image.c
+++ b/MdeModulePkg/Core/Dxe/Image/Image.c
@@ -81,7 +81,8 @@ GLOBAL_REMOVE_IF_UNREFERENCED MACHINE_TYPE_INFO  mMachineTypeInfo[] = {
   { EFI_IMAGE_MACHINE_IA64,           L"IA64"    },
   { EFI_IMAGE_MACHINE_X64,            L"X64"     },
   { EFI_IMAGE_MACHINE_ARMTHUMB_MIXED, L"ARM"     },
-  { EFI_IMAGE_MACHINE_AARCH64,        L"AARCH64" }
+  { EFI_IMAGE_MACHINE_AARCH64,        L"AARCH64" },
+  { EFI_IMAGE_MACHINE_RISCV64,        L"RISCV64" },
 };
 
 UINT16  mDxeCoreImageMachineType = 0;
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [edk2-devel] [edk2 1/1] Dxe: add RISCV64 to mMachineTypeInfo
  2023-02-18  4:36 [edk2 1/1] Dxe: add RISCV64 to mMachineTypeInfo Andrei Warkentin
@ 2023-02-20 12:27 ` Sunil V L
  0 siblings, 0 replies; 2+ messages in thread
From: Sunil V L @ 2023-02-20 12:27 UTC (permalink / raw)
  To: devel, andrei.warkentin; +Cc: Daniel Schaefer, Liming Gao, Jian J Wang

Please update the subject.

Otherwise,
Reviewed-by: Sunil V L <sunilvl@ventanamicro.com>

Thanks!
Sunil
On Fri, Feb 17, 2023 at 10:36:26PM -0600, Andrei Warkentin wrote:
> This fixes messages like:
> "Image type AARCH64 can't be loaded on <Unknown> UEFI system"
> 
> Cc: Sunil V L <sunilvl@ventanamicro.com>
> Cc: Daniel Schaefer <git@danielschaefer.me>
> Cc: Liming Gao <gaoliming@byosoft.com.cn>
> Cc: Jian J Wang <jian.j.wang@intel.com>
> Signed-off-by: Andrei Warkentin <andrei.warkentin@intel.com>
> ---
>  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 06cc6744b8c6..8704ebea9a7c 100644
> --- a/MdeModulePkg/Core/Dxe/Image/Image.c
> +++ b/MdeModulePkg/Core/Dxe/Image/Image.c
> @@ -81,7 +81,8 @@ GLOBAL_REMOVE_IF_UNREFERENCED MACHINE_TYPE_INFO  mMachineTypeInfo[] = {
>    { EFI_IMAGE_MACHINE_IA64,           L"IA64"    },
>    { EFI_IMAGE_MACHINE_X64,            L"X64"     },
>    { EFI_IMAGE_MACHINE_ARMTHUMB_MIXED, L"ARM"     },
> -  { EFI_IMAGE_MACHINE_AARCH64,        L"AARCH64" }
> +  { EFI_IMAGE_MACHINE_AARCH64,        L"AARCH64" },
> +  { EFI_IMAGE_MACHINE_RISCV64,        L"RISCV64" },
>  };
>  
>  UINT16  mDxeCoreImageMachineType = 0;
> -- 
> 2.25.1
> 
> 
> 
> 
> 
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-02-20 12:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-18  4:36 [edk2 1/1] Dxe: add RISCV64 to mMachineTypeInfo Andrei Warkentin
2023-02-20 12:27 ` [edk2-devel] " Sunil V L

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox