From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from walk.intel-email.com (walk.intel-email.com [101.227.64.242]) by mx.groups.io with SMTP id smtpd.web09.20547.1661910117115058939 for ; Tue, 30 Aug 2022 18:41:58 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@byosoft.com.cn header.s=cloud-union header.b=dUSpjDXD; spf=pass (domain: byosoft.com.cn, ip: 101.227.64.242, mailfrom: gaoliming@byosoft.com.cn) Received: from walk.intel-email.com (localhost [127.0.0.1]) by walk.intel-email.com (Postfix) with ESMTP id 9F489CD1F7A2 for ; Wed, 31 Aug 2022 09:41:54 +0800 (CST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=byosoft.com.cn; s=cloud-union; t=1661910114; bh=e3++uPZCgsAF+DdLmBQPmHSRjVbjrJNzB3R2LdGRens=; h=From:To:Cc:References:In-Reply-To:Subject:Date; b=dUSpjDXDPibIWx4Gam71m/F/v5zH7rhnV8Ed19Veea10XNOxitBEZMHMX+9Rm1jmR BXZF+gbC7drz+XBv5akJltlO73P2iGtgWkweaZ6t5SmewYrrCxKnQG2ODihbVq1teN HhPs2ZA44GoAwo34e1Kth/kIZd/krSHuaIRDyvyw= Received: from localhost (localhost [127.0.0.1]) by walk.intel-email.com (Postfix) with ESMTP id 9B0B4CD1F778 for ; Wed, 31 Aug 2022 09:41:54 +0800 (CST) X-Virus-Scanned: by SpamTitan at intel-email.com Received: from walk.intel-email.com (localhost [127.0.0.1]) by walk.intel-email.com (Postfix) with ESMTP id 664F2CD1F749 for ; Wed, 31 Aug 2022 09:41:54 +0800 (CST) Authentication-Results: walk.intel-email.com; none Received: from mail.byosoft.com.cn (mail.byosoft.com.cn [58.240.74.242]) by walk.intel-email.com (Postfix) with SMTP id F3498CD1F7AF for ; Wed, 31 Aug 2022 09:41:50 +0800 (CST) Received: from DESKTOPS6D0PVI ([58.246.60.130]) (envelope-sender ) by 192.168.6.13 with ESMTP for ; Wed, 31 Aug 2022 09:41:48 +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" To: , Cc: , References: <20220830101957.18517-1-aladyshev22@gmail.com> In-Reply-To: <20220830101957.18517-1-aladyshev22@gmail.com> Subject: =?UTF-8?B?5Zue5aSNOiBbZWRrMi1kZXZlbF0gW1BBVENIIHYyXSBCYXNlVG9vbHM6IFN1cHBvcnQgQ09NUEFUMTYgc2VjdGlvbiBnZW5lcmF0aW9u?= Date: Wed, 31 Aug 2022 09:41:49 +0800 Message-ID: <031f01d8bcda$d6d67160$84835420$@byosoft.com.cn> MIME-Version: 1.0 X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQJMeYaPKMLaULBk7nNdpBV5flctvKzgwkpw Sender: "gaoliming" Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: quoted-printable Content-Language: zh-cn Aladyshev:=20 The change is good. Reviewed-by: Liming Gao =20 Besides, how do you find this issue? Have you such test case or usage? Thanks Liming > -----=D3=CA=BC=FE=D4=AD=BC=FE----- > =B7=A2=BC=FE=C8=CB: devel@edk2.groups.io = =B4=FA=B1=ED Konstantin > Aladyshev > =B7=A2=CB=CD=CA=B1=BC=E4: 2022=C4=EA8=D4=C230=C8=D5 18:20 > =CA=D5=BC=FE=C8=CB: devel@edk2.groups.io > =B3=AD=CB=CD: bob.c.feng@intel.com; gaoliming@byosoft.com.cn; > yuwei.chen@intel.com; Konstantin Aladyshev > =D6=F7=CC=E2: [edk2-devel] [PATCH v2] BaseTools: Support COMPAT16 = section > generation >=20 > Currently COMPAT16 section type is not recognized and GenSec is called > without the "-s [SectionType]" argument. > Add COMPAT16 type to the SectionType dictionary to fix the issue. >=20 > Now this syntax works correctly: > ``` > FILE FREEFORM =3D { > SECTION COMPAT16 =3D > } > ``` >=20 > Signed-off-by: Konstantin Aladyshev > --- > BaseTools/Source/Python/GenFds/Section.py | 1 + > 1 file changed, 1 insertion(+) >=20 > diff --git a/BaseTools/Source/Python/GenFds/Section.py > b/BaseTools/Source/Python/GenFds/Section.py > index 447828c8e5..859db7230a 100644 > --- a/BaseTools/Source/Python/GenFds/Section.py > +++ b/BaseTools/Source/Python/GenFds/Section.py > @@ -28,6 +28,7 @@ class Section (SectionClassObject): > BINARY_FILE_TYPE_PIC : 'EFI_SECTION_PIC', >=20 > BINARY_FILE_TYPE_TE : 'EFI_SECTION_TE', >=20 > 'FV_IMAGE' : 'EFI_SECTION_FIRMWARE_VOLUME_IMAGE', >=20 > + 'COMPAT16' : 'EFI_SECTION_COMPATIBILITY16', >=20 > BINARY_FILE_TYPE_DXE_DEPEX : 'EFI_SECTION_DXE_DEPEX', >=20 > BINARY_FILE_TYPE_PEI_DEPEX : 'EFI_SECTION_PEI_DEPEX', >=20 > 'GUIDED' : 'EFI_SECTION_GUID_DEFINED', >=20 > -- > 2.25.1 >=20 >=20 >=20 > -=3D-=3D-=3D-=3D-=3D-=3D > Groups.io Links: You receive all messages sent to this group. > View/Reply Online (#92976): = https://edk2.groups.io/g/devel/message/92976 > Mute This Topic: https://groups.io/mt/93345713/4905953 > Group Owner: devel+owner@edk2.groups.io > Unsubscribe: https://edk2.groups.io/g/devel/unsub > [gaoliming@byosoft.com.cn] > -=3D-=3D-=3D-=3D-=3D-=3D >=20