From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from loongson.cn (loongson.cn [114.242.206.163]) by mx.groups.io with SMTP id smtpd.web10.7216.1663226769190361602 for ; Thu, 15 Sep 2022 00:26:28 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: loongson.cn, ip: 114.242.206.163, mailfrom: lichao@loongson.cn) Received: from lichao-PC (unknown [10.40.24.149]) by localhost.localdomain (Coremail) with SMTP id AQAAf8Cx9OGG0yJjzOQZAA--.33653S2; Thu, 15 Sep 2022 15:25:58 +0800 (CST) Date: Thu, 15 Sep 2022 15:25:58 +0800 From: "Chao Li" To: =?utf-8?Q?=22gaoliming=22?= Cc: "=?utf-8?Q?devel=40edk2.groups.io?=" , =?utf-8?Q?=22'Bob_Feng'=22?= , =?utf-8?Q?=22'Yuwei_Chen'=22?= , =?utf-8?Q?=22'Baoqi_Zhang'=22?= Message-ID: <701496C0-C8BE-44EF-AB43-585E238FAC30@getmailspring.com> In-Reply-To: <003b01d8c8cc$a0dc10d0$e2943270$@byosoft.com.cn> References: <003b01d8c8cc$a0dc10d0$e2943270$@byosoft.com.cn> Subject: =?UTF-8?B?UmU6IOWbnuWkjTogUEFUQ0ggdjIgMTcvMzRdIEJhc2VUb29sczogQmFzZVRvb2xzIGNoYW5nZXMgZm9yIExvb25nQXJjaCBwbGF0Zm9ybS4=?= X-Mailer: Mailspring MIME-Version: 1.0 X-CM-TRANSID: AQAAf8Cx9OGG0yJjzOQZAA--.33653S2 X-Coremail-Antispam: 1UD129KBjvAXoWfCFWrAw4UCF15JrW5GFyrtFb_yoW8trW3Jo ZrGr40qFyjgr4UGFWxCa45tFWDur18WaySqFyakr1rCFs3twn8Xw4rt34UGrW8Xr9Fy3WD JF98CF1Dt3W7XF1Un29KB7ZKAUJUUUUU529EdanIXcx71UUUUU7v73VFW2AGmfu7bjvjm3 AaLaJ3UjIYCTnIWjp_UUUY_7k0a2IF6w4kM7kC6x804xWl14x267AKxVWUJVW8JwAFc2x0 x2IEx4CE42xK8VAvwI8IcIk0rVWrJVCq3wAFIxvE14AKwVWUJVWUGwA2ocxC64kIII0Yj4 1l84x0c7CEw4AK67xGY2AK021l84ACjcxK6xIIjxv20xvE14v26F1j6w1UM28EF7xvwVC0 I7IYx2IY6xkF7I0E14v26r4UJVWxJr1l84ACjcxK6I8E87Iv67AKxVWxJr0_GcWl84ACjc xK6I8E87Iv6xkF7I0E14v26rxl6s0DM2AIxVAIcxkEcVAq07x20xvEncxIr21l5I8CrVAY j202j2C_Jr0_Gr1l5I8CrVACY4xI64kE6c02F40Ex7xfMc02F40Ew4AK048IF2xKxVW8JV W5JwAv7VC0I7IYx2IY67AKxVWUtVWrXwAv7VC2z280aVAFwI0_Gr0_Cr1lOx8S6xCaFVCj c4AY6r1j6r4UM4x0Y48IcxkI7VAKI48JMx8GjcxK6IxK0xIIj40E5I8CrwCY02Avz4vE-s yl42xK82IYc2Ij64vIr41l4I8I3I0E4IkC6x0Yz7v_Jr0_Gr1lx2IqxVAqx4xG67AKxVWU GVWUWwC20s026x8GjcxK67AKxVWUGVWUWwC2zVAF1VAY17CE14v26r126r1DMIIYrxkI7V AKI48JMIIF0xvE2Ix0cI8IcVAFwI0_JFI_Gr1lIxAIcVC0I7IYx2IY6xkF7I0E14v26r4j 6F4UMIIF0xvE42xK8VAvwI8IcIk0rVWUJVWUCwCI42IY6I8E87Iv67AKxVWUJVW8JwCI42 IY6I8E87Iv6xkF7I0E14v26r4j6r4UJbIYCTnIWIevJa73UjIFyTuYvjxUyv38DUUUU X-CM-SenderInfo: xolfxt3r6o00pqjv00gofq/1tbiAQAKCGMhxFwRQQADsK Content-Type: multipart/alternative; boundary="6322d386_4b9993d5_10c77" --6322d386_4b9993d5_10c77 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Liming, Ok, I will change the commit title in the V3. Thanks, Chao -------- On 9=E6=9C=88 15 2022, at 2:30 =E4=B8=8B=E5=8D=88, =22gaoliming=22 wrote: > Chao: > This change is to update BaseTools build tool to support new LoongArch.= > Please update commit message title. > > The code change is good to me. Reviewed-by: Liming Gao > > > Thanks > Liming > > -----=E9=82=AE=E4=BB=B6=E5=8E=9F=E4=BB=B6----- > > =E5=8F=91=E4=BB=B6=E4=BA=BA: Chao Li > > =E5=8F=91=E9=80=81=E6=97=B6=E9=97=B4: 2022=E5=B9=B49=E6=9C=8814=E6=97= =A5 17:41 > > =E6=94=B6=E4=BB=B6=E4=BA=BA: devel=40edk2.groups.io > > =E6=8A=84=E9=80=81: Bob =46eng ; Liming Gao > > ; Yuwei Chen ; Ba= oqi > > Zhang > > =E4=B8=BB=E9=A2=98: =5BPATCH v2 17/34=5D BaseTools: BaseTools changes= for LoongArch > > platform. > > > > RE=46: https://bugzilla.tianocore.org/show=5Fbug.cgi=3Fid=3D4053 > > > > Python code changes for building EDK2 LoongArch platform. > > > > Cc: Bob =46eng > > Cc: Liming Gao > > Cc: Yuwei Chen > > > > Signed-off-by: Chao Li > > Co-authored-by: Baoqi Zhang > > --- > > BaseTools/Source/Python/Common/DataType.py =7C 21 > > ++++++++++++++-- > > .../Source/Python/UPT/Library/DataType.py =7C 24 > > ++++++++++++++++++- > > BaseTools/Source/Python/build/buildoptions.py =7C 3 ++- > > 3 files changed, 44 insertions(+), 4 deletions(-) > > > > diff --git a/BaseTools/Source/Python/Common/DataType.py > > b/BaseTools/Source/Python/Common/DataType.py > > index dc49623333..48dbf16495 100644 > > --- a/BaseTools/Source/Python/Common/DataType.py > > +++ b/BaseTools/Source/Python/Common/DataType.py > > =40=40 -4,6 +4,7 =40=40 > > =23 Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved= .
> > > > =23 Portions copyright (c) 2011 - 2013, ARM Ltd. All rights reserved.=
> > > > =23 Portions Copyright (c) 2020, Hewlett Packard Enterprise Developme= nt LP. > > All rights reserved.
> > > > +=23 Portions Copyright (c) 2022, Loongson Technology Corporation Lim= ited. > All > > rights reserved.
> > > > =23 SPDX-License-Identifier: BSD-2-Clause-Patent > > > > > > > > =23=23 > > > > =40=40 -52,10 +53,10 =40=40 TAB=5FARCH=5FX64 =3D 'X64' > > TAB=5FARCH=5FARM =3D 'ARM' > > > > TAB=5FARCH=5FEBC =3D 'EBC' > > > > TAB=5FARCH=5FAARCH64 =3D 'AARCH64' > > > > - > > > > TAB=5FARCH=5FRISCV64 =3D 'RISCV64' > > > > +TAB=5FARCH=5FLOONGARCH64 =3D 'LOONGARCH64' > > > > > > > > -ARCH=5FSET=5F=46ULL =3D =7BTAB=5FARCH=5FIA32, TAB=5FARCH=5FX64, TAB=5F= ARCH=5FARM, > > TAB=5FARCH=5FEBC, TAB=5FARCH=5FAARCH64, TAB=5FARCH=5FRISCV64, > > TAB=5FARCH=5FCOMMON=7D > > > > +ARCH=5FSET=5F=46ULL =3D =7BTAB=5FARCH=5FIA32, TAB=5FARCH=5FX64, TAB=5F= ARCH=5FARM, > > TAB=5FARCH=5FEBC, TAB=5FARCH=5FAARCH64, TAB=5FARCH=5FRISCV64, > > TAB=5FARCH=5FLOONGARCH64, TAB=5FARCH=5FCOMMON=7D > > > > > > > > SUP=5FMODULE=5FBASE =3D 'BASE' > > > > SUP=5FMODULE=5FSEC =3D 'SEC' > > > > =40=40 -138,6 +139,7 =40=40 TAB=5FSOURCES=5FX64 =3D TAB=5FSOURCES + T= AB=5FSPLIT + > > TAB=5FARCH=5FX64 > > TAB=5FSOURCES=5FARM =3D TAB=5FSOURCES + TAB=5FSPLIT + TAB=5FARCH=5FAR= M > > > > TAB=5FSOURCES=5FEBC =3D TAB=5FSOURCES + TAB=5FSPLIT + TAB=5FARCH=5FEB= C > > > > TAB=5FSOURCES=5FAARCH64 =3D TAB=5FSOURCES + TAB=5FSPLIT + > > TAB=5FARCH=5FAARCH64 > > > > +TAB=5FSOURCES=5FLOONGARCH64 =3D TAB=5FSOURCES + TAB=5FSPLIT + > > TAB=5FARCH=5FLOONGARCH64 > > > > > > > > TAB=5FBINARIES =3D 'Binaries' > > > > TAB=5FBINARIES=5FCOMMON =3D TAB=5FBINARIES + TAB=5FSPLIT + > > TAB=5FARCH=5FCOMMON > > > > =40=40 -146,6 +148,7 =40=40 TAB=5FBINARIES=5FX64 =3D TAB=5FBINARIES += TAB=5FSPLIT + > > TAB=5FARCH=5FX64 > > TAB=5FBINARIES=5FARM =3D TAB=5FBINARIES + TAB=5FSPLIT + TAB=5FARCH=5F= ARM > > > > TAB=5FBINARIES=5FEBC =3D TAB=5FBINARIES + TAB=5FSPLIT + TAB=5FARCH=5F= EBC > > > > TAB=5FBINARIES=5FAARCH64 =3D TAB=5FBINARIES + TAB=5FSPLIT + > > TAB=5FARCH=5FAARCH64 > > > > +TAB=5FBINARIES=5FLOONGARCH64 =3D TAB=5FBINARIES + TAB=5FSPLIT + > > TAB=5FARCH=5FLOONGARCH64 > > > > > > > > TAB=5FINCLUDES =3D 'Includes' > > > > TAB=5FINCLUDES=5FCOMMON =3D TAB=5FINCLUDES + TAB=5FSPLIT + > > TAB=5FARCH=5FCOMMON > > > > =40=40 -154,6 +157,7 =40=40 TAB=5FINCLUDES=5FX64 =3D TAB=5FINCLUDES += TAB=5FSPLIT + > > TAB=5FARCH=5FX64 > > TAB=5FINCLUDES=5FARM =3D TAB=5FINCLUDES + TAB=5FSPLIT + TAB=5FARCH=5F= ARM > > > > TAB=5FINCLUDES=5FEBC =3D TAB=5FINCLUDES + TAB=5FSPLIT + TAB=5FARCH=5F= EBC > > > > TAB=5FINCLUDES=5FAARCH64 =3D TAB=5FINCLUDES + TAB=5FSPLIT + > > TAB=5FARCH=5FAARCH64 > > > > +TAB=5FINCLUDES=5FLOONGARCH64 =3D TAB=5FINCLUDES + TAB=5FSPLIT + > > TAB=5FARCH=5FLOONGARCH64 > > > > > > > > TAB=5FGUIDS =3D 'Guids' > > > > TAB=5FGUIDS=5FCOMMON =3D TAB=5FGUIDS + TAB=5FSPLIT + TAB=5FARCH=5FCOM= MON > > > > =40=40 -162,6 +166,7 =40=40 TAB=5FGUIDS=5FX64 =3D TAB=5FGUIDS + TAB=5F= SPLIT + > > TAB=5FARCH=5FX64 > > TAB=5FGUIDS=5FARM =3D TAB=5FGUIDS + TAB=5FSPLIT + TAB=5FARCH=5FARM > > > > TAB=5FGUIDS=5FEBC =3D TAB=5FGUIDS + TAB=5FSPLIT + TAB=5FARCH=5FEBC > > > > TAB=5FGUIDS=5FAARCH64 =3D TAB=5FGUIDS + TAB=5FSPLIT + TAB=5FARCH=5FAA= RCH64 > > > > +TAB=5FGUIDS=5FLOONGARCH64 =3D TAB=5FGUIDS + TAB=5FSPLIT + > > TAB=5FARCH=5FLOONGARCH64 > > > > > > > > TAB=5FPROTOCOLS =3D 'Protocols' > > > > TAB=5FPROTOCOLS=5FCOMMON =3D TAB=5FPROTOCOLS + TAB=5FSPLIT + > > TAB=5FARCH=5FCOMMON > > > > =40=40 -170,6 +175,7 =40=40 TAB=5FPROTOCOLS=5FX64 =3D TAB=5FPROTOCOLS= + > > TAB=5FSPLIT + TAB=5FARCH=5FX64 > > TAB=5FPROTOCOLS=5FARM =3D TAB=5FPROTOCOLS + TAB=5FSPLIT + TAB=5FARCH=5F= ARM > > > > TAB=5FPROTOCOLS=5FEBC =3D TAB=5FPROTOCOLS + TAB=5FSPLIT + TAB=5FARCH=5F= EBC > > > > TAB=5FPROTOCOLS=5FAARCH64 =3D TAB=5FPROTOCOLS + TAB=5FSPLIT + > > TAB=5FARCH=5FAARCH64 > > > > +TAB=5FPROTOCOLS=5FLOONGARCH64 =3D TAB=5FPROTOCOLS + TAB=5FSPLIT + > > TAB=5FARCH=5FLOONGARCH64 > > > > > > > > TAB=5FPPIS =3D 'Ppis' > > > > TAB=5FPPIS=5FCOMMON =3D TAB=5FPPIS + TAB=5FSPLIT + TAB=5FARCH=5FCOMMO= N > > > > =40=40 -178,6 +184,7 =40=40 TAB=5FPPIS=5FX64 =3D TAB=5FPPIS + TAB=5FS= PLIT + > > TAB=5FARCH=5FX64 > > TAB=5FPPIS=5FARM =3D TAB=5FPPIS + TAB=5FSPLIT + TAB=5FARCH=5FARM > > > > TAB=5FPPIS=5FEBC =3D TAB=5FPPIS + TAB=5FSPLIT + TAB=5FARCH=5FEBC > > > > TAB=5FPPIS=5FAARCH64 =3D TAB=5FPPIS + TAB=5FSPLIT + TAB=5FARCH=5FAARC= H64 > > > > +TAB=5FPPIS=5FLOONGARCH64 =3D TAB=5FPPIS + TAB=5FSPLIT + > > TAB=5FARCH=5FLOONGARCH64 > > > > > > > > TAB=5FLIBRARY=5FCLASSES =3D 'LibraryClasses' > > > > TAB=5FLIBRARY=5FCLASSES=5FCOMMON =3D TAB=5FLIBRARY=5FCLASSES + TAB=5F= SPLIT + > > TAB=5FARCH=5FCOMMON > > > > =40=40 -186,6 +193,7 =40=40 TAB=5FLIBRARY=5FCLASSES=5FX64 =3D > > TAB=5FLIBRARY=5FCLASSES + TAB=5FSPLIT + TAB=5FARCH=5FX64 > > TAB=5FLIBRARY=5FCLASSES=5FARM =3D TAB=5FLIBRARY=5FCLASSES + TAB=5FSPL= IT + > > TAB=5FARCH=5FARM > > > > TAB=5FLIBRARY=5FCLASSES=5FEBC =3D TAB=5FLIBRARY=5FCLASSES + TAB=5FSPL= IT + > > TAB=5FARCH=5FEBC > > > > TAB=5FLIBRARY=5FCLASSES=5FAARCH64 =3D TAB=5FLIBRARY=5FCLASSES + TAB=5F= SPLIT + > > TAB=5FARCH=5FAARCH64 > > > > +TAB=5FLIBRARY=5FCLASSES=5FLOONGARCH64 =3D TAB=5FLIBRARY=5FCLASSES + > > TAB=5FSPLIT + TAB=5FARCH=5FLOONGARCH64 > > > > > > > > TAB=5FPACKAGES =3D 'Packages' > > > > TAB=5FPACKAGES=5FCOMMON =3D TAB=5FPACKAGES + TAB=5FSPLIT + > > TAB=5FARCH=5FCOMMON > > > > =40=40 -194,6 +202,7 =40=40 TAB=5FPACKAGES=5FX64 =3D TAB=5FPACKAGES += TAB=5FSPLIT + > > TAB=5FARCH=5FX64 > > TAB=5FPACKAGES=5FARM =3D TAB=5FPACKAGES + TAB=5FSPLIT + TAB=5FARCH=5F= ARM > > > > TAB=5FPACKAGES=5FEBC =3D TAB=5FPACKAGES + TAB=5FSPLIT + TAB=5FARCH=5F= EBC > > > > TAB=5FPACKAGES=5FAARCH64 =3D TAB=5FPACKAGES + TAB=5FSPLIT + > > TAB=5FARCH=5FAARCH64 > > > > +TAB=5FPACKAGES=5FLOONGARCH64 =3D TAB=5FPACKAGES + TAB=5FSPLIT + > > TAB=5FARCH=5FLOONGARCH64 > > > > > > > > TAB=5FPCDS =3D 'Pcds' > > > > TAB=5FPCDS=5F=46IXED=5FAT=5FBUILD =3D '=46ixedAtBuild' > > > > =40=40 -221,6 +230,7 =40=40 TAB=5FPCDS=5F=46IXED=5FAT=5FBUILD=5FX64 =3D= TAB=5FPCDS + > > TAB=5FPCDS=5F=46IXED=5FAT=5FBUILD + TAB=5FSPLIT + T > > TAB=5FPCDS=5F=46IXED=5FAT=5FBUILD=5FARM =3D TAB=5FPCDS + > > TAB=5FPCDS=5F=46IXED=5FAT=5FBUILD + TAB=5FSPLIT + TAB=5FARCH=5FARM > > > > TAB=5FPCDS=5F=46IXED=5FAT=5FBUILD=5FEBC =3D TAB=5FPCDS + > > TAB=5FPCDS=5F=46IXED=5FAT=5FBUILD + TAB=5FSPLIT + TAB=5FARCH=5FEBC > > > > TAB=5FPCDS=5F=46IXED=5FAT=5FBUILD=5FAARCH64 =3D TAB=5FPCDS + > > TAB=5FPCDS=5F=46IXED=5FAT=5FBUILD + TAB=5FSPLIT + TAB=5FARCH=5FAARCH6= 4 > > > > +TAB=5FPCDS=5F=46IXED=5FAT=5FBUILD=5FLOONGARCH64 =3D TAB=5FPCDS + > > TAB=5FPCDS=5F=46IXED=5FAT=5FBUILD + TAB=5FSPLIT + TAB=5FARCH=5FLOONGA= RCH64 > > > > > > > > TAB=5FPCDS=5FPATCHABLE=5FIN=5FMODULE=5FNULL =3D TAB=5FPCDS + > > TAB=5FPCDS=5FPATCHABLE=5FIN=5FMODULE > > > > TAB=5FPCDS=5FPATCHABLE=5FIN=5FMODULE=5FCOMMON =3D TAB=5FPCDS + > > TAB=5FPCDS=5FPATCHABLE=5FIN=5FMODULE + TAB=5FSPLIT + TAB=5FARCH=5FCOM= MON > > > > =40=40 -229,6 +239,7 =40=40 TAB=5FPCDS=5FPATCHABLE=5FIN=5FMODULE=5FX6= 4 =3D > > TAB=5FPCDS + TAB=5FPCDS=5FPATCHABLE=5FIN=5FMODULE + TAB > > TAB=5FPCDS=5FPATCHABLE=5FIN=5FMODULE=5FARM =3D TAB=5FPCDS + > > TAB=5FPCDS=5FPATCHABLE=5FIN=5FMODULE + TAB=5FSPLIT + TAB=5FARCH=5FARM= > > > > TAB=5FPCDS=5FPATCHABLE=5FIN=5FMODULE=5FEBC =3D TAB=5FPCDS + > > TAB=5FPCDS=5FPATCHABLE=5FIN=5FMODULE + TAB=5FSPLIT + TAB=5FARCH=5FEBC= > > > > TAB=5FPCDS=5FPATCHABLE=5FIN=5FMODULE=5FAARCH64 =3D TAB=5FPCDS + > > TAB=5FPCDS=5FPATCHABLE=5FIN=5FMODULE + TAB=5FSPLIT + TAB=5FARCH=5FAAR= CH64 > > > > +TAB=5FPCDS=5FPATCHABLE=5FIN=5FMODULE=5FLOONGARCH64 =3D TAB=5FPCDS + > > TAB=5FPCDS=5FPATCHABLE=5FIN=5FMODULE + TAB=5FSPLIT + > > TAB=5FARCH=5FLOONGARCH64 > > > > > > > > TAB=5FPCDS=5F=46EATURE=5F=46LAG=5FNULL =3D TAB=5FPCDS + TAB=5FPCDS=5F= =46EATURE=5F=46LAG > > > > TAB=5FPCDS=5F=46EATURE=5F=46LAG=5FCOMMON =3D TAB=5FPCDS + > > TAB=5FPCDS=5F=46EATURE=5F=46LAG + TAB=5FSPLIT + TAB=5FARCH=5FCOMMON > > > > =40=40 -237,6 +248,7 =40=40 TAB=5FPCDS=5F=46EATURE=5F=46LAG=5FX64 =3D= TAB=5FPCDS + > > TAB=5FPCDS=5F=46EATURE=5F=46LAG + TAB=5FSPLIT + TAB=5FA > > TAB=5FPCDS=5F=46EATURE=5F=46LAG=5FARM =3D TAB=5FPCDS + TAB=5FPCDS=5F=46= EATURE=5F=46LAG > > + TAB=5FSPLIT + TAB=5FARCH=5FARM > > > > TAB=5FPCDS=5F=46EATURE=5F=46LAG=5FEBC =3D TAB=5FPCDS + TAB=5FPCDS=5F=46= EATURE=5F=46LAG + > > TAB=5FSPLIT + TAB=5FARCH=5FEBC > > > > TAB=5FPCDS=5F=46EATURE=5F=46LAG=5FAARCH64 =3D TAB=5FPCDS + > > TAB=5FPCDS=5F=46EATURE=5F=46LAG + TAB=5FSPLIT + TAB=5FARCH=5FAARCH64 > > > > +TAB=5FPCDS=5F=46EATURE=5F=46LAG=5FLOONGARCH64 =3D TAB=5FPCDS + > > TAB=5FPCDS=5F=46EATURE=5F=46LAG + TAB=5FSPLIT + TAB=5FARCH=5FLOONGARC= H64 > > > > > > > > TAB=5FPCDS=5FDYNAMIC=5FEX=5FNULL =3D TAB=5FPCDS + TAB=5FPCDS=5FDYNAMI= C=5FEX > > > > TAB=5FPCDS=5FDYNAMIC=5FEX=5FDE=46AULT=5FNULL =3D TAB=5FPCDS + > > TAB=5FPCDS=5FDYNAMIC=5FEX=5FDE=46AULT > > > > =40=40 -248,6 +260,7 =40=40 TAB=5FPCDS=5FDYNAMIC=5FEX=5FX64 =3D TAB=5F= PCDS + > > TAB=5FPCDS=5FDYNAMIC=5FEX + TAB=5FSPLIT + TAB=5FARCH=5F > > TAB=5FPCDS=5FDYNAMIC=5FEX=5FARM =3D TAB=5FPCDS + TAB=5FPCDS=5FDYNAMIC= =5FEX + > > TAB=5FSPLIT + TAB=5FARCH=5FARM > > > > TAB=5FPCDS=5FDYNAMIC=5FEX=5FEBC =3D TAB=5FPCDS + TAB=5FPCDS=5FDYNAMIC= =5FEX + > > TAB=5FSPLIT + TAB=5FARCH=5FEBC > > > > TAB=5FPCDS=5FDYNAMIC=5FEX=5FAARCH64 =3D TAB=5FPCDS + TAB=5FPCDS=5FDYN= AMIC=5FEX > > + TAB=5FSPLIT + TAB=5FARCH=5FAARCH64 > > > > +TAB=5FPCDS=5FDYNAMIC=5FEX=5FLOONGARCH64 =3D TAB=5FPCDS + > > TAB=5FPCDS=5FDYNAMIC=5FEX + TAB=5FSPLIT + TAB=5FARCH=5FLOONGARCH64 > > > > > > > > TAB=5FPCDS=5FDYNAMIC=5FNULL =3D TAB=5FPCDS + TAB=5FPCDS=5FDYNAMIC > > > > TAB=5FPCDS=5FDYNAMIC=5FDE=46AULT=5FNULL =3D TAB=5FPCDS + > > TAB=5FPCDS=5FDYNAMIC=5FDE=46AULT > > > > =40=40 -259,6 +272,7 =40=40 TAB=5FPCDS=5FDYNAMIC=5FX64 =3D TAB=5FPCDS= + > > TAB=5FPCDS=5FDYNAMIC + TAB=5FSPLIT + TAB=5FARCH=5FX64 > > TAB=5FPCDS=5FDYNAMIC=5FARM =3D TAB=5FPCDS + TAB=5FPCDS=5FDYNAMIC + > > TAB=5FSPLIT + TAB=5FARCH=5FARM > > > > TAB=5FPCDS=5FDYNAMIC=5FEBC =3D TAB=5FPCDS + TAB=5FPCDS=5FDYNAMIC + TA= B=5FSPLIT > > + TAB=5FARCH=5FEBC > > > > TAB=5FPCDS=5FDYNAMIC=5FAARCH64 =3D TAB=5FPCDS + TAB=5FPCDS=5FDYNAMIC = + > > TAB=5FSPLIT + TAB=5FARCH=5FAARCH64 > > > > +TAB=5FPCDS=5FDYNAMIC=5FLOONGARCH64 =3D TAB=5FPCDS + TAB=5FPCDS=5FDYN= AMIC > > + TAB=5FSPLIT + TAB=5FARCH=5FLOONGARCH64 > > > > > > > > TAB=5FPCDS=5FPATCHABLE=5FLOAD=5F=46IX=5FADDRESS=5FPEI=5FPAGE=5FSIZE =3D= > > 'PcdLoad=46ixAddressPeiCodePageNumber' > > > > TAB=5FPCDS=5FPATCHABLE=5FLOAD=5F=46IX=5FADDRESS=5FPEI=5FPAGE=5FSIZE=5F= DATA=5FTYPE =3D > > 'UINT32' > > > > =40=40 -285,6 +299,7 =40=40 TAB=5FDEPEX=5FX64 =3D TAB=5FDEPEX + TAB=5F= SPLIT + > > TAB=5FARCH=5FX64 > > TAB=5FDEPEX=5FARM =3D TAB=5FDEPEX + TAB=5FSPLIT + TAB=5FARCH=5FARM > > > > TAB=5FDEPEX=5FEBC =3D TAB=5FDEPEX + TAB=5FSPLIT + TAB=5FARCH=5FEBC > > > > TAB=5FDEPEX=5FAARCH64 =3D TAB=5FDEPEX + TAB=5FSPLIT + TAB=5FARCH=5FAA= RCH64 > > > > +TAB=5FDEPEX=5FLOONGARCH64 =3D TAB=5FDEPEX + TAB=5FSPLIT + > > TAB=5FARCH=5FLOONGARCH64 > > > > > > > > TAB=5FSKUIDS =3D 'SkuIds' > > > > TAB=5FDE=46AULT=5FSTORES =3D 'DefaultStores' > > > > =40=40 -297,6 +312,7 =40=40 TAB=5FLIBRARIES=5FX64 =3D TAB=5FLIBRARIES= + TAB=5FSPLIT + > > TAB=5FARCH=5FX64 > > TAB=5FLIBRARIES=5FARM =3D TAB=5FLIBRARIES + TAB=5FSPLIT + TAB=5FARCH=5F= ARM > > > > TAB=5FLIBRARIES=5FEBC =3D TAB=5FLIBRARIES + TAB=5FSPLIT + TAB=5FARCH=5F= EBC > > > > TAB=5FLIBRARIES=5FAARCH64 =3D TAB=5FLIBRARIES + TAB=5FSPLIT + > > TAB=5FARCH=5FAARCH64 > > > > +TAB=5FLIBRARIES=5FLOONGARCH64 =3D TAB=5FLIBRARIES + TAB=5FSPLIT + > > TAB=5FARCH=5FLOONGARCH64 > > > > > > > > TAB=5FCOMPONENTS =3D 'Components' > > > > TAB=5FCOMPONENTS=5FCOMMON =3D TAB=5FCOMPONENTS + TAB=5FSPLIT + > > TAB=5FARCH=5FCOMMON > > > > =40=40 -305,6 +321,7 =40=40 TAB=5FCOMPONENTS=5FX64 =3D TAB=5FCOMPONEN= TS + > > TAB=5FSPLIT + TAB=5FARCH=5FX64 > > TAB=5FCOMPONENTS=5FARM =3D TAB=5FCOMPONENTS + TAB=5FSPLIT + > > TAB=5FARCH=5FARM > > > > TAB=5FCOMPONENTS=5FEBC =3D TAB=5FCOMPONENTS + TAB=5FSPLIT + > > TAB=5FARCH=5FEBC > > > > TAB=5FCOMPONENTS=5FAARCH64 =3D TAB=5FCOMPONENTS + TAB=5FSPLIT + > > TAB=5FARCH=5FAARCH64 > > > > +TAB=5FCOMPONENTS=5FLOONGARCH64 =3D TAB=5FCOMPONENTS + TAB=5FSPLIT + > > TAB=5FARCH=5FLOONGARCH64 > > > > > > > > TAB=5FBUILD=5FOPTIONS =3D 'BuildOptions' > > > > > > > > diff --git a/BaseTools/Source/Python/UPT/Library/DataType.py > > b/BaseTools/Source/Python/UPT/Library/DataType.py > > index 2033149aa6..0e47f35670 100644 > > --- a/BaseTools/Source/Python/UPT/Library/DataType.py > > +++ b/BaseTools/Source/Python/UPT/Library/DataType.py > > =40=40 -2,6 +2,7 =40=40 > > =23 This file is used to define class for data type structure > > > > =23 > > > > =23 Copyright (c) 2011 - 2018, Intel Corporation. All rights reserved= .
> > > > +=23 Portions Copyright (c) 2022, Loongson Technology Corporation Lim= ited. > All > > rights reserved. > > > > =23 > > > > =23 SPDX-License-Identifier: BSD-2-Clause-Patent > > > > > > > > =40=40 -367,10 +368,11 =40=40 TAB=5FARCH=5FIA32 =3D 'IA32' > > TAB=5FARCH=5FX64 =3D 'X64' > > > > TAB=5FARCH=5FIP=46 =3D 'IP=46' > > > > TAB=5FARCH=5FARM =3D 'ARM' > > > > +TAB=5FARCH=5FLOONGARCH64 =3D 'LOONGARCH64' > > > > TAB=5FARCH=5FEBC =3D 'EBC' > > > > > > > > ARCH=5FLIST =3D =5C > > > > -=5BTAB=5FARCH=5FIA32, TAB=5FARCH=5FX64, TAB=5FARCH=5FIP=46, TAB=5FAR= CH=5FARM, > > TAB=5FARCH=5FEBC=5D > > > > +=5BTAB=5FARCH=5FIA32, TAB=5FARCH=5FX64, TAB=5FARCH=5FIP=46, TAB=5FAR= CH=5FARM, > > TAB=5FARCH=5FLOONGARCH64, TAB=5FARCH=5FEBC=5D > > > > > > > > SUP=5FMODULE=5FBASE =3D 'BASE' > > > > SUP=5FMODULE=5FSEC =3D 'SEC' > > > > =40=40 -454,6 +456,7 =40=40 TAB=5FSOURCES=5FIA32 =3D TAB=5FSOURCES + = TAB=5FSPLIT + > > TAB=5FARCH=5FIA32 > > TAB=5FSOURCES=5FX64 =3D TAB=5FSOURCES + TAB=5FSPLIT + TAB=5FARCH=5FX6= 4 > > > > TAB=5FSOURCES=5FIP=46 =3D TAB=5FSOURCES + TAB=5FSPLIT + TAB=5FARCH=5F= IP=46 > > > > TAB=5FSOURCES=5FARM =3D TAB=5FSOURCES + TAB=5FSPLIT + TAB=5FARCH=5FAR= M > > > > +TAB=5FSOURCES=5FLOONGARCH64 =3D TAB=5FSOURCES + TAB=5FSPLIT + > > TAB=5FARCH=5FLOONGARCH64 > > > > TAB=5FSOURCES=5FEBC =3D TAB=5FSOURCES + TAB=5FSPLIT + TAB=5FARCH=5FEB= C > > > > > > > > TAB=5FBINARIES =3D 'Binaries' > > > > =40=40 -462,6 +465,7 =40=40 TAB=5FBINARIES=5FIA32 =3D TAB=5FBINARIES = + TAB=5FSPLIT + > > TAB=5FARCH=5FIA32 > > TAB=5FBINARIES=5FX64 =3D TAB=5FBINARIES + TAB=5FSPLIT + TAB=5FARCH=5F= X64 > > > > TAB=5FBINARIES=5FIP=46 =3D TAB=5FBINARIES + TAB=5FSPLIT + TAB=5FARCH=5F= IP=46 > > > > TAB=5FBINARIES=5FARM =3D TAB=5FBINARIES + TAB=5FSPLIT + TAB=5FARCH=5F= ARM > > > > +TAB=5FBINARIES=5FLOONGARCH64 =3D TAB=5FBINARIES + TAB=5FSPLIT + > > TAB=5FARCH=5FLOONGARCH64 > > > > TAB=5FBINARIES=5FEBC =3D TAB=5FBINARIES + TAB=5FSPLIT + TAB=5FARCH=5F= EBC > > > > > > > > TAB=5FINCLUDES =3D 'Includes' > > > > =40=40 -470,6 +474,7 =40=40 TAB=5FINCLUDES=5FIA32 =3D TAB=5FINCLUDES = + TAB=5FSPLIT + > > TAB=5FARCH=5FIA32 > > TAB=5FINCLUDES=5FX64 =3D TAB=5FINCLUDES + TAB=5FSPLIT + TAB=5FARCH=5F= X64 > > > > TAB=5FINCLUDES=5FIP=46 =3D TAB=5FINCLUDES + TAB=5FSPLIT + TAB=5FARCH=5F= IP=46 > > > > TAB=5FINCLUDES=5FARM =3D TAB=5FINCLUDES + TAB=5FSPLIT + TAB=5FARCH=5F= ARM > > > > +TAB=5FINCLUDES=5FLOONGARCH64 =3D TAB=5FINCLUDES + TAB=5FSPLIT + > > TAB=5FARCH=5FLOONGARCH64 > > > > TAB=5FINCLUDES=5FEBC =3D TAB=5FINCLUDES + TAB=5FSPLIT + TAB=5FARCH=5F= EBC > > > > > > > > TAB=5FGUIDS =3D 'Guids' > > > > =40=40 -478,6 +483,7 =40=40 TAB=5FGUIDS=5FIA32 =3D TAB=5FGUIDS + TAB=5F= SPLIT + > > TAB=5FARCH=5FIA32 > > TAB=5FGUIDS=5FX64 =3D TAB=5FGUIDS + TAB=5FSPLIT + TAB=5FARCH=5FX64 > > > > TAB=5FGUIDS=5FIP=46 =3D TAB=5FGUIDS + TAB=5FSPLIT + TAB=5FARCH=5FIP=46= > > > > TAB=5FGUIDS=5FARM =3D TAB=5FGUIDS + TAB=5FSPLIT + TAB=5FARCH=5FARM > > > > +TAB=5FGUIDS=5FLOONGARCH64 =3D TAB=5FGUIDS + TAB=5FSPLIT + > > TAB=5FARCH=5FLOONGARCH64 > > > > TAB=5FGUIDS=5FEBC =3D TAB=5FGUIDS + TAB=5FSPLIT + TAB=5FARCH=5FEBC > > > > > > > > TAB=5FPROTOCOLS =3D 'Protocols' > > > > =40=40 -486,6 +492,7 =40=40 TAB=5FPROTOCOLS=5FIA32 =3D TAB=5FPROTOCOL= S + > > TAB=5FSPLIT + TAB=5FARCH=5FIA32 > > TAB=5FPROTOCOLS=5FX64 =3D TAB=5FPROTOCOLS + TAB=5FSPLIT + TAB=5FARCH=5F= X64 > > > > TAB=5FPROTOCOLS=5FIP=46 =3D TAB=5FPROTOCOLS + TAB=5FSPLIT + TAB=5FARC= H=5FIP=46 > > > > TAB=5FPROTOCOLS=5FARM =3D TAB=5FPROTOCOLS + TAB=5FSPLIT + TAB=5FARCH=5F= ARM > > > > +TAB=5FPROTOCOLS=5FLOONGARCH64 =3D TAB=5FPROTOCOLS + TAB=5FSPLIT + > > TAB=5FARCH=5FLOONGARCH64 > > > > TAB=5FPROTOCOLS=5FEBC =3D TAB=5FPROTOCOLS + TAB=5FSPLIT + TAB=5FARCH=5F= EBC > > > > > > > > TAB=5FPPIS =3D 'Ppis' > > > > =40=40 -494,6 +501,7 =40=40 TAB=5FPPIS=5FIA32 =3D TAB=5FPPIS + TAB=5F= SPLIT + > > TAB=5FARCH=5FIA32 > > TAB=5FPPIS=5FX64 =3D TAB=5FPPIS + TAB=5FSPLIT + TAB=5FARCH=5FX64 > > > > TAB=5FPPIS=5FIP=46 =3D TAB=5FPPIS + TAB=5FSPLIT + TAB=5FARCH=5FIP=46 > > > > TAB=5FPPIS=5FARM =3D TAB=5FPPIS + TAB=5FSPLIT + TAB=5FARCH=5FARM > > > > +TAB=5FPPIS=5FLOONGARCH64 =3D TAB=5FPPIS + TAB=5FSPLIT + > > TAB=5FARCH=5FLOONGARCH64 > > > > TAB=5FPPIS=5FEBC =3D TAB=5FPPIS + TAB=5FSPLIT + TAB=5FARCH=5FEBC > > > > > > > > TAB=5FLIBRARY=5FCLASSES =3D 'LibraryClasses' > > > > =40=40 -502,6 +510,7 =40=40 TAB=5FLIBRARY=5FCLASSES=5FIA32 =3D > > TAB=5FLIBRARY=5FCLASSES + TAB=5FSPLIT + TAB=5FARCH=5FIA32 > > TAB=5FLIBRARY=5FCLASSES=5FX64 =3D TAB=5FLIBRARY=5FCLASSES + TAB=5FSPL= IT + > > TAB=5FARCH=5FX64 > > > > TAB=5FLIBRARY=5FCLASSES=5FIP=46 =3D TAB=5FLIBRARY=5FCLASSES + TAB=5FS= PLIT + > > TAB=5FARCH=5FIP=46 > > > > TAB=5FLIBRARY=5FCLASSES=5FARM =3D TAB=5FLIBRARY=5FCLASSES + TAB=5FSPL= IT + > > TAB=5FARCH=5FARM > > > > +TAB=5FLIBRARY=5FCLASSES=5FLOONGARCH64 =3D TAB=5FLIBRARY=5FCLASSES + > > TAB=5FSPLIT + TAB=5FARCH=5FLOONGARCH64 > > > > TAB=5FLIBRARY=5FCLASSES=5FEBC =3D TAB=5FLIBRARY=5FCLASSES + TAB=5FSPL= IT + > > TAB=5FARCH=5FEBC > > > > > > > > TAB=5FPACKAGES =3D 'Packages' > > > > =40=40 -510,6 +519,7 =40=40 TAB=5FPACKAGES=5FIA32 =3D TAB=5FPACKAGES = + TAB=5FSPLIT + > > TAB=5FARCH=5FIA32 > > TAB=5FPACKAGES=5FX64 =3D TAB=5FPACKAGES + TAB=5FSPLIT + TAB=5FARCH=5F= X64 > > > > TAB=5FPACKAGES=5FIP=46 =3D TAB=5FPACKAGES + TAB=5FSPLIT + TAB=5FARCH=5F= IP=46 > > > > TAB=5FPACKAGES=5FARM =3D TAB=5FPACKAGES + TAB=5FSPLIT + TAB=5FARCH=5F= ARM > > > > +TAB=5FPACKAGES=5FLOONGARCH64 =3D TAB=5FPACKAGES + TAB=5FSPLIT + > > TAB=5FARCH=5FLOONGARCH64 > > > > TAB=5FPACKAGES=5FEBC =3D TAB=5FPACKAGES + TAB=5FSPLIT + TAB=5FARCH=5F= EBC > > > > > > > > TAB=5FPCDS =3D 'Pcds' > > > > =40=40 -548,6 +558,8 =40=40 TAB=5FPCDS=5F=46IXED=5FAT=5FBUILD=5FIP=46= =3D TAB=5FPCDS + > > TAB=5FPCDS=5F=46IXED=5FAT=5FBUILD + =5C > > TAB=5FSPLIT + TAB=5FARCH=5FIP=46 > > > > TAB=5FPCDS=5F=46IXED=5FAT=5FBUILD=5FARM =3D TAB=5FPCDS + > > TAB=5FPCDS=5F=46IXED=5FAT=5FBUILD + =5C > > > > TAB=5FSPLIT + TAB=5FARCH=5FARM > > > > +TAB=5FPCDS=5F=46IXED=5FAT=5FBUILD=5FLOONGARCH64 =3D TAB=5FPCDS + > > TAB=5FPCDS=5F=46IXED=5FAT=5FBUILD + =5C > > > > +TAB=5FSPLIT + TAB=5FARCH=5FLOONGARCH64 > > > > TAB=5FPCDS=5F=46IXED=5FAT=5FBUILD=5FEBC =3D TAB=5FPCDS + > > TAB=5FPCDS=5F=46IXED=5FAT=5FBUILD + =5C > > > > TAB=5FSPLIT + TAB=5FARCH=5FEBC > > > > > > > > =40=40 -562,6 +574,8 =40=40 TAB=5FPCDS=5FPATCHABLE=5FIN=5FMODULE=5FIP= =46 =3D > > TAB=5FPCDS + TAB=5FPCDS=5FPATCHABLE=5FIN=5FMODULE + =5C > > TAB=5FSPLIT + TAB=5FARCH=5FIP=46 > > > > TAB=5FPCDS=5FPATCHABLE=5FIN=5FMODULE=5FARM =3D TAB=5FPCDS + > > TAB=5FPCDS=5FPATCHABLE=5FIN=5FMODULE + =5C > > > > TAB=5FSPLIT + TAB=5FARCH=5FARM > > > > +TAB=5FPCDS=5FPATCHABLE=5FIN=5FMODULE=5FLOONGARCH64 =3D TAB=5FPCDS + > > TAB=5FPCDS=5FPATCHABLE=5FIN=5FMODULE + =5C > > > > +TAB=5FSPLIT + TAB=5FARCH=5FLOONGARCH64 > > > > TAB=5FPCDS=5FPATCHABLE=5FIN=5FMODULE=5FEBC =3D TAB=5FPCDS + > > TAB=5FPCDS=5FPATCHABLE=5FIN=5FMODULE + =5C > > > > TAB=5FSPLIT + TAB=5FARCH=5FEBC > > > > > > > > =40=40 -576,6 +590,8 =40=40 TAB=5FPCDS=5F=46EATURE=5F=46LAG=5FIP=46 =3D= TAB=5FPCDS + > > TAB=5FPCDS=5F=46EATURE=5F=46LAG + TAB=5FSPLIT + =5C > > TAB=5FARCH=5FIP=46 > > > > TAB=5FPCDS=5F=46EATURE=5F=46LAG=5FARM =3D TAB=5FPCDS + TAB=5FPCDS=5F=46= EATURE=5F=46LAG > > + TAB=5FSPLIT + =5C > > > > TAB=5FARCH=5FARM > > > > +TAB=5FPCDS=5F=46EATURE=5F=46LAG=5FLOONGARCH64 =3D TAB=5FPCDS + > > TAB=5FPCDS=5F=46EATURE=5F=46LAG + TAB=5FSPLIT + =5C > > > > +TAB=5FARCH=5FLOONGARCH64 > > > > TAB=5FPCDS=5F=46EATURE=5F=46LAG=5FEBC =3D TAB=5FPCDS + TAB=5FPCDS=5F=46= EATURE=5F=46LAG + > > TAB=5FSPLIT + =5C > > > > TAB=5FARCH=5FEBC > > > > > > > > =40=40 -593,6 +609,8 =40=40 TAB=5FPCDS=5FDYNAMIC=5FEX=5FIP=46 =3D TAB= =5FPCDS + > > TAB=5FPCDS=5FDYNAMIC=5FEX + TAB=5FSPLIT + =5C > > TAB=5FARCH=5FIP=46 > > > > TAB=5FPCDS=5FDYNAMIC=5FEX=5FARM =3D TAB=5FPCDS + TAB=5FPCDS=5FDYNAMIC= =5FEX + > > TAB=5FSPLIT + =5C > > > > TAB=5FARCH=5FARM > > > > +TAB=5FPCDS=5FDYNAMIC=5FEX=5FLOONGARCH64 =3D TAB=5FPCDS + > > TAB=5FPCDS=5FDYNAMIC=5FEX + TAB=5FSPLIT + =5C > > > > +TAB=5FARCH=5FLOONGARCH64 > > > > TAB=5FPCDS=5FDYNAMIC=5FEX=5FEBC =3D TAB=5FPCDS + TAB=5FPCDS=5FDYNAMIC= =5FEX + > > TAB=5FSPLIT + =5C > > > > TAB=5FARCH=5FEBC > > > > > > > > =40=40 -606,6 +624,7 =40=40 TAB=5FPCDS=5FDYNAMIC=5FIA32 =3D TAB=5FPCD= S + > > TAB=5FPCDS=5FDYNAMIC + TAB=5FSPLIT + TAB=5FARCH=5FIA32 > > TAB=5FPCDS=5FDYNAMIC=5FX64 =3D TAB=5FPCDS + TAB=5FPCDS=5FDYNAMIC + TA= B=5FSPLIT > > + TAB=5FARCH=5FX64 > > > > TAB=5FPCDS=5FDYNAMIC=5FIP=46 =3D TAB=5FPCDS + TAB=5FPCDS=5FDYNAMIC + = TAB=5FSPLIT > > + TAB=5FARCH=5FIP=46 > > > > TAB=5FPCDS=5FDYNAMIC=5FARM =3D TAB=5FPCDS + TAB=5FPCDS=5FDYNAMIC + > > TAB=5FSPLIT + TAB=5FARCH=5FARM > > > > +TAB=5FPCDS=5FDYNAMIC=5FLOONGARCH64 =3D TAB=5FPCDS + TAB=5FPCDS=5FDYN= AMIC > > + TAB=5FSPLIT + TAB=5FARCH=5FLOONGARCH64 > > > > TAB=5FPCDS=5FDYNAMIC=5FEBC =3D TAB=5FPCDS + TAB=5FPCDS=5FDYNAMIC + TA= B=5FSPLIT > > + TAB=5FARCH=5FEBC > > > > > > > > TAB=5FPCD=5FDYNAMIC=5FTYPE=5FLIST =3D =5BTAB=5FPCDS=5FDYNAMIC=5FDE=46= AULT=5FNULL, =5C > > > > =40=40 -646,6 +665,7 =40=40 TAB=5FDEPEX=5FIA32 =3D TAB=5FDEPEX + TAB=5F= SPLIT + > > TAB=5FARCH=5FIA32 > > TAB=5FDEPEX=5FX64 =3D TAB=5FDEPEX + TAB=5FSPLIT + TAB=5FARCH=5FX64 > > > > TAB=5FDEPEX=5FIP=46 =3D TAB=5FDEPEX + TAB=5FSPLIT + TAB=5FARCH=5FIP=46= > > > > TAB=5FDEPEX=5FARM =3D TAB=5FDEPEX + TAB=5FSPLIT + TAB=5FARCH=5FARM > > > > +TAB=5FDEPEX=5FLOONGARCH64 =3D TAB=5FDEPEX + TAB=5FSPLIT + > > TAB=5FARCH=5FLOONGARCH64 > > > > TAB=5FDEPEX=5FEBC =3D TAB=5FDEPEX + TAB=5FSPLIT + TAB=5FARCH=5FEBC > > > > > > > > TAB=5FSKUIDS =3D 'SkuIds' > > > > =40=40 -656,6 +676,7 =40=40 TAB=5FLIBRARIES=5FIA32 =3D TAB=5FLIBRARIE= S + TAB=5FSPLIT + > > TAB=5FARCH=5FIA32 > > TAB=5FLIBRARIES=5FX64 =3D TAB=5FLIBRARIES + TAB=5FSPLIT + TAB=5FARCH=5F= X64 > > > > TAB=5FLIBRARIES=5FIP=46 =3D TAB=5FLIBRARIES + TAB=5FSPLIT + TAB=5FARC= H=5FIP=46 > > > > TAB=5FLIBRARIES=5FARM =3D TAB=5FLIBRARIES + TAB=5FSPLIT + TAB=5FARCH=5F= ARM > > > > +TAB=5FLIBRARIES=5FLOONGARCH64 =3D TAB=5FLIBRARIES + TAB=5FSPLIT + > > TAB=5FARCH=5FLOONGARCH64 > > > > TAB=5FLIBRARIES=5FEBC =3D TAB=5FLIBRARIES + TAB=5FSPLIT + TAB=5FARCH=5F= EBC > > > > > > > > TAB=5FCOMPONENTS =3D 'Components' > > > > =40=40 -664,6 +685,7 =40=40 TAB=5FCOMPONENTS=5FIA32 =3D TAB=5FCOMPONE= NTS + > > TAB=5FSPLIT + TAB=5FARCH=5FIA32 > > TAB=5FCOMPONENTS=5FX64 =3D TAB=5FCOMPONENTS + TAB=5FSPLIT + > > TAB=5FARCH=5FX64 > > > > TAB=5FCOMPONENTS=5FIP=46 =3D TAB=5FCOMPONENTS + TAB=5FSPLIT + TAB=5FA= RCH=5FIP=46 > > > > TAB=5FCOMPONENTS=5FARM =3D TAB=5FCOMPONENTS + TAB=5FSPLIT + > > TAB=5FARCH=5FARM > > > > +TAB=5FCOMPONENTS=5FLOONGARCH64 =3D TAB=5FCOMPONENTS + TAB=5FSPLIT + > > TAB=5FARCH=5FLOONGARCH64 > > > > TAB=5FCOMPONENTS=5FEBC =3D TAB=5FCOMPONENTS + TAB=5FSPLIT + > > TAB=5FARCH=5FEBC > > > > > > > > TAB=5FBUILD=5FOPTIONS =3D 'BuildOptions' > > > > diff --git a/BaseTools/Source/Python/build/buildoptions.py > > b/BaseTools/Source/Python/build/buildoptions.py > > index 39d92cff20..8334604b46 100644 > > --- a/BaseTools/Source/Python/build/buildoptions.py > > +++ b/BaseTools/Source/Python/build/buildoptions.py > > =40=40 -4,6 +4,7 =40=40 > > =23 Copyright (c) 2014, Hewlett-Packard Development Company, L.P.
= > > > > =23 Copyright (c) 2007 - 2021, Intel Corporation. All rights reserved= .
> > > > =23 Copyright (c) 2018 - 2020, Hewlett Packard Enterprise Development= , > > L.P.
> > > > +=23 Copyright (c) 2022, Loongson Technology Corporation Limited. All= > rights > > reserved.
> > > > =23 > > > > =23 SPDX-License-Identifier: BSD-2-Clause-Patent > > > > =23 > > > > =40=40 -41,7 +42,7 =40=40 class MyOptionParser(): > > def GetOption(self): > > > > Parser =3D OptionParser(description=3D=5F=5Fcopyright=5F=5F, > > version=3D=5F=5Fversion=5F=5F, prog=3D=22build.exe=22, usage=3D=22%pr= og =5Boptions=5D > > =5Ball=7Cfds=7Cgenc=7Cgenmake=7Cclean=7Ccleanall=7Ccleanlib=7Cmodules= =7Clibraries=7Crun=5D=22) > > > > Parser.add=5Foption(=22-a=22, =22--arch=22, action=3D=22append=22, > > dest=3D=22TargetArch=22, > > > > - help=3D=22ARCHS is one of list: IA32, X64, ARM, AARCH64, > > RISCV64 or EBC, which overrides target.txt's TARGET=5FARCH definition= . To > > specify more archs, please repeat this option.=22) > > > > + help=3D=22ARCHS is one of list: IA32, X64, ARM, AARCH64, > > RISCV64, LOONGARCH64 or EBC, which overrides target.txt's TARGET=5FAR= CH > > definition. To specify more archs, please repeat this option.=22) > > > > Parser.add=5Foption(=22-p=22, =22--platform=22, action=3D=22callback=22= , > > type=3D=22string=22, dest=3D=22Platform=46ile=22, callback=3DSingleCh= eckCallback, > > > > help=3D=22Build the platform specified by the DSC file name > > argument, overriding target.txt's ACTIVE=5FPLAT=46ORM definition.=22)= > > > > Parser.add=5Foption(=22-m=22, =22--module=22, action=3D=22callback=22= , > > type=3D=22string=22, dest=3D=22Module=46ile=22, callback=3DSingleChec= kCallback, > > > > -- > > 2.27.0 > --6322d386_4b9993d5_10c77 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline
Liming,
Ok, I will change the commit tit= le in the V3.


Thanks,
Chao
---= -----

On 9=E6=9C=88 15 2022, at 2:30 =E4=B8=8B=E5=8D=88, =22gaoliming=22= <gaoliming=40byosoft.com.cn> wrote:
Cha= o:
This change is to update BaseTools build tool to support new= LoongArch.
Please update commit message title.

T= he code change is good to me. Reviewed-by: Liming Gao
<gaoli= ming=40byosoft.com.cn>

Thanks
Liming
> -----=E9=82=AE=E4=BB=B6=E5=8E=9F=E4=BB=B6-----
> =E5=8F= =91=E4=BB=B6=E4=BA=BA: Chao Li <lichao=40loongson.cn>
>= ; =E5=8F=91=E9=80=81=E6=97=B6=E9=97=B4: 2022=E5=B9=B49=E6=9C=8814=E6=97=A5= 17:41
> =E6=94=B6=E4=BB=B6=E4=BA=BA: devel=40edk2.groups.io=
> =E6=8A=84=E9=80=81: Bob =46eng <bob.c.feng=40intel.com= >; Liming Gao
> <gaoliming=40byosoft.com.cn>; Yuwei= Chen <yuwei.chen=40intel.com>; Baoqi
> Zhang <zhan= gbaoqi=40loongson.cn>
> =E4=B8=BB=E9=A2=98: =5BPATCH v2 1= 7/34=5D BaseTools: BaseTools changes for LoongArch
> platfor= m.
>
> RE=46: https://bugzilla.tianocore.org/sh= ow=5Fbug.cgi=3Fid=3D4053
>
> Python code change= s for building EDK2 LoongArch platform.
>
> Cc:= Bob =46eng <bob.c.feng=40intel.com>
> Cc: Liming Gao = <gaoliming=40byosoft.com.cn>
> Cc: Yuwei Chen <yuwe= i.chen=40intel.com>
>
> Signed-off-by: Chao = Li <lichao=40loongson.cn>
> Co-authored-by: Baoqi Zhan= g <zhangbaoqi=40loongson.cn>
> ---
> Base= Tools/Source/Python/Common/DataType.py =7C 21
> ++++++++++++= ++--
> .../Source/Python/UPT/Library/DataType.py =7C 24
> ++++++++++++++++++-
> BaseTools/Source/Python/bui= ld/buildoptions.py =7C 3 ++-
> 3 files changed, 44 insertion= s(+), 4 deletions(-)
>
> diff --git a/BaseTools= /Source/Python/Common/DataType.py
> b/BaseTools/Source/Pytho= n/Common/DataType.py
> index dc49623333..48dbf16495 100644
> --- a/BaseTools/Source/Python/Common/DataType.py
= > +++ b/BaseTools/Source/Python/Common/DataType.py
> =40=40= -4,6 +4,7 =40=40
> =23 Copyright (c) 2007 - 2018, Intel Cor= poration. All rights reserved.<BR>
>
> =23= Portions copyright (c) 2011 - 2013, ARM Ltd. All rights reserved.<BR&= gt;
>
> =23 Portions Copyright (c) 2020, Hewlet= t Packard Enterprise Development LP.
> All rights reserved.&= lt;BR>
>
> +=23 Portions Copyright (c) 2022,= Loongson Technology Corporation Limited.
All
> ri= ghts reserved.<BR>
>
> =23 SPDX-License-I= dentifier: BSD-2-Clause-Patent
>
>
&g= t;
> =23=23
>
> =40=40 -52,10 +53,= 10 =40=40 TAB=5FARCH=5FX64 =3D 'X64'
> TAB=5FARCH=5FARM =3D = 'ARM'
>
> TAB=5FARCH=5FEBC =3D 'EBC'
= >
> TAB=5FARCH=5FAARCH64 =3D 'AARCH64'
>
> -
>
> TAB=5FARCH=5FRISCV64 =3D 'RIS= CV64'
>
> +TAB=5FARCH=5FLOONGARCH64 =3D 'LOONGA= RCH64'
>
>
>
> -ARCH=5F= SET=5F=46ULL =3D =7BTAB=5FARCH=5FIA32, TAB=5FARCH=5FX64, TAB=5FARCH=5FARM= ,
> TAB=5FARCH=5FEBC, TAB=5FARCH=5FAARCH64, TAB=5FARCH=5FRIS= CV64,
> TAB=5FARCH=5FCOMMON=7D
>
>= +ARCH=5FSET=5F=46ULL =3D =7BTAB=5FARCH=5FIA32, TAB=5FARCH=5FX64, TAB=5FA= RCH=5FARM,
> TAB=5FARCH=5FEBC, TAB=5FARCH=5FAARCH64, TAB=5FA= RCH=5FRISCV64,
> TAB=5FARCH=5FLOONGARCH64, TAB=5FARCH=5FCOMM= ON=7D
>
>
>
> SUP=5FM= ODULE=5FBASE =3D 'BASE'
>
> SUP=5FMODULE=5FSEC = =3D 'SEC'
>
> =40=40 -138,6 +139,7 =40=40 TAB=5F= SOURCES=5FX64 =3D TAB=5FSOURCES + TAB=5FSPLIT +
> TAB=5FARCH= =5FX64
> TAB=5FSOURCES=5FARM =3D TAB=5FSOURCES + TAB=5FSPLIT= + TAB=5FARCH=5FARM
>
> TAB=5FSOURCES=5FEBC =3D= TAB=5FSOURCES + TAB=5FSPLIT + TAB=5FARCH=5FEBC
>
= > TAB=5FSOURCES=5FAARCH64 =3D TAB=5FSOURCES + TAB=5FSPLIT +
= > TAB=5FARCH=5FAARCH64
>
> +TAB=5FSOURCES=5F= LOONGARCH64 =3D TAB=5FSOURCES + TAB=5FSPLIT +
> TAB=5FARCH=5F= LOONGARCH64
>
>
>
> T= AB=5FBINARIES =3D 'Binaries'
>
> TAB=5FBINARIES= =5FCOMMON =3D TAB=5FBINARIES + TAB=5FSPLIT +
> TAB=5FARCH=5F= COMMON
>
> =40=40 -146,6 +148,7 =40=40 TAB=5FBI= NARIES=5FX64 =3D TAB=5FBINARIES + TAB=5FSPLIT +
> TAB=5FARCH= =5FX64
> TAB=5FBINARIES=5FARM =3D TAB=5FBINARIES + TAB=5FSPL= IT + TAB=5FARCH=5FARM
>
> TAB=5FBINARIES=5FEBC = =3D TAB=5FBINARIES + TAB=5FSPLIT + TAB=5FARCH=5FEBC
>
<= div>> TAB=5FBINARIES=5FAARCH64 =3D TAB=5FBINARIES + TAB=5FSPLIT +
> TAB=5FARCH=5FAARCH64
>
> +TAB=5FBINA= RIES=5FLOONGARCH64 =3D TAB=5FBINARIES + TAB=5FSPLIT +
> TAB=5F= ARCH=5FLOONGARCH64
>
>
>
> TAB=5FINCLUDES =3D 'Includes'
>
> TAB=5FI= NCLUDES=5FCOMMON =3D TAB=5FINCLUDES + TAB=5FSPLIT +
> TAB=5F= ARCH=5FCOMMON
>
> =40=40 -154,6 +157,7 =40=40 T= AB=5FINCLUDES=5FX64 =3D TAB=5FINCLUDES + TAB=5FSPLIT +
> TAB= =5FARCH=5FX64
> TAB=5FINCLUDES=5FARM =3D TAB=5FINCLUDES + TA= B=5FSPLIT + TAB=5FARCH=5FARM
>
> TAB=5FINCLUDES= =5FEBC =3D TAB=5FINCLUDES + TAB=5FSPLIT + TAB=5FARCH=5FEBC
>=
> TAB=5FINCLUDES=5FAARCH64 =3D TAB=5FINCLUDES + TAB=5FSPLIT= +
> TAB=5FARCH=5FAARCH64
>
> +TAB= =5FINCLUDES=5FLOONGARCH64 =3D TAB=5FINCLUDES + TAB=5FSPLIT +
&g= t; TAB=5FARCH=5FLOONGARCH64
>
>
><= /div>
> TAB=5FGUIDS =3D 'Guids'
>
> TAB=5F= GUIDS=5FCOMMON =3D TAB=5FGUIDS + TAB=5FSPLIT + TAB=5FARCH=5FCOMMON
<= div>>
> =40=40 -162,6 +166,7 =40=40 TAB=5FGUIDS=5FX64 =3D= TAB=5FGUIDS + TAB=5FSPLIT +
> TAB=5FARCH=5FX64
&g= t; TAB=5FGUIDS=5FARM =3D TAB=5FGUIDS + TAB=5FSPLIT + TAB=5FARCH=5FARM
>
> TAB=5FGUIDS=5FEBC =3D TAB=5FGUIDS + TAB=5FSPLI= T + TAB=5FARCH=5FEBC
>
> TAB=5FGUIDS=5FAARCH64 = =3D TAB=5FGUIDS + TAB=5FSPLIT + TAB=5FARCH=5FAARCH64
>
=
> +TAB=5FGUIDS=5FLOONGARCH64 =3D TAB=5FGUIDS + TAB=5FSPLIT +
> TAB=5FARCH=5FLOONGARCH64
>
>
>
> TAB=5FPROTOCOLS =3D 'Protocols'
>
> TAB=5FPROTOCOLS=5FCOMMON =3D TAB=5FPROTOCOLS + TAB=5FSPLIT +<= /div>
> TAB=5FARCH=5FCOMMON
>
> =40=40 -= 170,6 +175,7 =40=40 TAB=5FPROTOCOLS=5FX64 =3D TAB=5FPROTOCOLS +
> TAB=5FSPLIT + TAB=5FARCH=5FX64
> TAB=5FPROTOCOLS=5FARM= =3D TAB=5FPROTOCOLS + TAB=5FSPLIT + TAB=5FARCH=5FARM
>
> TAB=5FPROTOCOLS=5FEBC =3D TAB=5FPROTOCOLS + TAB=5FSPLIT + TAB=5F= ARCH=5FEBC
>
> TAB=5FPROTOCOLS=5FAARCH64 =3D TA= B=5FPROTOCOLS + TAB=5FSPLIT +
> TAB=5FARCH=5FAARCH64
>
> +TAB=5FPROTOCOLS=5FLOONGARCH64 =3D TAB=5FPROTOCOLS= + TAB=5FSPLIT +
> TAB=5FARCH=5FLOONGARCH64
>
>
>
> TAB=5FPPIS =3D 'Ppis'
>
> TAB=5FPPIS=5FCOMMON =3D TAB=5FPPIS + TAB=5FSPLIT += TAB=5FARCH=5FCOMMON
>
> =40=40 -178,6 +184,7 =40= =40 TAB=5FPPIS=5FX64 =3D TAB=5FPPIS + TAB=5FSPLIT +
> TAB=5F= ARCH=5FX64
> TAB=5FPPIS=5FARM =3D TAB=5FPPIS + TAB=5FSPLIT += TAB=5FARCH=5FARM
>
> TAB=5FPPIS=5FEBC =3D TAB=5F= PPIS + TAB=5FSPLIT + TAB=5FARCH=5FEBC
>
> TAB=5F= PPIS=5FAARCH64 =3D TAB=5FPPIS + TAB=5FSPLIT + TAB=5FARCH=5FAARCH64
<= div>>
> +TAB=5FPPIS=5FLOONGARCH64 =3D TAB=5FPPIS + TAB=5F= SPLIT +
> TAB=5FARCH=5FLOONGARCH64
>
= >
>
> TAB=5FLIBRARY=5FCLASSES =3D 'LibraryCl= asses'
>
> TAB=5FLIBRARY=5FCLASSES=5FCOMMON =3D= TAB=5FLIBRARY=5FCLASSES + TAB=5FSPLIT +
> TAB=5FARCH=5FCOMM= ON
>
> =40=40 -186,6 +193,7 =40=40 TAB=5FLIBRAR= Y=5FCLASSES=5FX64 =3D
> TAB=5FLIBRARY=5FCLASSES + TAB=5FSPLI= T + TAB=5FARCH=5FX64
> TAB=5FLIBRARY=5FCLASSES=5FARM =3D TAB= =5FLIBRARY=5FCLASSES + TAB=5FSPLIT +
> TAB=5FARCH=5FARM
>
> TAB=5FLIBRARY=5FCLASSES=5FEBC =3D TAB=5FLIBRARY= =5FCLASSES + TAB=5FSPLIT +
> TAB=5FARCH=5FEBC
>=
> TAB=5FLIBRARY=5FCLASSES=5FAARCH64 =3D TAB=5FLIBRARY=5FCLA= SSES + TAB=5FSPLIT +
> TAB=5FARCH=5FAARCH64
>
> +TAB=5FLIBRARY=5FCLASSES=5FLOONGARCH64 =3D TAB=5FLIBRARY=5F= CLASSES +
> TAB=5FSPLIT + TAB=5FARCH=5FLOONGARCH64
>
>
>
> TAB=5FPACKAGES =3D 'Pa= ckages'
>
> TAB=5FPACKAGES=5FCOMMON =3D TAB=5FP= ACKAGES + TAB=5FSPLIT +
> TAB=5FARCH=5FCOMMON
>=
> =40=40 -194,6 +202,7 =40=40 TAB=5FPACKAGES=5FX64 =3D TAB=5F= PACKAGES + TAB=5FSPLIT +
> TAB=5FARCH=5FX64
> T= AB=5FPACKAGES=5FARM =3D TAB=5FPACKAGES + TAB=5FSPLIT + TAB=5FARCH=5FARM
>
> TAB=5FPACKAGES=5FEBC =3D TAB=5FPACKAGES + TA= B=5FSPLIT + TAB=5FARCH=5FEBC
>
> TAB=5FPACKAGES= =5FAARCH64 =3D TAB=5FPACKAGES + TAB=5FSPLIT +
> TAB=5FARCH=5F= AARCH64
>
> +TAB=5FPACKAGES=5FLOONGARCH64 =3D T= AB=5FPACKAGES + TAB=5FSPLIT +
> TAB=5FARCH=5FLOONGARCH64
>
>
>
> TAB=5FPCDS =3D '= Pcds'
>
> TAB=5FPCDS=5F=46IXED=5FAT=5FBUILD =3D= '=46ixedAtBuild'
>
> =40=40 -221,6 +230,7 =40=40= TAB=5FPCDS=5F=46IXED=5FAT=5FBUILD=5FX64 =3D TAB=5FPCDS +
> = TAB=5FPCDS=5F=46IXED=5FAT=5FBUILD + TAB=5FSPLIT + T
> TAB=5F= PCDS=5F=46IXED=5FAT=5FBUILD=5FARM =3D TAB=5FPCDS +
> TAB=5FP= CDS=5F=46IXED=5FAT=5FBUILD + TAB=5FSPLIT + TAB=5FARCH=5FARM
>= ;
> TAB=5FPCDS=5F=46IXED=5FAT=5FBUILD=5FEBC =3D TAB=5FPCDS +=
> TAB=5FPCDS=5F=46IXED=5FAT=5FBUILD + TAB=5FSPLIT + TAB=5FA= RCH=5FEBC
>
> TAB=5FPCDS=5F=46IXED=5FAT=5FBUILD= =5FAARCH64 =3D TAB=5FPCDS +
> TAB=5FPCDS=5F=46IXED=5FAT=5FBU= ILD + TAB=5FSPLIT + TAB=5FARCH=5FAARCH64
>
> +T= AB=5FPCDS=5F=46IXED=5FAT=5FBUILD=5FLOONGARCH64 =3D TAB=5FPCDS +
> TAB=5FPCDS=5F=46IXED=5FAT=5FBUILD + TAB=5FSPLIT + TAB=5FARCH=5FLOON= GARCH64
>
>
>
> TAB=5F= PCDS=5FPATCHABLE=5FIN=5FMODULE=5FNULL =3D TAB=5FPCDS +
> TAB= =5FPCDS=5FPATCHABLE=5FIN=5FMODULE
>
> TAB=5FPCD= S=5FPATCHABLE=5FIN=5FMODULE=5FCOMMON =3D TAB=5FPCDS +
> TAB=5F= PCDS=5FPATCHABLE=5FIN=5FMODULE + TAB=5FSPLIT + TAB=5FARCH=5FCOMMON
<= div>>
> =40=40 -229,6 +239,7 =40=40 TAB=5FPCDS=5FPATCHABL= E=5FIN=5FMODULE=5FX64 =3D
> TAB=5FPCDS + TAB=5FPCDS=5FPATCHA= BLE=5FIN=5FMODULE + TAB
> TAB=5FPCDS=5FPATCHABLE=5FIN=5FMODU= LE=5FARM =3D TAB=5FPCDS +
> TAB=5FPCDS=5FPATCHABLE=5FIN=5FMO= DULE + TAB=5FSPLIT + TAB=5FARCH=5FARM
>
> TAB=5F= PCDS=5FPATCHABLE=5FIN=5FMODULE=5FEBC =3D TAB=5FPCDS +
> TAB=5F= PCDS=5FPATCHABLE=5FIN=5FMODULE + TAB=5FSPLIT + TAB=5FARCH=5FEBC
>
> TAB=5FPCDS=5FPATCHABLE=5FIN=5FMODULE=5FAARCH64 =3D T= AB=5FPCDS +
> TAB=5FPCDS=5FPATCHABLE=5FIN=5FMODULE + TAB=5FS= PLIT + TAB=5FARCH=5FAARCH64
>
> +TAB=5FPCDS=5FP= ATCHABLE=5FIN=5FMODULE=5FLOONGARCH64 =3D TAB=5FPCDS +
> TAB=5F= PCDS=5FPATCHABLE=5FIN=5FMODULE + TAB=5FSPLIT +
> TAB=5FARCH=5F= LOONGARCH64
>
>
>
> T= AB=5FPCDS=5F=46EATURE=5F=46LAG=5FNULL =3D TAB=5FPCDS + TAB=5FPCDS=5F=46EA= TURE=5F=46LAG
>
> TAB=5FPCDS=5F=46EATURE=5F=46L= AG=5FCOMMON =3D TAB=5FPCDS +
> TAB=5FPCDS=5F=46EATURE=5F=46L= AG + TAB=5FSPLIT + TAB=5FARCH=5FCOMMON
>
> =40=40= -237,6 +248,7 =40=40 TAB=5FPCDS=5F=46EATURE=5F=46LAG=5FX64 =3D TAB=5FPCD= S +
> TAB=5FPCDS=5F=46EATURE=5F=46LAG + TAB=5FSPLIT + TAB=5F= A
> TAB=5FPCDS=5F=46EATURE=5F=46LAG=5FARM =3D TAB=5FPCDS + T= AB=5FPCDS=5F=46EATURE=5F=46LAG
> + TAB=5FSPLIT + TAB=5FARCH=5F= ARM
>
> TAB=5FPCDS=5F=46EATURE=5F=46LAG=5FEBC =3D= TAB=5FPCDS + TAB=5FPCDS=5F=46EATURE=5F=46LAG +
> TAB=5FSPLI= T + TAB=5FARCH=5FEBC
>
> TAB=5FPCDS=5F=46EATURE= =5F=46LAG=5FAARCH64 =3D TAB=5FPCDS +
> TAB=5FPCDS=5F=46EATUR= E=5F=46LAG + TAB=5FSPLIT + TAB=5FARCH=5FAARCH64
>
= > +TAB=5FPCDS=5F=46EATURE=5F=46LAG=5FLOONGARCH64 =3D TAB=5FPCDS +
> TAB=5FPCDS=5F=46EATURE=5F=46LAG + TAB=5FSPLIT + TAB=5FARCH=5FL= OONGARCH64
>
>
>
> TA= B=5FPCDS=5FDYNAMIC=5FEX=5FNULL =3D TAB=5FPCDS + TAB=5FPCDS=5FDYNAMIC=5FEX=
>
> TAB=5FPCDS=5FDYNAMIC=5FEX=5FDE=46AULT=5FNU= LL =3D TAB=5FPCDS +
> TAB=5FPCDS=5FDYNAMIC=5FEX=5FDE=46AULT<= /div>
>
> =40=40 -248,6 +260,7 =40=40 TAB=5FPCDS=5FDY= NAMIC=5FEX=5FX64 =3D TAB=5FPCDS +
> TAB=5FPCDS=5FDYNAMIC=5FE= X + TAB=5FSPLIT + TAB=5FARCH=5F
> TAB=5FPCDS=5FDYNAMIC=5FEX=5F= ARM =3D TAB=5FPCDS + TAB=5FPCDS=5FDYNAMIC=5FEX +
> TAB=5FSPL= IT + TAB=5FARCH=5FARM
>
> TAB=5FPCDS=5FDYNAMIC=5F= EX=5FEBC =3D TAB=5FPCDS + TAB=5FPCDS=5FDYNAMIC=5FEX +
> TAB=5F= SPLIT + TAB=5FARCH=5FEBC
>
> TAB=5FPCDS=5FDYNAM= IC=5FEX=5FAARCH64 =3D TAB=5FPCDS + TAB=5FPCDS=5FDYNAMIC=5FEX
&g= t; + TAB=5FSPLIT + TAB=5FARCH=5FAARCH64
>
> +TA= B=5FPCDS=5FDYNAMIC=5FEX=5FLOONGARCH64 =3D TAB=5FPCDS +
> TAB= =5FPCDS=5FDYNAMIC=5FEX + TAB=5FSPLIT + TAB=5FARCH=5FLOONGARCH64
>
>
>
> TAB=5FPCDS=5FDYNAMIC=5F= NULL =3D TAB=5FPCDS + TAB=5FPCDS=5FDYNAMIC
>
> = TAB=5FPCDS=5FDYNAMIC=5FDE=46AULT=5FNULL =3D TAB=5FPCDS +
> T= AB=5FPCDS=5FDYNAMIC=5FDE=46AULT
>
> =40=40 -259= ,6 +272,7 =40=40 TAB=5FPCDS=5FDYNAMIC=5FX64 =3D TAB=5FPCDS +
&g= t; TAB=5FPCDS=5FDYNAMIC + TAB=5FSPLIT + TAB=5FARCH=5FX64
> T= AB=5FPCDS=5FDYNAMIC=5FARM =3D TAB=5FPCDS + TAB=5FPCDS=5FDYNAMIC +
> TAB=5FSPLIT + TAB=5FARCH=5FARM
>
> TAB=5F= PCDS=5FDYNAMIC=5FEBC =3D TAB=5FPCDS + TAB=5FPCDS=5FDYNAMIC + TAB=5FSPLIT<= /div>
> + TAB=5FARCH=5FEBC
>
> TAB=5FPCD= S=5FDYNAMIC=5FAARCH64 =3D TAB=5FPCDS + TAB=5FPCDS=5FDYNAMIC +
&= gt; TAB=5FSPLIT + TAB=5FARCH=5FAARCH64
>
> +TAB= =5FPCDS=5FDYNAMIC=5FLOONGARCH64 =3D TAB=5FPCDS + TAB=5FPCDS=5FDYNAMIC
> + TAB=5FSPLIT + TAB=5FARCH=5FLOONGARCH64
>
=
>
>
> TAB=5FPCDS=5FPATCHABLE=5FLOAD=5F=46= IX=5FADDRESS=5FPEI=5FPAGE=5FSIZE =3D
> 'PcdLoad=46ixAddressP= eiCodePageNumber'
>
> TAB=5FPCDS=5FPATCHABLE=5F= LOAD=5F=46IX=5FADDRESS=5FPEI=5FPAGE=5FSIZE=5FDATA=5FTYPE =3D
&g= t; 'UINT32'
>
> =40=40 -285,6 +299,7 =40=40 TAB= =5FDEPEX=5FX64 =3D TAB=5FDEPEX + TAB=5FSPLIT +
> TAB=5FARCH=5F= X64
> TAB=5FDEPEX=5FARM =3D TAB=5FDEPEX + TAB=5FSPLIT + TAB=5F= ARCH=5FARM
>
> TAB=5FDEPEX=5FEBC =3D TAB=5FDEPE= X + TAB=5FSPLIT + TAB=5FARCH=5FEBC
>
> TAB=5FDE= PEX=5FAARCH64 =3D TAB=5FDEPEX + TAB=5FSPLIT + TAB=5FARCH=5FAARCH64
<= div>>
> +TAB=5FDEPEX=5FLOONGARCH64 =3D TAB=5FDEPEX + TAB=5F= SPLIT +
> TAB=5FARCH=5FLOONGARCH64
>
= >
>
> TAB=5FSKUIDS =3D 'SkuIds'
&g= t;
> TAB=5FDE=46AULT=5FSTORES =3D 'DefaultStores'
= >
> =40=40 -297,6 +312,7 =40=40 TAB=5FLIBRARIES=5FX64 =3D= TAB=5FLIBRARIES + TAB=5FSPLIT +
> TAB=5FARCH=5FX64
> TAB=5FLIBRARIES=5FARM =3D TAB=5FLIBRARIES + TAB=5FSPLIT + TAB=5FAR= CH=5FARM
>
> TAB=5FLIBRARIES=5FEBC =3D TAB=5FLI= BRARIES + TAB=5FSPLIT + TAB=5FARCH=5FEBC
>
> TA= B=5FLIBRARIES=5FAARCH64 =3D TAB=5FLIBRARIES + TAB=5FSPLIT +
>= ; TAB=5FARCH=5FAARCH64
>
> +TAB=5FLIBRARIES=5FL= OONGARCH64 =3D TAB=5FLIBRARIES + TAB=5FSPLIT +
> TAB=5FARCH=5F= LOONGARCH64
>
>
>
> T= AB=5FCOMPONENTS =3D 'Components'
>
> TAB=5FCOMP= ONENTS=5FCOMMON =3D TAB=5FCOMPONENTS + TAB=5FSPLIT +
> TAB=5F= ARCH=5FCOMMON
>
> =40=40 -305,6 +321,7 =40=40 T= AB=5FCOMPONENTS=5FX64 =3D TAB=5FCOMPONENTS +
> TAB=5FSPLIT += TAB=5FARCH=5FX64
> TAB=5FCOMPONENTS=5FARM =3D TAB=5FCOMPONE= NTS + TAB=5FSPLIT +
> TAB=5FARCH=5FARM
>
<= div>> TAB=5FCOMPONENTS=5FEBC =3D TAB=5FCOMPONENTS + TAB=5FSPLIT +
> TAB=5FARCH=5FEBC
>
> TAB=5FCOMPONENT= S=5FAARCH64 =3D TAB=5FCOMPONENTS + TAB=5FSPLIT +
> TAB=5FARC= H=5FAARCH64
>
> +TAB=5FCOMPONENTS=5FLOONGARCH64= =3D TAB=5FCOMPONENTS + TAB=5FSPLIT +
> TAB=5FARCH=5FLOONGAR= CH64
>
>
>
> TAB=5FBU= ILD=5FOPTIONS =3D 'BuildOptions'
>
>
= >
> diff --git a/BaseTools/Source/Python/UPT/Library/Data= Type.py
> b/BaseTools/Source/Python/UPT/Library/DataType.py<= /div>
> index 2033149aa6..0e47f35670 100644
> --- a/B= aseTools/Source/Python/UPT/Library/DataType.py
> +++ b/BaseT= ools/Source/Python/UPT/Library/DataType.py
> =40=40 -2,6 +2,= 7 =40=40
> =23 This file is used to define class for data ty= pe structure
>
> =23
>
&= gt; =23 Copyright (c) 2011 - 2018, Intel Corporation. All rights reserved= .<BR>
>
> +=23 Portions Copyright (c) 202= 2, Loongson Technology Corporation Limited.
All
> = rights reserved.
>
> =23
>
> =23 SPDX-License-Identifier: BSD-2-Clause-Patent
>
>
>
> =40=40 -367,10 +368,11 =40=40= TAB=5FARCH=5FIA32 =3D 'IA32'
> TAB=5FARCH=5FX64 =3D 'X64'
>
> TAB=5FARCH=5FIP=46 =3D 'IP=46'
>= ;
> TAB=5FARCH=5FARM =3D 'ARM'
>
>= +TAB=5FARCH=5FLOONGARCH64 =3D 'LOONGARCH64'
>
>= ; TAB=5FARCH=5FEBC =3D 'EBC'
>
>
>=
> ARCH=5FLIST =3D =5C
>
> -=5BTAB= =5FARCH=5FIA32, TAB=5FARCH=5FX64, TAB=5FARCH=5FIP=46, TAB=5FARCH=5FARM,
> TAB=5FARCH=5FEBC=5D
>
> +=5BTAB=5F= ARCH=5FIA32, TAB=5FARCH=5FX64, TAB=5FARCH=5FIP=46, TAB=5FARCH=5FARM,
> TAB=5FARCH=5FLOONGARCH64, TAB=5FARCH=5FEBC=5D
>
>
>
> SUP=5FMODULE=5FBASE =3D 'BASE= '
>
> SUP=5FMODULE=5FSEC =3D 'SEC'
&g= t;
> =40=40 -454,6 +456,7 =40=40 TAB=5FSOURCES=5FIA32 =3D TA= B=5FSOURCES + TAB=5FSPLIT +
> TAB=5FARCH=5FIA32
&g= t; TAB=5FSOURCES=5FX64 =3D TAB=5FSOURCES + TAB=5FSPLIT + TAB=5FARCH=5FX64=
>
> TAB=5FSOURCES=5FIP=46 =3D TAB=5FSOURCES + = TAB=5FSPLIT + TAB=5FARCH=5FIP=46
>
> TAB=5FSOUR= CES=5FARM =3D TAB=5FSOURCES + TAB=5FSPLIT + TAB=5FARCH=5FARM
&g= t;
> +TAB=5FSOURCES=5FLOONGARCH64 =3D TAB=5FSOURCES + TAB=5F= SPLIT +
> TAB=5FARCH=5FLOONGARCH64
>
= > TAB=5FSOURCES=5FEBC =3D TAB=5FSOURCES + TAB=5FSPLIT + TAB=5FARCH=5FE= BC
>
>
>
> TAB=5FBINA= RIES =3D 'Binaries'
>
> =40=40 -462,6 +465,7 =40= =40 TAB=5FBINARIES=5FIA32 =3D TAB=5FBINARIES + TAB=5FSPLIT +
&g= t; TAB=5FARCH=5FIA32
> TAB=5FBINARIES=5FX64 =3D TAB=5FBINARI= ES + TAB=5FSPLIT + TAB=5FARCH=5FX64
>
> TAB=5FB= INARIES=5FIP=46 =3D TAB=5FBINARIES + TAB=5FSPLIT + TAB=5FARCH=5FIP=46
>
> TAB=5FBINARIES=5FARM =3D TAB=5FBINARIES + TAB=5F= SPLIT + TAB=5FARCH=5FARM
>
> +TAB=5FBINARIES=5F= LOONGARCH64 =3D TAB=5FBINARIES + TAB=5FSPLIT +
> TAB=5FARCH=5F= LOONGARCH64
>
> TAB=5FBINARIES=5FEBC =3D TAB=5F= BINARIES + TAB=5FSPLIT + TAB=5FARCH=5FEBC
>
>
>
> TAB=5FINCLUDES =3D 'Includes'
>=
> =40=40 -470,6 +474,7 =40=40 TAB=5FINCLUDES=5FIA32 =3D TAB= =5FINCLUDES + TAB=5FSPLIT +
> TAB=5FARCH=5FIA32
&g= t; TAB=5FINCLUDES=5FX64 =3D TAB=5FINCLUDES + TAB=5FSPLIT + TAB=5FARCH=5FX= 64
>
> TAB=5FINCLUDES=5FIP=46 =3D TAB=5FINCLUDE= S + TAB=5FSPLIT + TAB=5FARCH=5FIP=46
>
> TAB=5F= INCLUDES=5FARM =3D TAB=5FINCLUDES + TAB=5FSPLIT + TAB=5FARCH=5FARM
<= div>>
> +TAB=5FINCLUDES=5FLOONGARCH64 =3D TAB=5FINCLUDES = + TAB=5FSPLIT +
> TAB=5FARCH=5FLOONGARCH64
>
> TAB=5FINCLUDES=5FEBC =3D TAB=5FINCLUDES + TAB=5FSPLIT + TAB=5F= ARCH=5FEBC
>
>
>
> TA= B=5FGUIDS =3D 'Guids'
>
> =40=40 -478,6 +483,7 = =40=40 TAB=5FGUIDS=5FIA32 =3D TAB=5FGUIDS + TAB=5FSPLIT +
> = TAB=5FARCH=5FIA32
> TAB=5FGUIDS=5FX64 =3D TAB=5FGUIDS + TAB=5F= SPLIT + TAB=5FARCH=5FX64
>
> TAB=5FGUIDS=5FIP=46= =3D TAB=5FGUIDS + TAB=5FSPLIT + TAB=5FARCH=5FIP=46
>
<= div>> TAB=5FGUIDS=5FARM =3D TAB=5FGUIDS + TAB=5FSPLIT + TAB=5FARCH=5FA= RM
>
> +TAB=5FGUIDS=5FLOONGARCH64 =3D TAB=5FGUI= DS + TAB=5FSPLIT +
> TAB=5FARCH=5FLOONGARCH64
>=
> TAB=5FGUIDS=5FEBC =3D TAB=5FGUIDS + TAB=5FSPLIT + TAB=5FA= RCH=5FEBC
>
>
>
> TAB= =5FPROTOCOLS =3D 'Protocols'
>
> =40=40 -486,6 = +492,7 =40=40 TAB=5FPROTOCOLS=5FIA32 =3D TAB=5FPROTOCOLS +
>= TAB=5FSPLIT + TAB=5FARCH=5FIA32
> TAB=5FPROTOCOLS=5FX64 =3D= TAB=5FPROTOCOLS + TAB=5FSPLIT + TAB=5FARCH=5FX64
>
> TAB=5FPROTOCOLS=5FIP=46 =3D TAB=5FPROTOCOLS + TAB=5FSPLIT + TAB=5F= ARCH=5FIP=46
>
> TAB=5FPROTOCOLS=5FARM =3D TAB=5F= PROTOCOLS + TAB=5FSPLIT + TAB=5FARCH=5FARM
>
> = +TAB=5FPROTOCOLS=5FLOONGARCH64 =3D TAB=5FPROTOCOLS + TAB=5FSPLIT +
<= div>> TAB=5FARCH=5FLOONGARCH64
>
> TAB=5FPRO= TOCOLS=5FEBC =3D TAB=5FPROTOCOLS + TAB=5FSPLIT + TAB=5FARCH=5FEBC
>
>
>
> TAB=5FPPIS =3D 'Ppis= '
>
> =40=40 -494,6 +501,7 =40=40 TAB=5FPPIS=5F= IA32 =3D TAB=5FPPIS + TAB=5FSPLIT +
> TAB=5FARCH=5FIA32
> TAB=5FPPIS=5FX64 =3D TAB=5FPPIS + TAB=5FSPLIT + TAB=5FARCH=5FX= 64
>
> TAB=5FPPIS=5FIP=46 =3D TAB=5FPPIS + TAB=5F= SPLIT + TAB=5FARCH=5FIP=46
>
> TAB=5FPPIS=5FARM= =3D TAB=5FPPIS + TAB=5FSPLIT + TAB=5FARCH=5FARM
>
> +TAB=5FPPIS=5FLOONGARCH64 =3D TAB=5FPPIS + TAB=5FSPLIT +
= > TAB=5FARCH=5FLOONGARCH64
>
> TAB=5FPPIS=5F= EBC =3D TAB=5FPPIS + TAB=5FSPLIT + TAB=5FARCH=5FEBC
>
<= div>>
>
> TAB=5FLIBRARY=5FCLASSES =3D 'Libra= ryClasses'
>
> =40=40 -502,6 +510,7 =40=40 TAB=5F= LIBRARY=5FCLASSES=5FIA32 =3D
> TAB=5FLIBRARY=5FCLASSES + TAB= =5FSPLIT + TAB=5FARCH=5FIA32
> TAB=5FLIBRARY=5FCLASSES=5FX64= =3D TAB=5FLIBRARY=5FCLASSES + TAB=5FSPLIT +
> TAB=5FARCH=5F= X64
>
> TAB=5FLIBRARY=5FCLASSES=5FIP=46 =3D TAB= =5FLIBRARY=5FCLASSES + TAB=5FSPLIT +
> TAB=5FARCH=5FIP=46
>
> TAB=5FLIBRARY=5FCLASSES=5FARM =3D TAB=5FLIBRA= RY=5FCLASSES + TAB=5FSPLIT +
> TAB=5FARCH=5FARM
&g= t;
> +TAB=5FLIBRARY=5FCLASSES=5FLOONGARCH64 =3D TAB=5FLIBRAR= Y=5FCLASSES +
> TAB=5FSPLIT + TAB=5FARCH=5FLOONGARCH64
=
>
> TAB=5FLIBRARY=5FCLASSES=5FEBC =3D TAB=5FLIBRARY=5F= CLASSES + TAB=5FSPLIT +
> TAB=5FARCH=5FEBC
>
>
>
> TAB=5FPACKAGES =3D 'Packages'<= /div>
>
> =40=40 -510,6 +519,7 =40=40 TAB=5FPACKAGES=5F= IA32 =3D TAB=5FPACKAGES + TAB=5FSPLIT +
> TAB=5FARCH=5FIA32<= /div>
> TAB=5FPACKAGES=5FX64 =3D TAB=5FPACKAGES + TAB=5FSPLIT + TA= B=5FARCH=5FX64
>
> TAB=5FPACKAGES=5FIP=46 =3D T= AB=5FPACKAGES + TAB=5FSPLIT + TAB=5FARCH=5FIP=46
>
> TAB=5FPACKAGES=5FARM =3D TAB=5FPACKAGES + TAB=5FSPLIT + TAB=5FARCH=5F= ARM
>
> +TAB=5FPACKAGES=5FLOONGARCH64 =3D TAB=5F= PACKAGES + TAB=5FSPLIT +
> TAB=5FARCH=5FLOONGARCH64
>
> TAB=5FPACKAGES=5FEBC =3D TAB=5FPACKAGES + TAB=5FSPL= IT + TAB=5FARCH=5FEBC
>
>
>
<= div>> TAB=5FPCDS =3D 'Pcds'
>
> =40=40 -548,= 6 +558,8 =40=40 TAB=5FPCDS=5F=46IXED=5FAT=5FBUILD=5FIP=46 =3D TAB=5FPCDS = +
> TAB=5FPCDS=5F=46IXED=5FAT=5FBUILD + =5C
> T= AB=5FSPLIT + TAB=5FARCH=5FIP=46
>
> TAB=5FPCDS=5F= =46IXED=5FAT=5FBUILD=5FARM =3D TAB=5FPCDS +
> TAB=5FPCDS=5F=46= IXED=5FAT=5FBUILD + =5C
>
> TAB=5FSPLIT + TAB=5F= ARCH=5FARM
>
> +TAB=5FPCDS=5F=46IXED=5FAT=5FBUI= LD=5FLOONGARCH64 =3D TAB=5FPCDS +
> TAB=5FPCDS=5F=46IXED=5FA= T=5FBUILD + =5C
>
> +TAB=5FSPLIT + TAB=5FARCH=5F= LOONGARCH64
>
> TAB=5FPCDS=5F=46IXED=5FAT=5FBUI= LD=5FEBC =3D TAB=5FPCDS +
> TAB=5FPCDS=5F=46IXED=5FAT=5FBUIL= D + =5C
>
> TAB=5FSPLIT + TAB=5FARCH=5FEBC
>
>
>
> =40=40 -562,6 +57= 4,8 =40=40 TAB=5FPCDS=5FPATCHABLE=5FIN=5FMODULE=5FIP=46 =3D
>= ; TAB=5FPCDS + TAB=5FPCDS=5FPATCHABLE=5FIN=5FMODULE + =5C
> = TAB=5FSPLIT + TAB=5FARCH=5FIP=46
>
> TAB=5FPCDS= =5FPATCHABLE=5FIN=5FMODULE=5FARM =3D TAB=5FPCDS +
> TAB=5FPC= DS=5FPATCHABLE=5FIN=5FMODULE + =5C
>
> TAB=5FSP= LIT + TAB=5FARCH=5FARM
>
> +TAB=5FPCDS=5FPATCHA= BLE=5FIN=5FMODULE=5FLOONGARCH64 =3D TAB=5FPCDS +
> TAB=5FPCD= S=5FPATCHABLE=5FIN=5FMODULE + =5C
>
> +TAB=5FSP= LIT + TAB=5FARCH=5FLOONGARCH64
>
> TAB=5FPCDS=5F= PATCHABLE=5FIN=5FMODULE=5FEBC =3D TAB=5FPCDS +
> TAB=5FPCDS=5F= PATCHABLE=5FIN=5FMODULE + =5C
>
> TAB=5FSPLIT += TAB=5FARCH=5FEBC
>
>
>
= > =40=40 -576,6 +590,8 =40=40 TAB=5FPCDS=5F=46EATURE=5F=46LAG=5FIP=46 = =3D TAB=5FPCDS +
> TAB=5FPCDS=5F=46EATURE=5F=46LAG + TAB=5FS= PLIT + =5C
> TAB=5FARCH=5FIP=46
>
>= ; TAB=5FPCDS=5F=46EATURE=5F=46LAG=5FARM =3D TAB=5FPCDS + TAB=5FPCDS=5F=46= EATURE=5F=46LAG
> + TAB=5FSPLIT + =5C
>
> TAB=5FARCH=5FARM
>
> +TAB=5FPCDS=5F=46E= ATURE=5F=46LAG=5FLOONGARCH64 =3D TAB=5FPCDS +
> TAB=5FPCDS=5F= =46EATURE=5F=46LAG + TAB=5FSPLIT + =5C
>
> +TAB= =5FARCH=5FLOONGARCH64
>
> TAB=5FPCDS=5F=46EATUR= E=5F=46LAG=5FEBC =3D TAB=5FPCDS + TAB=5FPCDS=5F=46EATURE=5F=46LAG +
=
> TAB=5FSPLIT + =5C
>
> TAB=5FARCH=5FEB= C
>
>
>
> =40=40 -593= ,6 +609,8 =40=40 TAB=5FPCDS=5FDYNAMIC=5FEX=5FIP=46 =3D TAB=5FPCDS +
=
> TAB=5FPCDS=5FDYNAMIC=5FEX + TAB=5FSPLIT + =5C
> TA= B=5FARCH=5FIP=46
>
> TAB=5FPCDS=5FDYNAMIC=5FEX=5F= ARM =3D TAB=5FPCDS + TAB=5FPCDS=5FDYNAMIC=5FEX +
> TAB=5FSPL= IT + =5C
>
> TAB=5FARCH=5FARM
>
> +TAB=5FPCDS=5FDYNAMIC=5FEX=5FLOONGARCH64 =3D TAB=5FPCDS +
> TAB=5FPCDS=5FDYNAMIC=5FEX + TAB=5FSPLIT + =5C
>=
> +TAB=5FARCH=5FLOONGARCH64
>
> T= AB=5FPCDS=5FDYNAMIC=5FEX=5FEBC =3D TAB=5FPCDS + TAB=5FPCDS=5FDYNAMIC=5FEX= +
> TAB=5FSPLIT + =5C
>
> TAB=5FA= RCH=5FEBC
>
>
>
> =40= =40 -606,6 +624,7 =40=40 TAB=5FPCDS=5FDYNAMIC=5FIA32 =3D TAB=5FPCDS +
> TAB=5FPCDS=5FDYNAMIC + TAB=5FSPLIT + TAB=5FARCH=5FIA32
<= div>> TAB=5FPCDS=5FDYNAMIC=5FX64 =3D TAB=5FPCDS + TAB=5FPCDS=5FDYNAMIC= + TAB=5FSPLIT
> + TAB=5FARCH=5FX64
>
> TAB=5FPCDS=5FDYNAMIC=5FIP=46 =3D TAB=5FPCDS + TAB=5FPCDS=5FDYNAMIC = + TAB=5FSPLIT
> + TAB=5FARCH=5FIP=46
>
> TAB=5FPCDS=5FDYNAMIC=5FARM =3D TAB=5FPCDS + TAB=5FPCDS=5FDYNAMIC +=
> TAB=5FSPLIT + TAB=5FARCH=5FARM
>
&= gt; +TAB=5FPCDS=5FDYNAMIC=5FLOONGARCH64 =3D TAB=5FPCDS + TAB=5FPCDS=5FDYN= AMIC
> + TAB=5FSPLIT + TAB=5FARCH=5FLOONGARCH64
&g= t;
> TAB=5FPCDS=5FDYNAMIC=5FEBC =3D TAB=5FPCDS + TAB=5FPCDS=5F= DYNAMIC + TAB=5FSPLIT
> + TAB=5FARCH=5FEBC
>
>
>
> TAB=5FPCD=5FDYNAMIC=5FTYPE=5FL= IST =3D =5BTAB=5FPCDS=5FDYNAMIC=5FDE=46AULT=5FNULL, =5C
>
> =40=40 -646,6 +665,7 =40=40 TAB=5FDEPEX=5FIA32 =3D TAB=5FDEP= EX + TAB=5FSPLIT +
> TAB=5FARCH=5FIA32
> TAB=5F= DEPEX=5FX64 =3D TAB=5FDEPEX + TAB=5FSPLIT + TAB=5FARCH=5FX64
&g= t;
> TAB=5FDEPEX=5FIP=46 =3D TAB=5FDEPEX + TAB=5FSPLIT + TAB= =5FARCH=5FIP=46
>
> TAB=5FDEPEX=5FARM =3D TAB=5F= DEPEX + TAB=5FSPLIT + TAB=5FARCH=5FARM
>
> +TAB= =5FDEPEX=5FLOONGARCH64 =3D TAB=5FDEPEX + TAB=5FSPLIT +
> TAB= =5FARCH=5FLOONGARCH64
>
> TAB=5FDEPEX=5FEBC =3D= TAB=5FDEPEX + TAB=5FSPLIT + TAB=5FARCH=5FEBC
>
&g= t;
>
> TAB=5FSKUIDS =3D 'SkuIds'
>=
> =40=40 -656,6 +676,7 =40=40 TAB=5FLIBRARIES=5FIA32 =3D TA= B=5FLIBRARIES + TAB=5FSPLIT +
> TAB=5FARCH=5FIA32
= > TAB=5FLIBRARIES=5FX64 =3D TAB=5FLIBRARIES + TAB=5FSPLIT + TAB=5FARCH= =5FX64
>
> TAB=5FLIBRARIES=5FIP=46 =3D TAB=5FLI= BRARIES + TAB=5FSPLIT + TAB=5FARCH=5FIP=46
>
> = TAB=5FLIBRARIES=5FARM =3D TAB=5FLIBRARIES + TAB=5FSPLIT + TAB=5FARCH=5FAR= M
>
> +TAB=5FLIBRARIES=5FLOONGARCH64 =3D TAB=5F= LIBRARIES + TAB=5FSPLIT +
> TAB=5FARCH=5FLOONGARCH64
>
> TAB=5FLIBRARIES=5FEBC =3D TAB=5FLIBRARIES + TAB=5F= SPLIT + TAB=5FARCH=5FEBC
>
>
>
> TAB=5FCOMPONENTS =3D 'Components'
>
&g= t; =40=40 -664,6 +685,7 =40=40 TAB=5FCOMPONENTS=5FIA32 =3D TAB=5FCOMPONEN= TS +
> TAB=5FSPLIT + TAB=5FARCH=5FIA32
> TAB=5F= COMPONENTS=5FX64 =3D TAB=5FCOMPONENTS + TAB=5FSPLIT +
> TAB=5F= ARCH=5FX64
>
> TAB=5FCOMPONENTS=5FIP=46 =3D TAB= =5FCOMPONENTS + TAB=5FSPLIT + TAB=5FARCH=5FIP=46
>
> TAB=5FCOMPONENTS=5FARM =3D TAB=5FCOMPONENTS + TAB=5FSPLIT +
> TAB=5FARCH=5FARM
>
> +TAB=5FCOMPONENTS=5F= LOONGARCH64 =3D TAB=5FCOMPONENTS + TAB=5FSPLIT +
> TAB=5FARC= H=5FLOONGARCH64
>
> TAB=5FCOMPONENTS=5FEBC =3D = TAB=5FCOMPONENTS + TAB=5FSPLIT +
> TAB=5FARCH=5FEBC
>
>
>
> TAB=5FBUILD=5FOPTIONS= =3D 'BuildOptions'
>
> diff --git a/BaseTools/= Source/Python/build/buildoptions.py
> b/BaseTools/Source/Pyt= hon/build/buildoptions.py
> index 39d92cff20..8334604b46 100= 644
> --- a/BaseTools/Source/Python/build/buildoptions.py
> +++ b/BaseTools/Source/Python/build/buildoptions.py
> =40=40 -4,6 +4,7 =40=40
> =23 Copyright (c) 2014, Hew= lett-Packard Development Company, L.P.<BR>
>
> =23 Copyright (c) 2007 - 2021, Intel Corporation. All rights reserv= ed.<BR>
>
> =23 Copyright (c) 2018 - 2020= , Hewlett Packard Enterprise Development,
> L.P.<BR>
>
> +=23 Copyright (c) 2022, Loongson Technology= Corporation Limited. All
rights
> reserved.<BR= >
>
> =23
>
> =23 = SPDX-License-Identifier: BSD-2-Clause-Patent
>
>= ; =23
>
> =40=40 -41,7 +42,7 =40=40 class MyOpt= ionParser():
> def GetOption(self):
>
> Parser =3D OptionParser(description=3D=5F=5Fcopyright=5F=5F,
<= div>> version=3D=5F=5Fversion=5F=5F, prog=3D=22build.exe=22, usage=3D=22= %prog =5Boptions=5D
> =5Ball=7Cfds=7Cgenc=7Cgenmake=7Cclean=7C= cleanall=7Ccleanlib=7Cmodules=7Clibraries=7Crun=5D=22)
>
> Parser.add=5Foption(=22-a=22, =22--arch=22, action=3D=22appen= d=22,
> dest=3D=22TargetArch=22,
>
&g= t; - help=3D=22ARCHS is one of list: IA32, X64, ARM, AARCH64,
&= gt; RISCV64 or EBC, which overrides target.txt's TARGET=5FARCH definition= . To
> specify more archs, please repeat this option.=22)
>
> + help=3D=22ARCHS is one of list: IA32, X64, = ARM, AARCH64,
> RISCV64, LOONGARCH64 or EBC, which overrides= target.txt's TARGET=5FARCH
> definition. To specify more ar= chs, please repeat this option.=22)
>
> Parser.= add=5Foption(=22-p=22, =22--platform=22, action=3D=22callback=22,
> type=3D=22string=22, dest=3D=22Platform=46ile=22, callback=3DSing= leCheckCallback,
>
> help=3D=22Build the platfo= rm specified by the DSC file name
> argument, overriding tar= get.txt's ACTIVE=5FPLAT=46ORM definition.=22)
>
&g= t; Parser.add=5Foption(=22-m=22, =22--module=22, action=3D=22callback=22,=
> type=3D=22string=22, dest=3D=22Module=46ile=22, callback=3D= SingleCheckCallback,
>
> --
> 2.27= .0
--6322d386_4b9993d5_10c77--