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.web12.4690.1663914166261937285 for ; Thu, 22 Sep 2022 23:22:46 -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 AQAAf8Cx72utUC1jfIQgAA--.53510S2; Fri, 23 Sep 2022 14:22:37 +0800 (CST) Date: Fri, 23 Sep 2022 14:22:37 +0800 From: "Chao Li" To: Michael D Kinney Cc: Liming Gao , Zhiguang Liu , "=?utf-8?Q?devel=40edk2.groups.io?=" Message-ID: <2A69E6D3-5F90-409E-A2D5-EEA0DD36EEFB@getmailspring.com> In-Reply-To: <20220914093630.3636435-9-lichao@loongson.cn> References: <20220914093630.3636435-9-lichao@loongson.cn> Subject: Re: [PATCH v2 08/34] MdePkg/Include: Add LOONGARCH related definitions EDK2 CI. X-Mailer: Mailspring MIME-Version: 1.0 X-CM-TRANSID: AQAAf8Cx72utUC1jfIQgAA--.53510S2 X-Coremail-Antispam: 1UD129KBjvJXoWxAF1fXF1UZFy5AF1xur13XFb_yoWruFy7pr 1rAFyfX397KF13uF97Ka1UC34xWrs5t3s5Xry2q3yUCF1jy3y8Kw1DWFW5KryDXr48XryF gFn5A3W0gFnxArJanT9S1TB71UUUUUUqnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDU0xBIdaVrnRJUUUBlb7Iv0xC_tr1lb4IE77IF4wAFF20E14v26r1j6r4UM7CY07I2 0VC2zVCF04k26cxKx2IYs7xG6rWj6s0DM7CIcVAFz4kK6r1j6r18M28lY4IEw2IIxxk0rw A2F7IY1VAKz4vEj48ve4kI8wA2z4x0Y4vE2Ix0cI8IcVAFwI0_Xr0_Ar1l84ACjcxK6xII jxv20xvEc7CjxVAFwI0_Cr0_Gr1UM28EF7xvwVC2z280aVAFwI0_Cr1j6rxdM28EF7xvwV C2z280aVCY1x0267AKxVW0oVCq3wAS0I0E0xvYzxvE52x082IY62kv0487Mc02F40Eb7x2 x7xS6r1j6r4UMc02F40EFcxC0VAKzVAqx4xG6I80ewAqx4xG64kEw2xG04xIwI0_Xr0_Wr 1lYx0E2Ix0cI8IcVAFwI0_Jr0_Jr4lYx0Ex4A2jsIE14v26r4j6F4UMcvjeVCFs4IE7xkE bVWUJVW8JwACjcxG0xvY0x0EwIxGrwCjr7xvwVCIw2I0I7xG6c02F41lc2xSY4AK6svPMx AIw28IcxkI7VAKI48JMxC20s026xCaFVCjc4AY6r1j6r4UMI8I3I0E5I8CrVAFwI0_JrI_ JrWlx2IqxVCjr7xvwVAFwI0_JrI_JrWlx4CE17CEb7AF67AKxVWUAVWUtwCIc40Y0x0EwI xGrwCI42IY6xIIjxv20xvE14v26r1j6r1xMIIF0xvE2Ix0cI8IcVCY1x0267AKxVWUJVW8 JwCI42IY6xAIw20EY4v20xvaj40_Jr0_JF4lIxAIcVC2z280aVAFwI0_Gr0_Cr1lIxAIcV C2z280aVCY1x0267AKxVW8JVW8JrUvcSsGvfC2KfnxnUUI43ZEXa7IU0UfHUUUUUU== X-CM-SenderInfo: xolfxt3r6o00pqjv00gofq/1tbiAQASCGMsUF0S9gAAs9 Content-Type: multipart/alternative; boundary="632d50ad_763639f1_dbe1" --632d50ad_763639f1_dbe1 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi Mike, In the V2, I updated the IANA URL link in Dhcp.h, can you review this pat= ch again=3F Thanks, Chao -------- On 9=E6=9C=88 14 2022, at 5:36 =E4=B8=8B=E5=8D=88, Chao Li wrote: > RE=46: https://bugzilla.tianocore.org/show=5Fbug.cgi=3Fid=3D4053 > > HTTP/PXE boot LOONGARCH64 related definitions for EDK2 CI. > =46or the LOONGARCH values, please seeing following URL section > =22Processor Architecture Types=22: > https://www.iana.org/assignments/dhcpv6-parameters/dhcpv6-parameters.xh= tml > > Cc: Michael D Kinney > Cc: Liming Gao > Cc: Zhiguang Liu > > Signed-off-by: Chao Li > --- > MdePkg/Include/IndustryStandard/Dhcp.h =7C 45 ++++++++++++++-----------= - > 1 file changed, 25 insertions(+), 20 deletions(-) > > diff --git a/MdePkg/Include/IndustryStandard/Dhcp.h b/MdePkg/Include/In= dustryStandard/Dhcp.h > index f209f1b2eb..46ab4f8e75 100644 > --- a/MdePkg/Include/IndustryStandard/Dhcp.h > +++ b/MdePkg/Include/IndustryStandard/Dhcp.h > =40=40 -4,6 +4,7 =40=40 > > > Copyright (c) 2016, Intel Corporation. All rights reserved.
> Copyright (c) 2020, Hewlett Packard Enterprise Development LP. All righ= ts reserved.
> + Copyright (c) 2022, Loongson Technology Corporation Limited. All righ= ts reserved.
> SPDX-License-Identifier: BSD-2-Clause-Patent > **/ > > > =40=40 -256,27 +257,31 =40=40 typedef enum =7B > > /// > /// Processor Architecture Types > -/// These identifiers are defined by IET=46: > -/// http://www.ietf.org/assignments/dhcpv6-parameters/dhcpv6-parameter= s.xml > +/// These identifiers are defined by IANA: > +/// https://www.iana.org/assignments/dhcpv6-parameters/dhcpv6-paramete= rs.xhtml > /// > -=23define PXE=5FCLIENT=5FARCH=5FX86=5FBIOS 0x0000 /// x86 BIOS for PXE= > -=23define PXE=5FCLIENT=5FARCH=5FIP=46 0x0002 /// Itanium for PXE > -=23define PXE=5FCLIENT=5FARCH=5FIA32 0x0006 /// x86 uefi for PXE > -=23define PXE=5FCLIENT=5FARCH=5FX64 0x0007 /// x64 uefi for PXE > -=23define PXE=5FCLIENT=5FARCH=5FEBC 0x0009 /// EBC for PXE > -=23define PXE=5FCLIENT=5FARCH=5FARM 0x000A /// Arm uefi 32 for PXE > -=23define PXE=5FCLIENT=5FARCH=5FAARCH64 0x000B /// Arm uefi 64 for PXE= > -=23define PXE=5FCLIENT=5FARCH=5FRISCV32 0x0019 /// RISC-V uefi 32 for = PXE > -=23define PXE=5FCLIENT=5FARCH=5FRISCV64 0x001B /// RISC-V uefi 64 for = PXE > -=23define PXE=5FCLIENT=5FARCH=5FRISCV128 0x001D /// RISC-V uefi 128 fo= r PXE > +=23define PXE=5FCLIENT=5FARCH=5FX86=5FBIOS 0x0000 /// x86 BIOS for PXE= > +=23define PXE=5FCLIENT=5FARCH=5FIP=46 0x0002 /// Itanium for PXE > +=23define PXE=5FCLIENT=5FARCH=5FIA32 0x0006 /// x86 uefi for PXE > +=23define PXE=5FCLIENT=5FARCH=5FX64 0x0007 /// x64 uefi for PXE > +=23define PXE=5FCLIENT=5FARCH=5FEBC 0x0009 /// EBC for PXE > +=23define PXE=5FCLIENT=5FARCH=5FARM 0x000A /// Arm uefi 32 for PXE > +=23define PXE=5FCLIENT=5FARCH=5FAARCH64 0x000B /// Arm uefi 64 for PXE= > +=23define PXE=5FCLIENT=5FARCH=5FRISCV32 0x0019 /// RISC-V uefi 32 for = PXE > +=23define PXE=5FCLIENT=5FARCH=5FRISCV64 0x001B /// RISC-V uefi 64 for = PXE > +=23define PXE=5FCLIENT=5FARCH=5FRISCV128 0x001D /// RISC-V uefi 128 fo= r PXE > +=23define PXE=5FCLIENT=5FARCH=5FLOONGARCH32 0x0025 /// LoongArch uefi = 32 for PXE > +=23define PXE=5FCLIENT=5FARCH=5FLOONGARCH64 0x0027 /// LoongArch uefi = 64 for PXE > > > -=23define HTTP=5FCLIENT=5FARCH=5FIA32 0x000=46 /// x86 uefi boot from = http > -=23define HTTP=5FCLIENT=5FARCH=5FX64 0x0010 /// x64 uefi boot from htt= p > -=23define HTTP=5FCLIENT=5FARCH=5FEBC 0x0011 /// EBC boot from http > -=23define HTTP=5FCLIENT=5FARCH=5FARM 0x0012 /// Arm uefi 32 boot from = http > -=23define HTTP=5FCLIENT=5FARCH=5FAARCH64 0x0013 /// Arm uefi 64 boot f= rom http > -=23define HTTP=5FCLIENT=5FARCH=5FRISCV32 0x001A /// RISC-V uefi 32 boo= t from http > -=23define HTTP=5FCLIENT=5FARCH=5FRISCV64 0x001C /// RISC-V uefi 64 boo= t from http > -=23define HTTP=5FCLIENT=5FARCH=5FRISCV128 0x001E /// RISC-V uefi 128 b= oot from http > +=23define HTTP=5FCLIENT=5FARCH=5FIA32 0x000=46 /// x86 uefi boot from = http > +=23define HTTP=5FCLIENT=5FARCH=5FX64 0x0010 /// x64 uefi boot from htt= p > +=23define HTTP=5FCLIENT=5FARCH=5FEBC 0x0011 /// EBC boot from http > +=23define HTTP=5FCLIENT=5FARCH=5FARM 0x0012 /// Arm uefi 32 boot from = http > +=23define HTTP=5FCLIENT=5FARCH=5FAARCH64 0x0013 /// Arm uefi 64 boot f= rom http > +=23define HTTP=5FCLIENT=5FARCH=5FRISCV32 0x001A /// RISC-V uefi 32 boo= t from http > +=23define HTTP=5FCLIENT=5FARCH=5FRISCV64 0x001C /// RISC-V uefi 64 boo= t from http > +=23define HTTP=5FCLIENT=5FARCH=5FRISCV128 0x001E /// RISC-V uefi 128 b= oot from http > +=23define HTTP=5FCLIENT=5FARCH=5FLOONGARCH32 0x0026 /// LoongArch uefi= 32 boot from http > +=23define HTTP=5FCLIENT=5FARCH=5FLOONGARCH64 0x0028 /// LoongArch uefi= 64 boot from http > > > =23endif > -- > 2.27.0 > --632d50ad_763639f1_dbe1 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline
Hi Mike,
In the V2, I updated the IANA URL link in Dhcp.h,= can you review this patch again=3F


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

On 9=E6=9C=88 14 2022, at 5:36 =E4=B8=8B=E5=8D=88,= Chao Li <lichao=40loongson.cn> wrote:
R= E=46: https://bugzilla.tianocore.org/show=5Fbug.cgi=3Fid=3D4053

=
HTTP/PXE boot LOONGARCH64 related definitions for EDK2 CI.

=
=46or the LOONGARCH values, please seeing following URL section
=22Processor Architecture Types=22:
https://www.iana.org/= assignments/dhcpv6-parameters/dhcpv6-parameters.xhtml

Cc: M= ichael D Kinney <michael.d.kinney=40intel.com>
Cc: Liming= Gao <gaoliming=40byosoft.com.cn>
Cc: Zhiguang Liu <zh= iguang.liu=40intel.com>

Signed-off-by: Chao Li <licha= o=40loongson.cn>
---
MdePkg/Include/IndustryStanda= rd/Dhcp.h =7C 45 ++++++++++++++------------
1 file changed, 25 = insertions(+), 20 deletions(-)

diff --git a/MdePkg/Include/= IndustryStandard/Dhcp.h b/MdePkg/Include/IndustryStandard/Dhcp.h
index f209f1b2eb..46ab4f8e75 100644
--- a/MdePkg/Include/Indu= stryStandard/Dhcp.h
+++ b/MdePkg/Include/IndustryStandard/Dhcp.= h
=40=40 -4,6 +4,7 =40=40


Copyright (c) 2016,= Intel Corporation. All rights reserved.<BR>

Copyrigh= t (c) 2020, Hewlett Packard Enterprise Development LP. All rights reserve= d.<BR>

+ Copyright (c) 2022, Loongson Technology Corp= oration Limited. All rights reserved.<BR>

SPDX-Licens= e-Identifier: BSD-2-Clause-Patent

**/



=40=40 -256,27 +257,31 =40=40 typedef enum =7B


///
/// Processor Architecture Types

-/// These iden= tifiers are defined by IET=46:

-/// http://www.ietf.org/ass= ignments/dhcpv6-parameters/dhcpv6-parameters.xml

+/// These= identifiers are defined by IANA:

+/// https://www.iana.org= /assignments/dhcpv6-parameters/dhcpv6-parameters.xhtml

///<= /div>
-=23define PXE=5FCLIENT=5FARCH=5FX86=5FBIOS 0x0000 /// x86 = BIOS for PXE

-=23define PXE=5FCLIENT=5FARCH=5FIP=46 0x0002 = /// Itanium for PXE

-=23define PXE=5FCLIENT=5FARCH=5FIA32 0= x0006 /// x86 uefi for PXE

-=23define PXE=5FCLIENT=5FARCH=5F= X64 0x0007 /// x64 uefi for PXE

-=23define PXE=5FCLIENT=5FA= RCH=5FEBC 0x0009 /// EBC for PXE

-=23define PXE=5FCLIENT=5F= ARCH=5FARM 0x000A /// Arm uefi 32 for PXE

-=23define PXE=5F= CLIENT=5FARCH=5FAARCH64 0x000B /// Arm uefi 64 for PXE

-=23= define PXE=5FCLIENT=5FARCH=5FRISCV32 0x0019 /// RISC-V uefi 32 for PXE
-=23define PXE=5FCLIENT=5FARCH=5FRISCV64 0x001B /// RISC-V ue= fi 64 for PXE

-=23define PXE=5FCLIENT=5FARCH=5FRISCV128 0x0= 01D /// RISC-V uefi 128 for PXE

+=23define PXE=5FCLIENT=5FA= RCH=5FX86=5FBIOS 0x0000 /// x86 BIOS for PXE

+=23define PXE= =5FCLIENT=5FARCH=5FIP=46 0x0002 /// Itanium for PXE

+=23def= ine PXE=5FCLIENT=5FARCH=5FIA32 0x0006 /// x86 uefi for PXE

= +=23define PXE=5FCLIENT=5FARCH=5FX64 0x0007 /// x64 uefi for PXE
+=23define PXE=5FCLIENT=5FARCH=5FEBC 0x0009 /// EBC for PXE
+=23define PXE=5FCLIENT=5FARCH=5FARM 0x000A /// Arm uefi 32 for PX= E

+=23define PXE=5FCLIENT=5FARCH=5FAARCH64 0x000B /// Arm u= efi 64 for PXE

+=23define PXE=5FCLIENT=5FARCH=5FRISCV32 0x0= 019 /// RISC-V uefi 32 for PXE

+=23define PXE=5FCLIENT=5FAR= CH=5FRISCV64 0x001B /// RISC-V uefi 64 for PXE

+=23define P= XE=5FCLIENT=5FARCH=5FRISCV128 0x001D /// RISC-V uefi 128 for PXE
+=23define PXE=5FCLIENT=5FARCH=5FLOONGARCH32 0x0025 /// LoongArch u= efi 32 for PXE

+=23define PXE=5FCLIENT=5FARCH=5FLOONGARCH64= 0x0027 /// LoongArch uefi 64 for PXE



-=23define HT= TP=5FCLIENT=5FARCH=5FIA32 0x000=46 /// x86 uefi boot from http

<= div>-=23define HTTP=5FCLIENT=5FARCH=5FX64 0x0010 /// x64 uefi boot from h= ttp

-=23define HTTP=5FCLIENT=5FARCH=5FEBC 0x0011 /// EBC bo= ot from http

-=23define HTTP=5FCLIENT=5FARCH=5FARM 0x0012 /= // Arm uefi 32 boot from http

-=23define HTTP=5FCLIENT=5FAR= CH=5FAARCH64 0x0013 /// Arm uefi 64 boot from http

-=23defi= ne HTTP=5FCLIENT=5FARCH=5FRISCV32 0x001A /// RISC-V uefi 32 boot from htt= p

-=23define HTTP=5FCLIENT=5FARCH=5FRISCV64 0x001C /// RISC= -V uefi 64 boot from http

-=23define HTTP=5FCLIENT=5FARCH=5F= RISCV128 0x001E /// RISC-V uefi 128 boot from http

+=23defi= ne HTTP=5FCLIENT=5FARCH=5FIA32 0x000=46 /// x86 uefi boot from http
=
+=23define HTTP=5FCLIENT=5FARCH=5FX64 0x0010 /// x64 uefi boot f= rom http

+=23define HTTP=5FCLIENT=5FARCH=5FEBC 0x0011 /// E= BC boot from http

+=23define HTTP=5FCLIENT=5FARCH=5FARM 0x0= 012 /// Arm uefi 32 boot from http

+=23define HTTP=5FCLIENT= =5FARCH=5FAARCH64 0x0013 /// Arm uefi 64 boot from http

+=23= define HTTP=5FCLIENT=5FARCH=5FRISCV32 0x001A /// RISC-V uefi 32 boot from= http

+=23define HTTP=5FCLIENT=5FARCH=5FRISCV64 0x001C /// = RISC-V uefi 64 boot from http

+=23define HTTP=5FCLIENT=5FAR= CH=5FRISCV128 0x001E /// RISC-V uefi 128 boot from http

+=23= define HTTP=5FCLIENT=5FARCH=5FLOONGARCH32 0x0026 /// LoongArch uefi 32 bo= ot from http

+=23define HTTP=5FCLIENT=5FARCH=5FLOONGARCH64 = 0x0028 /// LoongArch uefi 64 boot from http



=23endi= f

--
2.27.0
--632d50ad_763639f1_dbe1--