MdeModulePkg: Dxe: add RISCV64 to mMachineTypeInfo

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

Cc: Daniel Schaefer <git@danielschaefer.me>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Jian J Wang <jian.j.wang@intel.com>
Reviewed-by: Sunil V L <sunilvl@ventanamicro.com>
Signed-off-by: Andrei Warkentin <andrei.warkentin@intel.com>
This commit is contained in:
Andrei Warkentin 2023-02-17 18:57:22 -06:00 committed by mergify[bot]
parent 6ceaef4804
commit db0a3087a5
1 changed files with 2 additions and 1 deletions

View File

@ -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;