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.web09.23547.1644389594630759284 for ; Tue, 08 Feb 2022 22:53:15 -0800 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: loongson.cn, ip: 114.242.206.163, mailfrom: lichao@loongson.cn) Received: from code-server.gen (unknown [10.2.9.245]) by mail.loongson.cn (Coremail) with SMTP id AQAAf9AxiuDQZANidYsIAA--.24450S2; Wed, 09 Feb 2022 14:53:11 +0800 (CST) From: "Chao Li" To: devel@edk2.groups.io Cc: Michael D Kinney , Liming Gao , Zhiguang Liu Subject: [staging/LoongArch RESEND PATCH v1 06/33] MdePkg/Include: Add LOONGARCH related definitions EDK2 CI. Date: Wed, 9 Feb 2022 14:53:04 +0800 Message-Id: <20220209065304.2983925-1-lichao@loongson.cn> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 X-CM-TRANSID: AQAAf9AxiuDQZANidYsIAA--.24450S2 X-Coremail-Antispam: 1UD129KBjvJXoWxAFWkWrWUXryUGryrXryUAwb_yoWrXF47pr 18AFyrX397KF13uF97Kw48CryxXr4rt3s5Xry2q3yUCF1DA3y8Kw1DWFW5KryDXr48XryF gFn3A3W09FnxAr7anT9S1TB71UUUUU7qnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDU0xBIdaVrnRJUUUvab7Iv0xC_Cr1lb4IE77IF4wAFF20E14v26r1j6r4UM7CY07I2 0VC2zVCF04k26cxKx2IYs7xG6rWj6s0DM7CIcVAFz4kK6r1j6r18M28lY4IEw2IIxxk0rw A2F7IY1VAKz4vEj48ve4kI8wA2z4x0Y4vE2Ix0cI8IcVAFwI0_Xr0_Ar1l84ACjcxK6xII jxv20xvEc7CjxVAFwI0_Cr0_Gr1UM28EF7xvwVC2z280aVAFwI0_Cr1j6rxdM28EF7xvwV C2z280aVCY1x0267AKxVW0oVCq3wAS0I0E0xvYzxvE52x082IY62kv0487Mc02F40EFcxC 0VAKzVAqx4xG6I80ewAv7VC0I7IYx2IY67AKxVWUtVWrXwAv7VCY1x0262k0Y48FwI0_Jr 0_Gr1lYx0Ex4A2jsIE14v26r4j6F4UMcvjeVCFs4IE7xkEbVWUJVW8JwACjcxG0xvY0x0E wIxGrwCY02Avz4vE-syl42xK82IYc2Ij64vIr41l4I8I3I0E4IkC6x0Yz7v_Jr0_Gr1lx2 IqxVAqx4xG67AKxVWUJVWUGwC20s026x8GjcxK67AKxVWUGVWUWwC2zVAF1VAY17CE14v2 6r126r1DMIIYrxkI7VAKI48JMIIF0xvE2Ix0cI8IcVAFwI0_JFI_Gr1lIxAIcVC0I7IYx2 IY6xkF7I0E14v26r4j6F4UMIIF0xvE42xK8VAvwI8IcIk0rVW8JVW3JwCI42IY6I8E87Iv 67AKxVW8JVWxJwCI42IY6I8E87Iv6xkF7I0E14v26r4j6r4UJbIYCTnIWIevJa73UjIFyT uYvjxUxWlkDUUUU X-CM-SenderInfo: xolfxt3r6o00pqjv00gofq/1tbiAQAMCF3QvO0LnAADsN Content-Transfer-Encoding: quoted-printable HTTP/PXE boot LOONGARCH64 related definitions for EDK2 CI. Cc: Michael D Kinney Cc: Liming Gao Cc: Zhiguang Liu Signed-off-by: Chao Li --- MdePkg/Include/IndustryStandard/Dhcp.h | 41 +++++++++++++++----------- 1 file changed, 23 insertions(+), 18 deletions(-) diff --git a/MdePkg/Include/IndustryStandard/Dhcp.h b/MdePkg/Include/Indust= ryStandard/Dhcp.h index f209f1b2eb..086d24422d 100644 --- a/MdePkg/Include/IndustryStandard/Dhcp.h +++ b/MdePkg/Include/IndustryStandard/Dhcp.h @@ -4,6 +4,7 @@ =0D Copyright (c) 2016, Intel Corporation. All rights reserved.
=0D Copyright (c) 2020, Hewlett Packard Enterprise Development LP. All right= s reserved.
=0D + Copyright (c) 2022, Loongson Technology Corporation Limited. All rights = reserved.
=0D SPDX-License-Identifier: BSD-2-Clause-Patent=0D **/=0D =0D @@ -259,24 +260,28 @@ typedef enum { /// These identifiers are defined by IETF:=0D /// http://www.ietf.org/assignments/dhcpv6-parameters/dhcpv6-parameters.xm= l=0D ///=0D -#define PXE_CLIENT_ARCH_X86_BIOS 0x0000 /// x86 BIOS for PXE=0D -#define PXE_CLIENT_ARCH_IPF 0x0002 /// Itanium for PXE=0D -#define PXE_CLIENT_ARCH_IA32 0x0006 /// x86 uefi for PXE=0D -#define PXE_CLIENT_ARCH_X64 0x0007 /// x64 uefi for PXE=0D -#define PXE_CLIENT_ARCH_EBC 0x0009 /// EBC for PXE=0D -#define PXE_CLIENT_ARCH_ARM 0x000A /// Arm uefi 32 for PXE= =0D -#define PXE_CLIENT_ARCH_AARCH64 0x000B /// Arm uefi 64 for PXE= =0D -#define PXE_CLIENT_ARCH_RISCV32 0x0019 /// RISC-V uefi 32 for = PXE=0D -#define PXE_CLIENT_ARCH_RISCV64 0x001B /// RISC-V uefi 64 for = PXE=0D -#define PXE_CLIENT_ARCH_RISCV128 0x001D /// RISC-V uefi 128 for= PXE=0D +#define PXE_CLIENT_ARCH_X86_BIOS 0x0000 /// x86 BIOS for PXE= =0D +#define PXE_CLIENT_ARCH_IPF 0x0002 /// Itanium for PXE= =0D +#define PXE_CLIENT_ARCH_IA32 0x0006 /// x86 uefi for PXE= =0D +#define PXE_CLIENT_ARCH_X64 0x0007 /// x64 uefi for PXE= =0D +#define PXE_CLIENT_ARCH_EBC 0x0009 /// EBC for PXE=0D +#define PXE_CLIENT_ARCH_ARM 0x000A /// Arm uefi 32 for = PXE=0D +#define PXE_CLIENT_ARCH_AARCH64 0x000B /// Arm uefi 64 for = PXE=0D +#define PXE_CLIENT_ARCH_RISCV32 0x0019 /// RISC-V uefi 32 f= or PXE=0D +#define PXE_CLIENT_ARCH_RISCV64 0x001B /// RISC-V uefi 64 f= or PXE=0D +#define PXE_CLIENT_ARCH_RISCV128 0x001D /// RISC-V uefi 128 = for PXE=0D +#define PXE_CLIENT_ARCH_LOONGARCH32 0x0025 /// LOONGARCH uefi 3= 2 for PXE=0D +#define PXE_CLIENT_ARCH_LOONGARCH64 0x0027 /// LOONGARCH uefi 6= 4 for PXE=0D =0D -#define HTTP_CLIENT_ARCH_IA32 0x000F /// x86 uefi boot from = http=0D -#define HTTP_CLIENT_ARCH_X64 0x0010 /// x64 uefi boot from = http=0D -#define HTTP_CLIENT_ARCH_EBC 0x0011 /// EBC boot from http= =0D -#define HTTP_CLIENT_ARCH_ARM 0x0012 /// Arm uefi 32 boot fr= om http=0D -#define HTTP_CLIENT_ARCH_AARCH64 0x0013 /// Arm uefi 64 boot fr= om http=0D -#define HTTP_CLIENT_ARCH_RISCV32 0x001A /// RISC-V uefi 32 boot= from http=0D -#define HTTP_CLIENT_ARCH_RISCV64 0x001C /// RISC-V uefi 64 boot= from http=0D -#define HTTP_CLIENT_ARCH_RISCV128 0x001E /// RISC-V uefi 128 boo= t from http=0D +#define HTTP_CLIENT_ARCH_IA32 0x000F /// x86 uefi boot fr= om http=0D +#define HTTP_CLIENT_ARCH_X64 0x0010 /// x64 uefi boot fr= om http=0D +#define HTTP_CLIENT_ARCH_EBC 0x0011 /// EBC boot from ht= tp=0D +#define HTTP_CLIENT_ARCH_ARM 0x0012 /// Arm uefi 32 boot= from http=0D +#define HTTP_CLIENT_ARCH_AARCH64 0x0013 /// Arm uefi 64 boot= from http=0D +#define HTTP_CLIENT_ARCH_RISCV32 0x001A /// RISC-V uefi 32 b= oot from http=0D +#define HTTP_CLIENT_ARCH_RISCV64 0x001C /// RISC-V uefi 64 b= oot from http=0D +#define HTTP_CLIENT_ARCH_RISCV128 0x001E /// RISC-V uefi 128 = boot from http=0D +#define HTTP_CLIENT_ARCH_LOONGARCH32 0x0026 /// LOONGARCH uefi 3= 2 boot from http=0D +#define HTTP_CLIENT_ARCH_LOONGARCH64 0x0028 /// LOONGARCH uefi 6= 4 boot from http=0D =0D #endif=0D --=20 2.27.0