From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by mx.groups.io with SMTP id smtpd.web10.1898.1678137984252750213 for ; Mon, 06 Mar 2023 13:26:29 -0800 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=ekBmKO3F; spf=pass (domain: intel.com, ip: 192.55.52.136, mailfrom: andrei.warkentin@intel.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1678137989; x=1709673989; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=bzBO2gffBq5im+al7/7xss/TrV8K32Jv7UXM1V8umlM=; b=ekBmKO3FhR2nzg3zl4iD1lXFCaa3GbC7ybHIujF/JdYk6Y4xOPlo/OtJ 00Oxh8jgz9oLIpRZDm8tZJpvetCU+vPrbnzwKXZm4eJGyUc6ixJ/bA5Pv xc7FgRgpq9v3ed4ZU1T8jxyMENZL8xPltInOGjogwe2U9fclUDLx3/0Mk P3vNQxNZQ0dvl6cfWqPhLNIKfgRG+oPDO9wiyKtwfEipNkxYhg2Veuyij UPyGsQ1slXLyE0U5K1LMSLJppdv5AVjEj/rDqCctNgHLUDKIWtJ7/ml8v 6aTlXavRC6N7EzHWm+R0VutGegMhrMyvX1YOJOxaZFTbkcoJxKK5YZDgO Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10641"; a="315335585" X-IronPort-AV: E=Sophos;i="5.98,238,1673942400"; d="scan'208";a="315335585" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Mar 2023 13:26:29 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10641"; a="819444270" X-IronPort-AV: E=Sophos;i="5.98,238,1673942400"; d="scan'208";a="819444270" Received: from awarkent-mobl1.amr.corp.intel.com ([10.212.90.17]) by fmsmga001-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Mar 2023 13:26:28 -0800 From: "Andrei Warkentin" To: devel@edk2.groups.io Cc: Andrei Warkentin , Daniel Schaefer , Liming Gao , Jian J Wang , Sunil V L Subject: [edk2 5/7] MdeModulePkg: Dxe: add RISCV64 to mMachineTypeInfo Date: Mon, 6 Mar 2023 15:26:13 -0600 Message-Id: <20230306212615.7400-6-andrei.warkentin@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230306212615.7400-1-andrei.warkentin@intel.com> References: <20230306212615.7400-1-andrei.warkentin@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit This fixes messages like: "Image type AARCH64 can't be loaded on UEFI system" Cc: Daniel Schaefer Cc: Liming Gao Cc: Jian J Wang Reviewed-by: Sunil V L Signed-off-by: Andrei Warkentin --- 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