From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id DEE1CAC11A1 for ; Wed, 31 Jan 2024 09:56:17 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=MP+0Hs3J63MoP43J64OkiTLsq5TnCUecDj4loVNikS4=; c=relaxed/simple; d=groups.io; h=From:To:Cc:References:In-Reply-To:Subject:Date:Message-ID:MIME-Version:Thread-Index:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Type:Content-Transfer-Encoding:Content-Language; s=20140610; t=1706694976; v=1; b=Z9VERDZUuCEZSdLbhTN92wpAGAqedEy8jCk6ZKGFR1gbHU6kxBxy8JR29ES2FOnyvscZ0sGG Ey/sXumdX5Rg4ZnhY9JCyZmoXNj70Yn6g+1s8ydFLqQRN7cF7itIBfzZNbAaPz3/4tuznmo9Bbj JlcJr/pKOrfLwxJfVk26dBx0= X-Received: by 127.0.0.2 with SMTP id 92rQYY7687511xQ8GDRFVTQb; Wed, 31 Jan 2024 01:56:16 -0800 X-Received: from cxsh.intel-email.com (cxsh.intel-email.com [121.46.250.151]) by mx.groups.io with SMTP id smtpd.web10.10665.1706694973707575590 for ; Wed, 31 Jan 2024 01:56:15 -0800 X-Received: from cxsh.intel-email.com (localhost [127.0.0.1]) by cxsh.intel-email.com (Postfix) with ESMTP id EDF42DDA7DE for ; Wed, 31 Jan 2024 17:56:09 +0800 (CST) X-Received: from localhost (localhost [127.0.0.1]) by cxsh.intel-email.com (Postfix) with ESMTP id D0CBFDDA7D0 for ; Wed, 31 Jan 2024 17:56:09 +0800 (CST) X-Received: from mail.byosoft.com.cn (mail.byosoft.com.cn [58.240.74.242]) by cxsh.intel-email.com (Postfix) with SMTP id 2E6CDDDA7D3 for ; Wed, 31 Jan 2024 17:56:06 +0800 (CST) X-Received: from DESKTOPS6D0PVI ([58.246.60.130]) (envelope-sender ) by 192.168.6.13 with ESMTP(SSL) for ; Wed, 31 Jan 2024 17:56:02 +0800 X-WM-Sender: gaoliming@byosoft.com.cn X-Originating-IP: 58.246.60.130 X-WM-AuthFlag: YES X-WM-AuthUser: gaoliming@byosoft.com.cn From: "gaoliming via groups.io" To: , Cc: "'Chao Li'" References: <20240116071133.38331-1-qiandongyan@loongson.cn> In-Reply-To: <20240116071133.38331-1-qiandongyan@loongson.cn> Subject: =?UTF-8?B?5Zue5aSNOiBbZWRrMi1kZXZlbF0gW1BBVENIIDEvMl0gTWRlTW9kdWxlUGtnOiBEeGU6IGFkZCBMT09OR0FSQ0g2NCB0byBtTWFjaGluZVR5cGVJbmZv?= Date: Wed, 31 Jan 2024 17:56:05 +0800 Message-ID: <028301da542b$b4b35730$1e1a0590$@byosoft.com.cn> MIME-Version: 1.0 Thread-Index: AQLls0N7kOIQnSkX7e4Gs/qzwVbosq7c8FAw Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,gaoliming@byosoft.com.cn List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: oQkwnSRYzVzuWUNruYcHRJpOx7686176AA= Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: quoted-printable Content-Language: zh-cn X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=Z9VERDZU; dmarc=none; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io This change is good. Reviewed-by: Liming Gao Thanks Liming > -----=D3=CA=BC=FE=D4=AD=BC=FE----- > =B7=A2=BC=FE=C8=CB: devel@edk2.groups.io =B4=FA=B1= =ED Dongyan > Qian > =B7=A2=CB=CD=CA=B1=BC=E4: 2024=C4=EA1=D4=C216=C8=D5 15:12 > =CA=D5=BC=FE=C8=CB: devel@edk2.groups.io > =B3=AD=CB=CD: Liming Gao ; Chao Li > > =D6=F7=CC=E2: [edk2-devel] [PATCH 1/2] MdeModulePkg: Dxe: add LOONGARCH64= to > mMachineTypeInfo >=20 > This fixes messages like: > "Image type X64 can't be loaded on UEFI system" >=20 > Cc: Liming Gao > Cc: Chao Li > Signed-off-by: Dongyan Qian > --- > MdeModulePkg/Core/Dxe/Image/Image.c | 13 +++++++------ > 1 file changed, 7 insertions(+), 6 deletions(-) >=20 > diff --git a/MdeModulePkg/Core/Dxe/Image/Image.c > b/MdeModulePkg/Core/Dxe/Image/Image.c > index 6bc3a549ae..66d9840b7b 100644 > --- a/MdeModulePkg/Core/Dxe/Image/Image.c > +++ b/MdeModulePkg/Core/Dxe/Image/Image.c > @@ -77,12 +77,13 @@ typedef struct { > } MACHINE_TYPE_INFO; >=20 > GLOBAL_REMOVE_IF_UNREFERENCED MACHINE_TYPE_INFO > mMachineTypeInfo[] =3D { > - { 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_AARCH64, L"AARCH64" }, > - { EFI_IMAGE_MACHINE_RISCV64, L"RISCV64" }, > + { 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_AARCH64, L"AARCH64" }, > + { EFI_IMAGE_MACHINE_RISCV64, L"RISCV64" }, > + { EFI_IMAGE_MACHINE_LOONGARCH64, L"LOONGARCH64" }, > }; >=20 > UINT16 mDxeCoreImageMachineType =3D 0; > -- > 2.27.0 >=20 >=20 >=20 >=20 >=20 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#114869): https://edk2.groups.io/g/devel/message/114869 Mute This Topic: https://groups.io/mt/104072139/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-