* [PATCH v1 01/34] MdePkg: Added file of DebugSupport.h to MdePkg.ci.yaml
2022-09-08 4:47 [PATCH v1 00/34] Add a new architecture called LoongArch in EDK II Chao Li
@ 2022-09-08 4:47 ` Chao Li
2022-09-08 4:47 ` [PATCH v1 02/34] MdePkg: Added LoongArch jump buffer register definition " Chao Li
` (8 subsequent siblings)
9 siblings, 0 replies; 21+ messages in thread
From: Chao Li @ 2022-09-08 4:47 UTC (permalink / raw)
To: devel; +Cc: Michael D Kinney, Liming Gao, Zhiguang Liu
DebugSupport.h is all defined by UEFI Spec, most of the code
doesn't fit EDKII coding style, add it to IgnoreFiles field to
make CI ECC check pass.
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Zhiguang Liu <zhiguang.liu@intel.com>
Signed-off-by: Chao Li <lichao@loongson.cn>
---
MdePkg/MdePkg.ci.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/MdePkg/MdePkg.ci.yaml b/MdePkg/MdePkg.ci.yaml
index 054233ebc7..9d141aa3cb 100644
--- a/MdePkg/MdePkg.ci.yaml
+++ b/MdePkg/MdePkg.ci.yaml
@@ -52,6 +52,7 @@
"Include/IndustryStandard/UefiTcgPlatform.h",
"Include/Library/PcdLib.h",
"Include/Library/SafeIntLib.h",
+ "Include/Protocol/DebugSupport.h",
"Test/UnitTest/Library/BaseSafeIntLib/TestBaseSafeIntLib.c"
]
},
--
2.27.0
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [PATCH v1 02/34] MdePkg: Added LoongArch jump buffer register definition to MdePkg.ci.yaml
2022-09-08 4:47 [PATCH v1 00/34] Add a new architecture called LoongArch in EDK II Chao Li
2022-09-08 4:47 ` [PATCH v1 01/34] MdePkg: Added file of DebugSupport.h to MdePkg.ci.yaml Chao Li
@ 2022-09-08 4:47 ` Chao Li
2022-09-08 4:47 ` [PATCH v1 03/34] FatPkg: Add LOONGARCH64 architecture for EDK2 CI Chao Li
` (7 subsequent siblings)
9 siblings, 0 replies; 21+ messages in thread
From: Chao Li @ 2022-09-08 4:47 UTC (permalink / raw)
To: devel; +Cc: Michael D Kinney, Liming Gao, Zhiguang Liu
If the new Arch register is defined in BaseLib.h when running
the CI tests, it will give an ECC check error. Add the
LoongArch register defined in the IgnoreFiles field to make
the CI ECC check pass.
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Zhiguang Liu <zhiguang.liu@intel.com>
Signed-off-by: Chao Li <lichao@loongson.cn>
---
MdePkg/MdePkg.ci.yaml | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/MdePkg/MdePkg.ci.yaml b/MdePkg/MdePkg.ci.yaml
index 9d141aa3cb..19bc0138cb 100644
--- a/MdePkg/MdePkg.ci.yaml
+++ b/MdePkg/MdePkg.ci.yaml
@@ -27,6 +27,18 @@
"8005", "void",
"8005", "va_list.__ap",
"8005", "__stack_chk_guard",
+ "8005", "BASE_LIBRARY_JUMP_BUFFER.S0",
+ "8005", "BASE_LIBRARY_JUMP_BUFFER.S1",
+ "8005", "BASE_LIBRARY_JUMP_BUFFER.S2",
+ "8005", "BASE_LIBRARY_JUMP_BUFFER.S3",
+ "8005", "BASE_LIBRARY_JUMP_BUFFER.S4",
+ "8005", "BASE_LIBRARY_JUMP_BUFFER.S5",
+ "8005", "BASE_LIBRARY_JUMP_BUFFER.S6",
+ "8005", "BASE_LIBRARY_JUMP_BUFFER.S7",
+ "8005", "BASE_LIBRARY_JUMP_BUFFER.S8",
+ "8005", "BASE_LIBRARY_JUMP_BUFFER.SP",
+ "8005", "BASE_LIBRARY_JUMP_BUFFER.FP",
+ "8005", "BASE_LIBRARY_JUMP_BUFFER.RA",
"8001", "MSG_IPv6_DP",
"8001", "MSG_IPv4_DP",
"8001", "DEFAULT_ToS",
--
2.27.0
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [PATCH v1 03/34] FatPkg: Add LOONGARCH64 architecture for EDK2 CI.
2022-09-08 4:47 [PATCH v1 00/34] Add a new architecture called LoongArch in EDK II Chao Li
2022-09-08 4:47 ` [PATCH v1 01/34] MdePkg: Added file of DebugSupport.h to MdePkg.ci.yaml Chao Li
2022-09-08 4:47 ` [PATCH v1 02/34] MdePkg: Added LoongArch jump buffer register definition " Chao Li
@ 2022-09-08 4:47 ` Chao Li
2022-09-09 16:52 ` [edk2-devel] " Michael D Kinney
2022-09-08 4:47 ` [PATCH v1 04/34] FmpDevicePkg: " Chao Li
` (6 subsequent siblings)
9 siblings, 1 reply; 21+ messages in thread
From: Chao Li @ 2022-09-08 4:47 UTC (permalink / raw)
To: devel; +Cc: Ray Ni
Add LOONGARCH64 architecture for EDK2 CI testing.
Cc: Ray Ni <ray.ni@intel.com>
Signed-off-by: Chao Li <lichao@loongson.cn>
---
FatPkg/FatPkg.dsc | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/FatPkg/FatPkg.dsc b/FatPkg/FatPkg.dsc
index 6fa439e440..076b577972 100644
--- a/FatPkg/FatPkg.dsc
+++ b/FatPkg/FatPkg.dsc
@@ -5,6 +5,7 @@
# for EDK II Prime release.
# Copyright (c) 2007 - 2021, Intel Corporation. All rights reserved.<BR>
# Copyright (c) 2020, Hewlett Packard Enterprise Development LP. All rights reserved.<BR>
+# Copyright (c) 2022, Loongson Technology Corporation Limited. All rights reserved.<BR>
#
# SPDX-License-Identifier: BSD-2-Clause-Patent
#
@@ -15,7 +16,7 @@
PLATFORM_GUID = 25b55dbc-9d0b-4a32-80da-46e1273d622c
PLATFORM_VERSION = 0.3
DSC_SPECIFICATION = 0x00010005
- SUPPORTED_ARCHITECTURES = IA32|X64|EBC|ARM|AARCH64|RISCV64
+ SUPPORTED_ARCHITECTURES = IA32|X64|EBC|ARM|AARCH64|RISCV64|LOONGARCH64
OUTPUT_DIRECTORY = Build/Fat
BUILD_TARGETS = DEBUG|RELEASE|NOOPT
SKUID_IDENTIFIER = DEFAULT
--
2.27.0
^ permalink raw reply related [flat|nested] 21+ messages in thread
* Re: [edk2-devel] [PATCH v1 03/34] FatPkg: Add LOONGARCH64 architecture for EDK2 CI.
2022-09-08 4:47 ` [PATCH v1 03/34] FatPkg: Add LOONGARCH64 architecture for EDK2 CI Chao Li
@ 2022-09-09 16:52 ` Michael D Kinney
0 siblings, 0 replies; 21+ messages in thread
From: Michael D Kinney @ 2022-09-09 16:52 UTC (permalink / raw)
To: devel@edk2.groups.io, lichao@loongson.cn, Kinney, Michael D; +Cc: Ni, Ray
Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com>
> -----Original Message-----
> From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of Chao Li
> Sent: Wednesday, September 7, 2022 9:48 PM
> To: devel@edk2.groups.io
> Cc: Ni, Ray <ray.ni@intel.com>
> Subject: [edk2-devel] [PATCH v1 03/34] FatPkg: Add LOONGARCH64 architecture for EDK2 CI.
>
> Add LOONGARCH64 architecture for EDK2 CI testing.
>
> Cc: Ray Ni <ray.ni@intel.com>
>
> Signed-off-by: Chao Li <lichao@loongson.cn>
> ---
> FatPkg/FatPkg.dsc | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/FatPkg/FatPkg.dsc b/FatPkg/FatPkg.dsc
> index 6fa439e440..076b577972 100644
> --- a/FatPkg/FatPkg.dsc
> +++ b/FatPkg/FatPkg.dsc
> @@ -5,6 +5,7 @@
> # for EDK II Prime release.
>
> # Copyright (c) 2007 - 2021, Intel Corporation. All rights reserved.<BR>
>
> # Copyright (c) 2020, Hewlett Packard Enterprise Development LP. All rights reserved.<BR>
>
> +# Copyright (c) 2022, Loongson Technology Corporation Limited. All rights reserved.<BR>
>
> #
>
> # SPDX-License-Identifier: BSD-2-Clause-Patent
>
> #
>
> @@ -15,7 +16,7 @@
> PLATFORM_GUID = 25b55dbc-9d0b-4a32-80da-46e1273d622c
>
> PLATFORM_VERSION = 0.3
>
> DSC_SPECIFICATION = 0x00010005
>
> - SUPPORTED_ARCHITECTURES = IA32|X64|EBC|ARM|AARCH64|RISCV64
>
> + SUPPORTED_ARCHITECTURES = IA32|X64|EBC|ARM|AARCH64|RISCV64|LOONGARCH64
>
> OUTPUT_DIRECTORY = Build/Fat
>
> BUILD_TARGETS = DEBUG|RELEASE|NOOPT
>
> SKUID_IDENTIFIER = DEFAULT
>
> --
> 2.27.0
>
>
>
> -=-=-=-=-=-=
> Groups.io Links: You receive all messages sent to this group.
> View/Reply Online (#93482): https://edk2.groups.io/g/devel/message/93482
> Mute This Topic: https://groups.io/mt/93542507/1643496
> Group Owner: devel+owner@edk2.groups.io
> Unsubscribe: https://edk2.groups.io/g/devel/unsub [michael.d.kinney@intel.com]
> -=-=-=-=-=-=
>
^ permalink raw reply [flat|nested] 21+ messages in thread
* [PATCH v1 04/34] FmpDevicePkg: Add LOONGARCH64 architecture for EDK2 CI.
2022-09-08 4:47 [PATCH v1 00/34] Add a new architecture called LoongArch in EDK II Chao Li
` (2 preceding siblings ...)
2022-09-08 4:47 ` [PATCH v1 03/34] FatPkg: Add LOONGARCH64 architecture for EDK2 CI Chao Li
@ 2022-09-08 4:47 ` Chao Li
2022-09-09 17:10 ` [edk2-devel] " Michael D Kinney
2022-09-08 4:47 ` [PATCH v1 05/34] NetworkPkg: " Chao Li
` (5 subsequent siblings)
9 siblings, 1 reply; 21+ messages in thread
From: Chao Li @ 2022-09-08 4:47 UTC (permalink / raw)
To: devel; +Cc: Liming Gao, Michael D Kinney, Guomin Jiang, Wei6 Xu
Add LOONGARCH64 architecture for EDK2 CI testing.
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Guomin Jiang <guomin.jiang@intel.com>
Cc: Wei6 Xu <wei6.xu@intel.com>
Signed-off-by: Chao Li <lichao@loongson.cn>
---
FmpDevicePkg/FmpDevicePkg.dsc | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/FmpDevicePkg/FmpDevicePkg.dsc b/FmpDevicePkg/FmpDevicePkg.dsc
index 7b1af285dd..f9f26c54bb 100644
--- a/FmpDevicePkg/FmpDevicePkg.dsc
+++ b/FmpDevicePkg/FmpDevicePkg.dsc
@@ -9,6 +9,7 @@
# Copyright (c) Microsoft Corporation.<BR>
# Copyright (c) 2018 - 2021, Intel Corporation. All rights reserved.<BR>
# Copyright (c) 2020, Hewlett Packard Enterprise Development LP. All rights reserved.<BR>
+# Copyright (c) 2022, Loongson Technology Corporation Limited. All rights reserved.<BR>
#
# SPDX-License-Identifier: BSD-2-Clause-Patent
#
@@ -20,7 +21,7 @@
PLATFORM_VERSION = 0.1
DSC_SPECIFICATION = 0x00010005
OUTPUT_DIRECTORY = Build/FmpDevicePkg
- SUPPORTED_ARCHITECTURES = IA32|X64|ARM|AARCH64|RISCV64
+ SUPPORTED_ARCHITECTURES = IA32|X64|ARM|AARCH64|RISCV64|LOONGARCH64
BUILD_TARGETS = DEBUG|RELEASE|NOOPT
SKUID_IDENTIFIER = DEFAULT
--
2.27.0
^ permalink raw reply related [flat|nested] 21+ messages in thread
* Re: [edk2-devel] [PATCH v1 04/34] FmpDevicePkg: Add LOONGARCH64 architecture for EDK2 CI.
2022-09-08 4:47 ` [PATCH v1 04/34] FmpDevicePkg: " Chao Li
@ 2022-09-09 17:10 ` Michael D Kinney
0 siblings, 0 replies; 21+ messages in thread
From: Michael D Kinney @ 2022-09-09 17:10 UTC (permalink / raw)
To: devel@edk2.groups.io, lichao@loongson.cn, Kinney, Michael D
Cc: Gao, Liming, Jiang, Guomin, Xu, Wei6
Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com>
> -----Original Message-----
> From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of Chao Li
> Sent: Wednesday, September 7, 2022 9:48 PM
> To: devel@edk2.groups.io
> Cc: Gao, Liming <gaoliming@byosoft.com.cn>; Kinney, Michael D <michael.d.kinney@intel.com>; Jiang, Guomin
> <guomin.jiang@intel.com>; Xu, Wei6 <wei6.xu@intel.com>
> Subject: [edk2-devel] [PATCH v1 04/34] FmpDevicePkg: Add LOONGARCH64 architecture for EDK2 CI.
>
> Add LOONGARCH64 architecture for EDK2 CI testing.
>
> Cc: Liming Gao <gaoliming@byosoft.com.cn>
> Cc: Michael D Kinney <michael.d.kinney@intel.com>
> Cc: Guomin Jiang <guomin.jiang@intel.com>
> Cc: Wei6 Xu <wei6.xu@intel.com>
>
> Signed-off-by: Chao Li <lichao@loongson.cn>
> ---
> FmpDevicePkg/FmpDevicePkg.dsc | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/FmpDevicePkg/FmpDevicePkg.dsc b/FmpDevicePkg/FmpDevicePkg.dsc
> index 7b1af285dd..f9f26c54bb 100644
> --- a/FmpDevicePkg/FmpDevicePkg.dsc
> +++ b/FmpDevicePkg/FmpDevicePkg.dsc
> @@ -9,6 +9,7 @@
> # Copyright (c) Microsoft Corporation.<BR>
>
> # Copyright (c) 2018 - 2021, Intel Corporation. All rights reserved.<BR>
>
> # Copyright (c) 2020, Hewlett Packard Enterprise Development LP. All rights reserved.<BR>
>
> +# Copyright (c) 2022, Loongson Technology Corporation Limited. All rights reserved.<BR>
>
> #
>
> # SPDX-License-Identifier: BSD-2-Clause-Patent
>
> #
>
> @@ -20,7 +21,7 @@
> PLATFORM_VERSION = 0.1
>
> DSC_SPECIFICATION = 0x00010005
>
> OUTPUT_DIRECTORY = Build/FmpDevicePkg
>
> - SUPPORTED_ARCHITECTURES = IA32|X64|ARM|AARCH64|RISCV64
>
> + SUPPORTED_ARCHITECTURES = IA32|X64|ARM|AARCH64|RISCV64|LOONGARCH64
>
> BUILD_TARGETS = DEBUG|RELEASE|NOOPT
>
> SKUID_IDENTIFIER = DEFAULT
>
>
>
> --
> 2.27.0
>
>
>
> -=-=-=-=-=-=
> Groups.io Links: You receive all messages sent to this group.
> View/Reply Online (#93483): https://edk2.groups.io/g/devel/message/93483
> Mute This Topic: https://groups.io/mt/93542508/1643496
> Group Owner: devel+owner@edk2.groups.io
> Unsubscribe: https://edk2.groups.io/g/devel/unsub [michael.d.kinney@intel.com]
> -=-=-=-=-=-=
>
^ permalink raw reply [flat|nested] 21+ messages in thread
* [PATCH v1 05/34] NetworkPkg: Add LOONGARCH64 architecture for EDK2 CI.
2022-09-08 4:47 [PATCH v1 00/34] Add a new architecture called LoongArch in EDK II Chao Li
` (3 preceding siblings ...)
2022-09-08 4:47 ` [PATCH v1 04/34] FmpDevicePkg: " Chao Li
@ 2022-09-08 4:47 ` Chao Li
2022-09-09 17:11 ` [edk2-devel] " Michael D Kinney
2022-09-23 8:06 ` Wu, Jiaxin
2022-09-08 4:47 ` [PATCH v1 06/34] NetworkPkg/HttpBootDxe: " Chao Li
` (4 subsequent siblings)
9 siblings, 2 replies; 21+ messages in thread
From: Chao Li @ 2022-09-08 4:47 UTC (permalink / raw)
To: devel; +Cc: Maciej Rabeda, Jiaxin Wu, Siyuan Fu
Add LOONGARCH64 architecture for EDK2 CI testing.
Cc: Maciej Rabeda <maciej.rabeda@linux.intel.com>
Cc: Jiaxin Wu <jiaxin.wu@intel.com>
Cc: Siyuan Fu <siyuan.fu@intel.com>
Signed-off-by: Chao Li <lichao@loongson.cn>
---
NetworkPkg/NetworkPkg.dsc | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/NetworkPkg/NetworkPkg.dsc b/NetworkPkg/NetworkPkg.dsc
index 762134023d..6c231c97b5 100644
--- a/NetworkPkg/NetworkPkg.dsc
+++ b/NetworkPkg/NetworkPkg.dsc
@@ -4,6 +4,7 @@
# (C) Copyright 2014 Hewlett-Packard Development Company, L.P.<BR>
# Copyright (c) 2009 - 2021, Intel Corporation. All rights reserved.<BR>
# Copyright (c) 2020, Hewlett Packard Enterprise Development LP. All rights reserved.<BR>
+# Copyright (c) 2022, Loongson Technology Corporation Limited. All rights reserved.<BR>
# SPDX-License-Identifier: BSD-2-Clause-Patent
#
##
@@ -14,7 +15,7 @@
PLATFORM_VERSION = 0.98
DSC_SPECIFICATION = 0x00010005
OUTPUT_DIRECTORY = Build/NetworkPkg
- SUPPORTED_ARCHITECTURES = IA32|X64|EBC|ARM|AARCH64|RISCV64
+ SUPPORTED_ARCHITECTURES = IA32|X64|EBC|ARM|AARCH64|RISCV64|LOONGARCH64
BUILD_TARGETS = DEBUG|RELEASE|NOOPT
SKUID_IDENTIFIER = DEFAULT
--
2.27.0
^ permalink raw reply related [flat|nested] 21+ messages in thread
* Re: [edk2-devel] [PATCH v1 05/34] NetworkPkg: Add LOONGARCH64 architecture for EDK2 CI.
2022-09-08 4:47 ` [PATCH v1 05/34] NetworkPkg: " Chao Li
@ 2022-09-09 17:11 ` Michael D Kinney
2022-09-23 8:06 ` Wu, Jiaxin
1 sibling, 0 replies; 21+ messages in thread
From: Michael D Kinney @ 2022-09-09 17:11 UTC (permalink / raw)
To: devel@edk2.groups.io, lichao@loongson.cn, Kinney, Michael D
Cc: Maciej Rabeda, Wu, Jiaxin, Siyuan Fu
Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com>
> -----Original Message-----
> From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of Chao Li
> Sent: Wednesday, September 7, 2022 9:48 PM
> To: devel@edk2.groups.io
> Cc: Maciej Rabeda <maciej.rabeda@linux.intel.com>; Wu, Jiaxin <jiaxin.wu@intel.com>; Siyuan Fu <siyuan.fu@intel.com>
> Subject: [edk2-devel] [PATCH v1 05/34] NetworkPkg: Add LOONGARCH64 architecture for EDK2 CI.
>
> Add LOONGARCH64 architecture for EDK2 CI testing.
>
> Cc: Maciej Rabeda <maciej.rabeda@linux.intel.com>
> Cc: Jiaxin Wu <jiaxin.wu@intel.com>
> Cc: Siyuan Fu <siyuan.fu@intel.com>
>
> Signed-off-by: Chao Li <lichao@loongson.cn>
> ---
> NetworkPkg/NetworkPkg.dsc | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/NetworkPkg/NetworkPkg.dsc b/NetworkPkg/NetworkPkg.dsc
> index 762134023d..6c231c97b5 100644
> --- a/NetworkPkg/NetworkPkg.dsc
> +++ b/NetworkPkg/NetworkPkg.dsc
> @@ -4,6 +4,7 @@
> # (C) Copyright 2014 Hewlett-Packard Development Company, L.P.<BR>
>
> # Copyright (c) 2009 - 2021, Intel Corporation. All rights reserved.<BR>
>
> # Copyright (c) 2020, Hewlett Packard Enterprise Development LP. All rights reserved.<BR>
>
> +# Copyright (c) 2022, Loongson Technology Corporation Limited. All rights reserved.<BR>
>
> # SPDX-License-Identifier: BSD-2-Clause-Patent
>
> #
>
> ##
>
> @@ -14,7 +15,7 @@
> PLATFORM_VERSION = 0.98
>
> DSC_SPECIFICATION = 0x00010005
>
> OUTPUT_DIRECTORY = Build/NetworkPkg
>
> - SUPPORTED_ARCHITECTURES = IA32|X64|EBC|ARM|AARCH64|RISCV64
>
> + SUPPORTED_ARCHITECTURES = IA32|X64|EBC|ARM|AARCH64|RISCV64|LOONGARCH64
>
> BUILD_TARGETS = DEBUG|RELEASE|NOOPT
>
> SKUID_IDENTIFIER = DEFAULT
>
>
>
> --
> 2.27.0
>
>
>
> -=-=-=-=-=-=
> Groups.io Links: You receive all messages sent to this group.
> View/Reply Online (#93485): https://edk2.groups.io/g/devel/message/93485
> Mute This Topic: https://groups.io/mt/93542510/1643496
> Group Owner: devel+owner@edk2.groups.io
> Unsubscribe: https://edk2.groups.io/g/devel/unsub [michael.d.kinney@intel.com]
> -=-=-=-=-=-=
>
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [PATCH v1 05/34] NetworkPkg: Add LOONGARCH64 architecture for EDK2 CI.
2022-09-08 4:47 ` [PATCH v1 05/34] NetworkPkg: " Chao Li
2022-09-09 17:11 ` [edk2-devel] " Michael D Kinney
@ 2022-09-23 8:06 ` Wu, Jiaxin
1 sibling, 0 replies; 21+ messages in thread
From: Wu, Jiaxin @ 2022-09-23 8:06 UTC (permalink / raw)
To: Chao Li, devel@edk2.groups.io; +Cc: Maciej Rabeda, Siyuan Fu
Reviewed-by: Jiaxin Wu <jiaxin.wu@intel.com>
> -----Original Message-----
> From: Chao Li <lichao@loongson.cn>
> Sent: Thursday, September 8, 2022 12:48 PM
> To: devel@edk2.groups.io
> Cc: Maciej Rabeda <maciej.rabeda@linux.intel.com>; Wu, Jiaxin
> <jiaxin.wu@intel.com>; Siyuan Fu <siyuan.fu@intel.com>
> Subject: [PATCH v1 05/34] NetworkPkg: Add LOONGARCH64 architecture for
> EDK2 CI.
>
> Add LOONGARCH64 architecture for EDK2 CI testing.
>
> Cc: Maciej Rabeda <maciej.rabeda@linux.intel.com>
> Cc: Jiaxin Wu <jiaxin.wu@intel.com>
> Cc: Siyuan Fu <siyuan.fu@intel.com>
>
> Signed-off-by: Chao Li <lichao@loongson.cn>
> ---
> NetworkPkg/NetworkPkg.dsc | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/NetworkPkg/NetworkPkg.dsc b/NetworkPkg/NetworkPkg.dsc
> index 762134023d..6c231c97b5 100644
> --- a/NetworkPkg/NetworkPkg.dsc
> +++ b/NetworkPkg/NetworkPkg.dsc
> @@ -4,6 +4,7 @@
> # (C) Copyright 2014 Hewlett-Packard Development Company, L.P.<BR>
>
> # Copyright (c) 2009 - 2021, Intel Corporation. All rights reserved.<BR>
>
> # Copyright (c) 2020, Hewlett Packard Enterprise Development LP. All rights
> reserved.<BR>
>
> +# Copyright (c) 2022, Loongson Technology Corporation Limited. All rights
> reserved.<BR>
>
> # SPDX-License-Identifier: BSD-2-Clause-Patent
>
> #
>
> ##
>
> @@ -14,7 +15,7 @@
> PLATFORM_VERSION = 0.98
>
> DSC_SPECIFICATION = 0x00010005
>
> OUTPUT_DIRECTORY = Build/NetworkPkg
>
> - SUPPORTED_ARCHITECTURES =
> IA32|X64|EBC|ARM|AARCH64|RISCV64
>
> + SUPPORTED_ARCHITECTURES =
> IA32|X64|EBC|ARM|AARCH64|RISCV64|LOONGARCH64
>
> BUILD_TARGETS = DEBUG|RELEASE|NOOPT
>
> SKUID_IDENTIFIER = DEFAULT
>
>
>
> --
> 2.27.0
^ permalink raw reply [flat|nested] 21+ messages in thread
* [PATCH v1 06/34] NetworkPkg/HttpBootDxe: Add LOONGARCH64 architecture for EDK2 CI.
2022-09-08 4:47 [PATCH v1 00/34] Add a new architecture called LoongArch in EDK II Chao Li
` (4 preceding siblings ...)
2022-09-08 4:47 ` [PATCH v1 05/34] NetworkPkg: " Chao Li
@ 2022-09-08 4:47 ` Chao Li
2022-09-08 4:47 ` [PATCH v1 07/34] CryptoPkg: " Chao Li
` (3 subsequent siblings)
9 siblings, 0 replies; 21+ messages in thread
From: Chao Li @ 2022-09-08 4:47 UTC (permalink / raw)
To: devel; +Cc: Maciej Rabeda, Jiaxin Wu, Siyuan Fu
Add LOONGARCH architecture for EDK2 CI testing.
Cc: Maciej Rabeda <maciej.rabeda@linux.intel.com>
Cc: Jiaxin Wu <jiaxin.wu@intel.com>
Cc: Siyuan Fu <siyuan.fu@intel.com>
Signed-off-by: Chao Li <lichao@loongson.cn>
---
NetworkPkg/HttpBootDxe/HttpBootDhcp4.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/NetworkPkg/HttpBootDxe/HttpBootDhcp4.h b/NetworkPkg/HttpBootDxe/HttpBootDhcp4.h
index d76f0e84d6..f00fabead2 100644
--- a/NetworkPkg/HttpBootDxe/HttpBootDhcp4.h
+++ b/NetworkPkg/HttpBootDxe/HttpBootDhcp4.h
@@ -3,6 +3,7 @@
Copyright (c) 2015 - 2018, Intel Corporation. All rights reserved.<BR>
Copyright (c) 2020, Hewlett Packard Enterprise Development LP. All rights reserved.<BR>
+Copyright (c) 2022, Loongson Technology Corporation Limited. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
@@ -40,6 +41,8 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
#define EFI_HTTP_BOOT_CLIENT_SYSTEM_ARCHITECTURE HTTP_CLIENT_ARCH_RISCV64
#elif defined (MDE_CPU_EBC)
#define EFI_HTTP_BOOT_CLIENT_SYSTEM_ARCHITECTURE HTTP_CLIENT_ARCH_EBC
+#elif defined (MDE_CPU_LOONGARCH64)
+#define EFI_HTTP_BOOT_CLIENT_SYSTEM_ARCHITECTURE HTTP_CLIENT_ARCH_LOONGARCH64
#endif
/// DHCP offer types among HTTP boot.
--
2.27.0
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [PATCH v1 07/34] CryptoPkg: Add LOONGARCH64 architecture for EDK2 CI.
2022-09-08 4:47 [PATCH v1 00/34] Add a new architecture called LoongArch in EDK II Chao Li
` (5 preceding siblings ...)
2022-09-08 4:47 ` [PATCH v1 06/34] NetworkPkg/HttpBootDxe: " Chao Li
@ 2022-09-08 4:47 ` Chao Li
2022-09-08 4:47 ` [PATCH v1 08/34] MdePkg/Include: Add LOONGARCH related definitions " Chao Li
` (2 subsequent siblings)
9 siblings, 0 replies; 21+ messages in thread
From: Chao Li @ 2022-09-08 4:47 UTC (permalink / raw)
To: devel; +Cc: Jiewen Yao, Jian J Wang, Xiaoyu Lu, Guomin Jiang
Add LOONGARCH64 architecture for EDK2 CI testing.
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Jian J Wang <jian.j.wang@intel.com>
Cc: Xiaoyu Lu <xiaoyu1.lu@intel.com>
Cc: Guomin Jiang <guomin.jiang@intel.com>
Signed-off-by: Chao Li <lichao@loongson.cn>
---
CryptoPkg/CryptoPkg.dsc | 3 ++-
CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf | 6 +++++-
CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf | 4 ++++
CryptoPkg/Library/BaseCryptLibNull/BaseCryptLibNull.inf | 3 ++-
CryptoPkg/Library/BaseCryptLibOnProtocolPpi/DxeCryptLib.inf | 3 ++-
CryptoPkg/Library/BaseCryptLibOnProtocolPpi/PeiCryptLib.inf | 3 ++-
CryptoPkg/Library/Include/CrtLibSupport.h | 3 ++-
CryptoPkg/Library/OpensslLib/OpensslLib.inf | 2 ++
CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf | 2 ++
CryptoPkg/Library/TlsLib/TlsLib.inf | 3 ++-
CryptoPkg/Library/TlsLibNull/TlsLibNull.inf | 3 ++-
11 files changed, 27 insertions(+), 8 deletions(-)
diff --git a/CryptoPkg/CryptoPkg.dsc b/CryptoPkg/CryptoPkg.dsc
index 50e7721f25..c3a02aafb0 100644
--- a/CryptoPkg/CryptoPkg.dsc
+++ b/CryptoPkg/CryptoPkg.dsc
@@ -4,6 +4,7 @@
#
# Copyright (c) 2009 - 2021, Intel Corporation. All rights reserved.<BR>
# Copyright (c) 2020, Hewlett Packard Enterprise Development LP. All rights reserved.<BR>
+# Copyright (c) 2022, Loongson Technology Corporation Limited. All rights reserved.<BR>
# SPDX-License-Identifier: BSD-2-Clause-Patent
#
##
@@ -19,7 +20,7 @@
PLATFORM_VERSION = 0.98
DSC_SPECIFICATION = 0x00010005
OUTPUT_DIRECTORY = Build/CryptoPkg
- SUPPORTED_ARCHITECTURES = IA32|X64|ARM|AARCH64|RISCV64
+ SUPPORTED_ARCHITECTURES = IA32|X64|ARM|AARCH64|RISCV64|LOONGARCH64
BUILD_TARGETS = DEBUG|RELEASE|NOOPT
SKUID_IDENTIFIER = DEFAULT
diff --git a/CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf b/CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
index 3d7b917103..f8790d2c72 100644
--- a/CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
+++ b/CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
@@ -8,6 +8,7 @@
#
# Copyright (c) 2009 - 2022, Intel Corporation. All rights reserved.<BR>
# Copyright (c) 2020, Hewlett Packard Enterprise Development LP. All rights reserved.<BR>
+# Copyright (c) 2022, Loongson Technology Corporation Limited. All rights reserved.<BR>
# SPDX-License-Identifier: BSD-2-Clause-Patent
#
##
@@ -24,7 +25,7 @@
#
# The following information is for reference only and not required by the build tools.
#
-# VALID_ARCHITECTURES = IA32 X64 ARM AARCH64 RISCV64
+# VALID_ARCHITECTURES = IA32 X64 ARM AARCH64 RISCV64 LOONGARCH64
#
[Sources]
@@ -74,6 +75,9 @@
[Sources.RISCV64]
Rand/CryptRand.c
+[Sources.LOONGARCH64]
+ Rand/CryptRand.c
+
[Packages]
MdePkg/MdePkg.dec
CryptoPkg/CryptoPkg.dec
diff --git a/CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf b/CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
index d28fb98b66..7da789d00e 100644
--- a/CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
+++ b/CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
@@ -13,6 +13,7 @@
#
# Copyright (c) 2009 - 2022, Intel Corporation. All rights reserved.<BR>
# Copyright (c) 2021, Hewlett Packard Enterprise Development LP. All rights reserved.<BR>
+# Copyright (c) 2022, Loongson Technology Corporation Limited. All rights reserved.<BR>
# SPDX-License-Identifier: BSD-2-Clause-Patent
#
##
@@ -79,6 +80,9 @@
[Sources.RISCV64]
Rand/CryptRand.c
+[Sources.LOONGARCH64]
+ Rand/CryptRand.c
+
[Packages]
MdePkg/MdePkg.dec
CryptoPkg/CryptoPkg.dec
diff --git a/CryptoPkg/Library/BaseCryptLibNull/BaseCryptLibNull.inf b/CryptoPkg/Library/BaseCryptLibNull/BaseCryptLibNull.inf
index 63d1d82d19..1d8b502813 100644
--- a/CryptoPkg/Library/BaseCryptLibNull/BaseCryptLibNull.inf
+++ b/CryptoPkg/Library/BaseCryptLibNull/BaseCryptLibNull.inf
@@ -8,6 +8,7 @@
#
# Copyright (c) 2009 - 2022, Intel Corporation. All rights reserved.<BR>
# Copyright (c) 2020, Hewlett Packard Enterprise Development LP. All rights reserved.<BR>
+# Copyright (c) 2022, Loongson Technology Corporation Limited. All rights reserved.<BR>
# SPDX-License-Identifier: BSD-2-Clause-Patent
#
##
@@ -24,7 +25,7 @@
#
# The following information is for reference only and not required by the build tools.
#
-# VALID_ARCHITECTURES = IA32 X64 ARM AARCH64 RISCV64
+# VALID_ARCHITECTURES = IA32 X64 ARM AARCH64 RISCV64 LOONGARCH64
#
[Sources]
diff --git a/CryptoPkg/Library/BaseCryptLibOnProtocolPpi/DxeCryptLib.inf b/CryptoPkg/Library/BaseCryptLibOnProtocolPpi/DxeCryptLib.inf
index baa4433cbe..b4945de336 100644
--- a/CryptoPkg/Library/BaseCryptLibOnProtocolPpi/DxeCryptLib.inf
+++ b/CryptoPkg/Library/BaseCryptLibOnProtocolPpi/DxeCryptLib.inf
@@ -4,6 +4,7 @@
#
# Copyright (C) Microsoft Corporation. All rights reserved.
# Copyright (c) 2020, Hewlett Packard Enterprise Development LP. All rights reserved.<BR>
+# Copyright (c) 2022, Loongson Technology Corporation Limited. All rights reserved.<BR>
# SPDX-License-Identifier: BSD-2-Clause-Patent
#
##
@@ -22,7 +23,7 @@
#
# The following information is for reference only and not required by the build tools.
#
-# VALID_ARCHITECTURES = IA32 X64 ARM AARCH64 RISCV64
+# VALID_ARCHITECTURES = IA32 X64 ARM AARCH64 RISCV64 LOONGARCH64
#
[Packages]
diff --git a/CryptoPkg/Library/BaseCryptLibOnProtocolPpi/PeiCryptLib.inf b/CryptoPkg/Library/BaseCryptLibOnProtocolPpi/PeiCryptLib.inf
index 038ca71890..e7d153db0b 100644
--- a/CryptoPkg/Library/BaseCryptLibOnProtocolPpi/PeiCryptLib.inf
+++ b/CryptoPkg/Library/BaseCryptLibOnProtocolPpi/PeiCryptLib.inf
@@ -4,6 +4,7 @@
#
# Copyright (C) Microsoft Corporation. All rights reserved.
# Copyright (c) 2020, Hewlett Packard Enterprise Development LP. All rights reserved.<BR>
+# Copyright (c) 2022, Loongson Technology Corporation Limited. All rights reserved.<BR>
# SPDX-License-Identifier: BSD-2-Clause-Patent
#
##
@@ -21,7 +22,7 @@
#
# The following information is for reference only and not required by the build tools.
#
-# VALID_ARCHITECTURES = IA32 X64 ARM AARCH64 RISCV64
+# VALID_ARCHITECTURES = IA32 X64 ARM AARCH64 RISCV64 LOONGARCH64
#
[Packages]
diff --git a/CryptoPkg/Library/Include/CrtLibSupport.h b/CryptoPkg/Library/Include/CrtLibSupport.h
index e49060124f..5072c343da 100644
--- a/CryptoPkg/Library/Include/CrtLibSupport.h
+++ b/CryptoPkg/Library/Include/CrtLibSupport.h
@@ -4,6 +4,7 @@
Copyright (c) 2010 - 2022, Intel Corporation. All rights reserved.<BR>
Copyright (c) 2020, Hewlett Packard Enterprise Development LP. All rights reserved.<BR>
+Copyright (c) 2022, Loongson Technology Corporation Limited. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
@@ -46,7 +47,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
#define CONFIG_HEADER_BN_H
#if !defined (SIXTY_FOUR_BIT) && !defined (THIRTY_TWO_BIT)
- #if defined (MDE_CPU_X64) || defined (MDE_CPU_AARCH64) || defined (MDE_CPU_IA64) || defined (MDE_CPU_RISCV64)
+ #if defined (MDE_CPU_X64) || defined (MDE_CPU_AARCH64) || defined (MDE_CPU_IA64) || defined (MDE_CPU_RISCV64) || defined (MDE_CPU_LOONGARCH64)
//
// With GCC we would normally use SIXTY_FOUR_BIT_LONG, but MSVC needs
// SIXTY_FOUR_BIT, because 'long' is 32-bit and only 'long long' is
diff --git a/CryptoPkg/Library/OpensslLib/OpensslLib.inf b/CryptoPkg/Library/OpensslLib/OpensslLib.inf
index c899b811b1..f0ca72eeed 100644
--- a/CryptoPkg/Library/OpensslLib/OpensslLib.inf
+++ b/CryptoPkg/Library/OpensslLib/OpensslLib.inf
@@ -3,6 +3,7 @@
#
# Copyright (c) 2010 - 2020, Intel Corporation. All rights reserved.<BR>
# (C) Copyright 2020 Hewlett Packard Enterprise Development LP<BR>
+# Copyright (c) 2022, Loongson Technology Corporation Limited. All rights reserved.<BR>
# SPDX-License-Identifier: BSD-2-Clause-Patent
#
##
@@ -675,6 +676,7 @@
GCC:*_*_ARM_CC_FLAGS = $(OPENSSL_FLAGS) -Wno-error=maybe-uninitialized -Wno-error=unused-but-set-variable
GCC:*_*_AARCH64_CC_FLAGS = $(OPENSSL_FLAGS) -Wno-error=maybe-uninitialized -Wno-format -Wno-error=unused-but-set-variable
GCC:*_*_RISCV64_CC_FLAGS = $(OPENSSL_FLAGS) -Wno-error=maybe-uninitialized -Wno-format -Wno-error=unused-but-set-variable
+ GCC:*_*_LOONGARCH64_CC_FLAGS = $(OPENSSL_FLAGS) -Wno-error=maybe-uninitialized -Wno-format -Wno-error=unused-but-set-variable
GCC:*_CLANG35_*_CC_FLAGS = -std=c99 -Wno-error=uninitialized
GCC:*_CLANG38_*_CC_FLAGS = -std=c99 -Wno-error=uninitialized
GCC:*_CLANGPDB_*_CC_FLAGS = -std=c99 -Wno-error=uninitialized -Wno-error=incompatible-pointer-types -Wno-error=pointer-sign -Wno-error=implicit-function-declaration -Wno-error=ignored-pragma-optimize
diff --git a/CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf b/CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf
index 0ec3724541..195016fd3d 100644
--- a/CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf
+++ b/CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf
@@ -3,6 +3,7 @@
#
# Copyright (c) 2010 - 2020, Intel Corporation. All rights reserved.<BR>
# (C) Copyright 2020 Hewlett Packard Enterprise Development LP<BR>
+# Copyright (c) 2022, Loongson Technology Corporation Limited. All rights reserved.<BR>
# SPDX-License-Identifier: BSD-2-Clause-Patent
#
##
@@ -624,6 +625,7 @@
GCC:*_*_ARM_CC_FLAGS = $(OPENSSL_FLAGS) -Wno-error=maybe-uninitialized -Wno-error=unused-but-set-variable
GCC:*_*_AARCH64_CC_FLAGS = $(OPENSSL_FLAGS) -Wno-error=maybe-uninitialized -Wno-format -Wno-error=unused-but-set-variable
GCC:*_*_RISCV64_CC_FLAGS = $(OPENSSL_FLAGS) -Wno-error=maybe-uninitialized -Wno-format -Wno-error=unused-but-set-variable
+ GCC:*_*_LOONGARCH64_CC_FLAGS = $(OPENSSL_FLAGS) -Wno-error=maybe-uninitialized -Wno-format -Wno-error=unused-but-set-variable
GCC:*_CLANG35_*_CC_FLAGS = -std=c99 -Wno-error=uninitialized
GCC:*_CLANG38_*_CC_FLAGS = -std=c99 -Wno-error=uninitialized
GCC:*_CLANGPDB_*_CC_FLAGS = -std=c99 -Wno-error=uninitialized -Wno-error=incompatible-pointer-types -Wno-error=pointer-sign -Wno-error=implicit-function-declaration -Wno-error=ignored-pragma-optimize
diff --git a/CryptoPkg/Library/TlsLib/TlsLib.inf b/CryptoPkg/Library/TlsLib/TlsLib.inf
index bc61cda745..20b0ea6832 100644
--- a/CryptoPkg/Library/TlsLib/TlsLib.inf
+++ b/CryptoPkg/Library/TlsLib/TlsLib.inf
@@ -3,6 +3,7 @@
#
# Copyright (c) 2016 - 2018, Intel Corporation. All rights reserved.<BR>
# (C) Copyright 2016-2020 Hewlett Packard Enterprise Development LP<BR>
+# Copyright (c) 2022, Loongson Technology Corporation Limited. All rights reserved.<BR>
# SPDX-License-Identifier: BSD-2-Clause-Patent
#
##
@@ -19,7 +20,7 @@
#
# The following information is for reference only and not required by the build tools.
#
-# VALID_ARCHITECTURES = IA32 X64 ARM AARCH64 RISCV64
+# VALID_ARCHITECTURES = IA32 X64 ARM AARCH64 RISCV64 LOONGARCH64
#
[Sources]
diff --git a/CryptoPkg/Library/TlsLibNull/TlsLibNull.inf b/CryptoPkg/Library/TlsLibNull/TlsLibNull.inf
index b2920ddacf..12d7cc764a 100644
--- a/CryptoPkg/Library/TlsLibNull/TlsLibNull.inf
+++ b/CryptoPkg/Library/TlsLibNull/TlsLibNull.inf
@@ -3,6 +3,7 @@
#
# Copyright (c) 2016 - 2018, Intel Corporation. All rights reserved.<BR>
# (C) Copyright 2016-2020 Hewlett Packard Enterprise Development LP<BR>
+# Copyright (c) 2022, Loongson Technology Corporation Limited. All rights reserved.<BR>
# SPDX-License-Identifier: BSD-2-Clause-Patent
#
##
@@ -19,7 +20,7 @@
#
# The following information is for reference only and not required by the build tools.
#
-# VALID_ARCHITECTURES = IA32 X64 ARM AARCH64 RISCV64
+# VALID_ARCHITECTURES = IA32 X64 ARM AARCH64 RISCV64 LOONGARCH64
#
[Sources]
--
2.27.0
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [PATCH v1 08/34] MdePkg/Include: Add LOONGARCH related definitions EDK2 CI.
2022-09-08 4:47 [PATCH v1 00/34] Add a new architecture called LoongArch in EDK II Chao Li
` (6 preceding siblings ...)
2022-09-08 4:47 ` [PATCH v1 07/34] CryptoPkg: " Chao Li
@ 2022-09-08 4:47 ` Chao Li
2022-09-09 17:09 ` Michael D Kinney
2022-09-08 4:47 ` [PATCH v1 09/34] SecurityPkg: Add LOONGARCH64 architecture for " Chao Li
2022-09-08 4:47 ` [PATCH v1 10/34] ShellPkg: " Chao Li
9 siblings, 1 reply; 21+ messages in thread
From: Chao Li @ 2022-09-08 4:47 UTC (permalink / raw)
To: devel; +Cc: Michael D Kinney, Liming Gao, Zhiguang Liu
HTTP/PXE boot LOONGARCH64 related definitions for EDK2 CI.
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Zhiguang Liu <zhiguang.liu@intel.com>
Signed-off-by: Chao Li <lichao@loongson.cn>
---
MdePkg/Include/IndustryStandard/Dhcp.h | 41 +++++++++++++++-----------
1 file changed, 23 insertions(+), 18 deletions(-)
diff --git a/MdePkg/Include/IndustryStandard/Dhcp.h b/MdePkg/Include/IndustryStandard/Dhcp.h
index f209f1b2eb..845d6e4fed 100644
--- a/MdePkg/Include/IndustryStandard/Dhcp.h
+++ b/MdePkg/Include/IndustryStandard/Dhcp.h
@@ -4,6 +4,7 @@
Copyright (c) 2016, Intel Corporation. All rights reserved.<BR>
Copyright (c) 2020, Hewlett Packard Enterprise Development LP. All rights reserved.<BR>
+ Copyright (c) 2022, Loongson Technology Corporation Limited. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
@@ -259,24 +260,28 @@ typedef enum {
/// These identifiers are defined by IETF:
/// http://www.ietf.org/assignments/dhcpv6-parameters/dhcpv6-parameters.xml
///
-#define PXE_CLIENT_ARCH_X86_BIOS 0x0000 /// x86 BIOS for PXE
-#define PXE_CLIENT_ARCH_IPF 0x0002 /// Itanium for PXE
-#define PXE_CLIENT_ARCH_IA32 0x0006 /// x86 uefi for PXE
-#define PXE_CLIENT_ARCH_X64 0x0007 /// x64 uefi for PXE
-#define PXE_CLIENT_ARCH_EBC 0x0009 /// EBC for PXE
-#define PXE_CLIENT_ARCH_ARM 0x000A /// Arm uefi 32 for PXE
-#define PXE_CLIENT_ARCH_AARCH64 0x000B /// Arm uefi 64 for PXE
-#define PXE_CLIENT_ARCH_RISCV32 0x0019 /// RISC-V uefi 32 for PXE
-#define PXE_CLIENT_ARCH_RISCV64 0x001B /// RISC-V uefi 64 for PXE
-#define PXE_CLIENT_ARCH_RISCV128 0x001D /// RISC-V uefi 128 for PXE
+#define PXE_CLIENT_ARCH_X86_BIOS 0x0000 /// x86 BIOS for PXE
+#define PXE_CLIENT_ARCH_IPF 0x0002 /// Itanium for PXE
+#define PXE_CLIENT_ARCH_IA32 0x0006 /// x86 uefi for PXE
+#define PXE_CLIENT_ARCH_X64 0x0007 /// x64 uefi for PXE
+#define PXE_CLIENT_ARCH_EBC 0x0009 /// EBC for PXE
+#define PXE_CLIENT_ARCH_ARM 0x000A /// Arm uefi 32 for PXE
+#define PXE_CLIENT_ARCH_AARCH64 0x000B /// Arm uefi 64 for PXE
+#define PXE_CLIENT_ARCH_RISCV32 0x0019 /// RISC-V uefi 32 for PXE
+#define PXE_CLIENT_ARCH_RISCV64 0x001B /// RISC-V uefi 64 for PXE
+#define PXE_CLIENT_ARCH_RISCV128 0x001D /// RISC-V uefi 128 for PXE
+#define PXE_CLIENT_ARCH_LOONGARCH32 0x0025 /// LoongArch uefi 32 for PXE
+#define PXE_CLIENT_ARCH_LOONGARCH64 0x0027 /// LoongArch uefi 64 for PXE
-#define HTTP_CLIENT_ARCH_IA32 0x000F /// x86 uefi boot from http
-#define HTTP_CLIENT_ARCH_X64 0x0010 /// x64 uefi boot from http
-#define HTTP_CLIENT_ARCH_EBC 0x0011 /// EBC boot from http
-#define HTTP_CLIENT_ARCH_ARM 0x0012 /// Arm uefi 32 boot from http
-#define HTTP_CLIENT_ARCH_AARCH64 0x0013 /// Arm uefi 64 boot from http
-#define HTTP_CLIENT_ARCH_RISCV32 0x001A /// RISC-V uefi 32 boot from http
-#define HTTP_CLIENT_ARCH_RISCV64 0x001C /// RISC-V uefi 64 boot from http
-#define HTTP_CLIENT_ARCH_RISCV128 0x001E /// RISC-V uefi 128 boot from http
+#define HTTP_CLIENT_ARCH_IA32 0x000F /// x86 uefi boot from http
+#define HTTP_CLIENT_ARCH_X64 0x0010 /// x64 uefi boot from http
+#define HTTP_CLIENT_ARCH_EBC 0x0011 /// EBC boot from http
+#define HTTP_CLIENT_ARCH_ARM 0x0012 /// Arm uefi 32 boot from http
+#define HTTP_CLIENT_ARCH_AARCH64 0x0013 /// Arm uefi 64 boot from http
+#define HTTP_CLIENT_ARCH_RISCV32 0x001A /// RISC-V uefi 32 boot from http
+#define HTTP_CLIENT_ARCH_RISCV64 0x001C /// RISC-V uefi 64 boot from http
+#define HTTP_CLIENT_ARCH_RISCV128 0x001E /// RISC-V uefi 128 boot from http
+#define HTTP_CLIENT_ARCH_LOONGARCH32 0x0026 /// LoongArch uefi 32 boot from http
+#define HTTP_CLIENT_ARCH_LOONGARCH64 0x0028 /// LoongArch uefi 64 boot from http
#endif
--
2.27.0
^ permalink raw reply related [flat|nested] 21+ messages in thread
* Re: [PATCH v1 08/34] MdePkg/Include: Add LOONGARCH related definitions EDK2 CI.
2022-09-08 4:47 ` [PATCH v1 08/34] MdePkg/Include: Add LOONGARCH related definitions " Chao Li
@ 2022-09-09 17:09 ` Michael D Kinney
2022-09-11 3:58 ` [edk2-devel] " Chao Li
0 siblings, 1 reply; 21+ messages in thread
From: Michael D Kinney @ 2022-09-09 17:09 UTC (permalink / raw)
To: Chao Li, devel@edk2.groups.io, Kinney, Michael D
Cc: Gao, Liming, Liu, Zhiguang
Can you provide the link to the RFC that defines the LOONGARCH values?
Mike
> -----Original Message-----
> From: Chao Li <lichao@loongson.cn>
> Sent: Wednesday, September 7, 2022 9:48 PM
> To: devel@edk2.groups.io
> Cc: Kinney, Michael D <michael.d.kinney@intel.com>; Gao, Liming <gaoliming@byosoft.com.cn>; Liu, Zhiguang
> <zhiguang.liu@intel.com>
> Subject: [PATCH v1 08/34] MdePkg/Include: Add LOONGARCH related definitions EDK2 CI.
>
> HTTP/PXE boot LOONGARCH64 related definitions for EDK2 CI.
>
> Cc: Michael D Kinney <michael.d.kinney@intel.com>
> Cc: Liming Gao <gaoliming@byosoft.com.cn>
> Cc: Zhiguang Liu <zhiguang.liu@intel.com>
>
> Signed-off-by: Chao Li <lichao@loongson.cn>
> ---
> MdePkg/Include/IndustryStandard/Dhcp.h | 41 +++++++++++++++-----------
> 1 file changed, 23 insertions(+), 18 deletions(-)
>
> diff --git a/MdePkg/Include/IndustryStandard/Dhcp.h b/MdePkg/Include/IndustryStandard/Dhcp.h
> index f209f1b2eb..845d6e4fed 100644
> --- a/MdePkg/Include/IndustryStandard/Dhcp.h
> +++ b/MdePkg/Include/IndustryStandard/Dhcp.h
> @@ -4,6 +4,7 @@
>
>
> Copyright (c) 2016, Intel Corporation. All rights reserved.<BR>
>
> Copyright (c) 2020, Hewlett Packard Enterprise Development LP. All rights reserved.<BR>
>
> + Copyright (c) 2022, Loongson Technology Corporation Limited. All rights reserved.<BR>
>
> SPDX-License-Identifier: BSD-2-Clause-Patent
>
> **/
>
>
>
> @@ -259,24 +260,28 @@ typedef enum {
> /// These identifiers are defined by IETF:
>
> /// http://www.ietf.org/assignments/dhcpv6-parameters/dhcpv6-parameters.xml
>
> ///
>
> -#define PXE_CLIENT_ARCH_X86_BIOS 0x0000 /// x86 BIOS for PXE
>
> -#define PXE_CLIENT_ARCH_IPF 0x0002 /// Itanium for PXE
>
> -#define PXE_CLIENT_ARCH_IA32 0x0006 /// x86 uefi for PXE
>
> -#define PXE_CLIENT_ARCH_X64 0x0007 /// x64 uefi for PXE
>
> -#define PXE_CLIENT_ARCH_EBC 0x0009 /// EBC for PXE
>
> -#define PXE_CLIENT_ARCH_ARM 0x000A /// Arm uefi 32 for PXE
>
> -#define PXE_CLIENT_ARCH_AARCH64 0x000B /// Arm uefi 64 for PXE
>
> -#define PXE_CLIENT_ARCH_RISCV32 0x0019 /// RISC-V uefi 32 for PXE
>
> -#define PXE_CLIENT_ARCH_RISCV64 0x001B /// RISC-V uefi 64 for PXE
>
> -#define PXE_CLIENT_ARCH_RISCV128 0x001D /// RISC-V uefi 128 for PXE
>
> +#define PXE_CLIENT_ARCH_X86_BIOS 0x0000 /// x86 BIOS for PXE
>
> +#define PXE_CLIENT_ARCH_IPF 0x0002 /// Itanium for PXE
>
> +#define PXE_CLIENT_ARCH_IA32 0x0006 /// x86 uefi for PXE
>
> +#define PXE_CLIENT_ARCH_X64 0x0007 /// x64 uefi for PXE
>
> +#define PXE_CLIENT_ARCH_EBC 0x0009 /// EBC for PXE
>
> +#define PXE_CLIENT_ARCH_ARM 0x000A /// Arm uefi 32 for PXE
>
> +#define PXE_CLIENT_ARCH_AARCH64 0x000B /// Arm uefi 64 for PXE
>
> +#define PXE_CLIENT_ARCH_RISCV32 0x0019 /// RISC-V uefi 32 for PXE
>
> +#define PXE_CLIENT_ARCH_RISCV64 0x001B /// RISC-V uefi 64 for PXE
>
> +#define PXE_CLIENT_ARCH_RISCV128 0x001D /// RISC-V uefi 128 for PXE
>
> +#define PXE_CLIENT_ARCH_LOONGARCH32 0x0025 /// LoongArch uefi 32 for PXE
>
> +#define PXE_CLIENT_ARCH_LOONGARCH64 0x0027 /// LoongArch uefi 64 for PXE
>
>
>
> -#define HTTP_CLIENT_ARCH_IA32 0x000F /// x86 uefi boot from http
>
> -#define HTTP_CLIENT_ARCH_X64 0x0010 /// x64 uefi boot from http
>
> -#define HTTP_CLIENT_ARCH_EBC 0x0011 /// EBC boot from http
>
> -#define HTTP_CLIENT_ARCH_ARM 0x0012 /// Arm uefi 32 boot from http
>
> -#define HTTP_CLIENT_ARCH_AARCH64 0x0013 /// Arm uefi 64 boot from http
>
> -#define HTTP_CLIENT_ARCH_RISCV32 0x001A /// RISC-V uefi 32 boot from http
>
> -#define HTTP_CLIENT_ARCH_RISCV64 0x001C /// RISC-V uefi 64 boot from http
>
> -#define HTTP_CLIENT_ARCH_RISCV128 0x001E /// RISC-V uefi 128 boot from http
>
> +#define HTTP_CLIENT_ARCH_IA32 0x000F /// x86 uefi boot from http
>
> +#define HTTP_CLIENT_ARCH_X64 0x0010 /// x64 uefi boot from http
>
> +#define HTTP_CLIENT_ARCH_EBC 0x0011 /// EBC boot from http
>
> +#define HTTP_CLIENT_ARCH_ARM 0x0012 /// Arm uefi 32 boot from http
>
> +#define HTTP_CLIENT_ARCH_AARCH64 0x0013 /// Arm uefi 64 boot from http
>
> +#define HTTP_CLIENT_ARCH_RISCV32 0x001A /// RISC-V uefi 32 boot from http
>
> +#define HTTP_CLIENT_ARCH_RISCV64 0x001C /// RISC-V uefi 64 boot from http
>
> +#define HTTP_CLIENT_ARCH_RISCV128 0x001E /// RISC-V uefi 128 boot from http
>
> +#define HTTP_CLIENT_ARCH_LOONGARCH32 0x0026 /// LoongArch uefi 32 boot from http
>
> +#define HTTP_CLIENT_ARCH_LOONGARCH64 0x0028 /// LoongArch uefi 64 boot from http
>
>
>
> #endif
>
> --
> 2.27.0
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [edk2-devel] [PATCH v1 08/34] MdePkg/Include: Add LOONGARCH related definitions EDK2 CI.
2022-09-09 17:09 ` Michael D Kinney
@ 2022-09-11 3:58 ` Chao Li
2022-09-12 16:32 ` Michael D Kinney
0 siblings, 1 reply; 21+ messages in thread
From: Chao Li @ 2022-09-11 3:58 UTC (permalink / raw)
To: devel, michael.d.kinney; +Cc: Gao, Liming, Liu, Zhiguang
Hi Mike,
Seeing the following URL section "Processor Architecture Types" for the LOONGARCH values:
https://www.iana.org/assignments/dhcpv6-parameters/dhcpv6-parameters.xhtml#ieee-80221-service-type
Thanks,
Chao
> -----原始邮件-----
> 发件人: "Michael D Kinney" <michael.d.kinney@intel.com>
> 发送时间:2022-09-10 01:09:47 (星期六)
> 收件人: "Chao Li" <lichao@loongson.cn>, "devel@edk2.groups.io" <devel@edk2.groups.io>, "Kinney, Michael D" <michael.d.kinney@intel.com>
> 抄送: "Gao, Liming" <gaoliming@byosoft.com.cn>, "Liu, Zhiguang" <zhiguang.liu@intel.com>
> 主题: Re: [edk2-devel] [PATCH v1 08/34] MdePkg/Include: Add LOONGARCH related definitions EDK2 CI.
>
> Can you provide the link to the RFC that defines the LOONGARCH values?
>
> Mike
>
> > -----Original Message-----
> > From: Chao Li <lichao@loongson.cn>
> > Sent: Wednesday, September 7, 2022 9:48 PM
> > To: devel@edk2.groups.io
> > Cc: Kinney, Michael D <michael.d.kinney@intel.com>; Gao, Liming <gaoliming@byosoft.com.cn>; Liu, Zhiguang
> > <zhiguang.liu@intel.com>
> > Subject: [PATCH v1 08/34] MdePkg/Include: Add LOONGARCH related definitions EDK2 CI.
> >
> > HTTP/PXE boot LOONGARCH64 related definitions for EDK2 CI.
> >
> > Cc: Michael D Kinney <michael.d.kinney@intel.com>
> > Cc: Liming Gao <gaoliming@byosoft.com.cn>
> > Cc: Zhiguang Liu <zhiguang.liu@intel.com>
> >
> > Signed-off-by: Chao Li <lichao@loongson.cn>
> > ---
> > MdePkg/Include/IndustryStandard/Dhcp.h | 41 +++++++++++++++-----------
> > 1 file changed, 23 insertions(+), 18 deletions(-)
> >
> > diff --git a/MdePkg/Include/IndustryStandard/Dhcp.h b/MdePkg/Include/IndustryStandard/Dhcp.h
> > index f209f1b2eb..845d6e4fed 100644
> > --- a/MdePkg/Include/IndustryStandard/Dhcp.h
> > +++ b/MdePkg/Include/IndustryStandard/Dhcp.h
> > @@ -4,6 +4,7 @@
> >
> >
> > Copyright (c) 2016, Intel Corporation. All rights reserved.<BR>
> >
> > Copyright (c) 2020, Hewlett Packard Enterprise Development LP. All rights reserved.<BR>
> >
> > + Copyright (c) 2022, Loongson Technology Corporation Limited. All rights reserved.<BR>
> >
> > SPDX-License-Identifier: BSD-2-Clause-Patent
> >
> > **/
> >
> >
> >
> > @@ -259,24 +260,28 @@ typedef enum {
> > /// These identifiers are defined by IETF:
> >
> > /// http://www.ietf.org/assignments/dhcpv6-parameters/dhcpv6-parameters.xml
> >
> > ///
> >
> > -#define PXE_CLIENT_ARCH_X86_BIOS 0x0000 /// x86 BIOS for PXE
> >
> > -#define PXE_CLIENT_ARCH_IPF 0x0002 /// Itanium for PXE
> >
> > -#define PXE_CLIENT_ARCH_IA32 0x0006 /// x86 uefi for PXE
> >
> > -#define PXE_CLIENT_ARCH_X64 0x0007 /// x64 uefi for PXE
> >
> > -#define PXE_CLIENT_ARCH_EBC 0x0009 /// EBC for PXE
> >
> > -#define PXE_CLIENT_ARCH_ARM 0x000A /// Arm uefi 32 for PXE
> >
> > -#define PXE_CLIENT_ARCH_AARCH64 0x000B /// Arm uefi 64 for PXE
> >
> > -#define PXE_CLIENT_ARCH_RISCV32 0x0019 /// RISC-V uefi 32 for PXE
> >
> > -#define PXE_CLIENT_ARCH_RISCV64 0x001B /// RISC-V uefi 64 for PXE
> >
> > -#define PXE_CLIENT_ARCH_RISCV128 0x001D /// RISC-V uefi 128 for PXE
> >
> > +#define PXE_CLIENT_ARCH_X86_BIOS 0x0000 /// x86 BIOS for PXE
> >
> > +#define PXE_CLIENT_ARCH_IPF 0x0002 /// Itanium for PXE
> >
> > +#define PXE_CLIENT_ARCH_IA32 0x0006 /// x86 uefi for PXE
> >
> > +#define PXE_CLIENT_ARCH_X64 0x0007 /// x64 uefi for PXE
> >
> > +#define PXE_CLIENT_ARCH_EBC 0x0009 /// EBC for PXE
> >
> > +#define PXE_CLIENT_ARCH_ARM 0x000A /// Arm uefi 32 for PXE
> >
> > +#define PXE_CLIENT_ARCH_AARCH64 0x000B /// Arm uefi 64 for PXE
> >
> > +#define PXE_CLIENT_ARCH_RISCV32 0x0019 /// RISC-V uefi 32 for PXE
> >
> > +#define PXE_CLIENT_ARCH_RISCV64 0x001B /// RISC-V uefi 64 for PXE
> >
> > +#define PXE_CLIENT_ARCH_RISCV128 0x001D /// RISC-V uefi 128 for PXE
> >
> > +#define PXE_CLIENT_ARCH_LOONGARCH32 0x0025 /// LoongArch uefi 32 for PXE
> >
> > +#define PXE_CLIENT_ARCH_LOONGARCH64 0x0027 /// LoongArch uefi 64 for PXE
> >
> >
> >
> > -#define HTTP_CLIENT_ARCH_IA32 0x000F /// x86 uefi boot from http
> >
> > -#define HTTP_CLIENT_ARCH_X64 0x0010 /// x64 uefi boot from http
> >
> > -#define HTTP_CLIENT_ARCH_EBC 0x0011 /// EBC boot from http
> >
> > -#define HTTP_CLIENT_ARCH_ARM 0x0012 /// Arm uefi 32 boot from http
> >
> > -#define HTTP_CLIENT_ARCH_AARCH64 0x0013 /// Arm uefi 64 boot from http
> >
> > -#define HTTP_CLIENT_ARCH_RISCV32 0x001A /// RISC-V uefi 32 boot from http
> >
> > -#define HTTP_CLIENT_ARCH_RISCV64 0x001C /// RISC-V uefi 64 boot from http
> >
> > -#define HTTP_CLIENT_ARCH_RISCV128 0x001E /// RISC-V uefi 128 boot from http
> >
> > +#define HTTP_CLIENT_ARCH_IA32 0x000F /// x86 uefi boot from http
> >
> > +#define HTTP_CLIENT_ARCH_X64 0x0010 /// x64 uefi boot from http
> >
> > +#define HTTP_CLIENT_ARCH_EBC 0x0011 /// EBC boot from http
> >
> > +#define HTTP_CLIENT_ARCH_ARM 0x0012 /// Arm uefi 32 boot from http
> >
> > +#define HTTP_CLIENT_ARCH_AARCH64 0x0013 /// Arm uefi 64 boot from http
> >
> > +#define HTTP_CLIENT_ARCH_RISCV32 0x001A /// RISC-V uefi 32 boot from http
> >
> > +#define HTTP_CLIENT_ARCH_RISCV64 0x001C /// RISC-V uefi 64 boot from http
> >
> > +#define HTTP_CLIENT_ARCH_RISCV128 0x001E /// RISC-V uefi 128 boot from http
> >
> > +#define HTTP_CLIENT_ARCH_LOONGARCH32 0x0026 /// LoongArch uefi 32 boot from http
> >
> > +#define HTTP_CLIENT_ARCH_LOONGARCH64 0x0028 /// LoongArch uefi 64 boot from http
> >
> >
> >
> > #endif
> >
> > --
> > 2.27.0
>
>
>
>
>
>
本邮件及其附件含有龙芯中科的商业秘密信息,仅限于发送给上面地址中列出的个人或群组。禁止任何其他人以任何形式使用(包括但不限于全部或部分地泄露、复制或散发)本邮件及其附件中的信息。如果您错收本邮件,请您立即电话或邮件通知发件人并删除本邮件。
This email and its attachments contain confidential information from Loongson Technology , which is intended only for the person or entity whose address is listed above. Any use of the information contained herein in any way (including, but not limited to, total or partial disclosure, reproduction or dissemination) by persons other than the intended recipient(s) is prohibited. If you receive this email in error, please notify the sender by phone or email immediately and delete it.
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [edk2-devel] [PATCH v1 08/34] MdePkg/Include: Add LOONGARCH related definitions EDK2 CI.
2022-09-11 3:58 ` [edk2-devel] " Chao Li
@ 2022-09-12 16:32 ` Michael D Kinney
2022-09-13 4:45 ` Chao Li
0 siblings, 1 reply; 21+ messages in thread
From: Michael D Kinney @ 2022-09-12 16:32 UTC (permalink / raw)
To: devel@edk2.groups.io, lichao@loongson.cn, Kinney, Michael D
Cc: Gao, Liming, Liu, Zhiguang
Thanks! It looks like the link in the comment in the C file is out of date.
Can you update patch to change
/// http://www.ietf.org/assignments/dhcpv6-parameters/dhcpv6-parameters.xml
to
/// https://www.iana.org/assignments/dhcpv6-parameters/dhcpv6-parameters.xhtml
Thanks,
Mike
> -----Original Message-----
> From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of Chao Li
> Sent: Saturday, September 10, 2022 8:58 PM
> To: devel@edk2.groups.io; Kinney, Michael D <michael.d.kinney@intel.com>
> Cc: Gao, Liming <gaoliming@byosoft.com.cn>; Liu, Zhiguang <zhiguang.liu@intel.com>
> Subject: Re: [edk2-devel] [PATCH v1 08/34] MdePkg/Include: Add LOONGARCH related definitions EDK2 CI.
>
>
> Hi Mike,
> Seeing the following URL section "Processor Architecture Types" for the LOONGARCH values:
> https://www.iana.org/assignments/dhcpv6-parameters/dhcpv6-parameters.xhtml#ieee-80221-service-type
>
> Thanks,
> Chao
>
> > -----原始邮件-----
> > 发件人: "Michael D Kinney" <michael.d.kinney@intel.com>
> > 发送时间:2022-09-10 01:09:47 (星期六)
> > 收件人: "Chao Li" <lichao@loongson.cn>, "devel@edk2.groups.io" <devel@edk2.groups.io>, "Kinney, Michael D"
> <michael.d.kinney@intel.com>
> > 抄送: "Gao, Liming" <gaoliming@byosoft.com.cn>, "Liu, Zhiguang" <zhiguang.liu@intel.com>
> > 主题: Re: [edk2-devel] [PATCH v1 08/34] MdePkg/Include: Add LOONGARCH related definitions EDK2 CI.
> >
> > Can you provide the link to the RFC that defines the LOONGARCH values?
> >
> > Mike
> >
> > > -----Original Message-----
> > > From: Chao Li <lichao@loongson.cn>
> > > Sent: Wednesday, September 7, 2022 9:48 PM
> > > To: devel@edk2.groups.io
> > > Cc: Kinney, Michael D <michael.d.kinney@intel.com>; Gao, Liming <gaoliming@byosoft.com.cn>; Liu, Zhiguang
> > > <zhiguang.liu@intel.com>
> > > Subject: [PATCH v1 08/34] MdePkg/Include: Add LOONGARCH related definitions EDK2 CI.
> > >
> > > HTTP/PXE boot LOONGARCH64 related definitions for EDK2 CI.
> > >
> > > Cc: Michael D Kinney <michael.d.kinney@intel.com>
> > > Cc: Liming Gao <gaoliming@byosoft.com.cn>
> > > Cc: Zhiguang Liu <zhiguang.liu@intel.com>
> > >
> > > Signed-off-by: Chao Li <lichao@loongson.cn>
> > > ---
> > > MdePkg/Include/IndustryStandard/Dhcp.h | 41 +++++++++++++++-----------
> > > 1 file changed, 23 insertions(+), 18 deletions(-)
> > >
> > > diff --git a/MdePkg/Include/IndustryStandard/Dhcp.h b/MdePkg/Include/IndustryStandard/Dhcp.h
> > > index f209f1b2eb..845d6e4fed 100644
> > > --- a/MdePkg/Include/IndustryStandard/Dhcp.h
> > > +++ b/MdePkg/Include/IndustryStandard/Dhcp.h
> > > @@ -4,6 +4,7 @@
> > >
> > >
> > > Copyright (c) 2016, Intel Corporation. All rights reserved.<BR>
> > >
> > > Copyright (c) 2020, Hewlett Packard Enterprise Development LP. All rights reserved.<BR>
> > >
> > > + Copyright (c) 2022, Loongson Technology Corporation Limited. All rights reserved.<BR>
> > >
> > > SPDX-License-Identifier: BSD-2-Clause-Patent
> > >
> > > **/
> > >
> > >
> > >
> > > @@ -259,24 +260,28 @@ typedef enum {
> > > /// These identifiers are defined by IETF:
> > >
> > > /// http://www.ietf.org/assignments/dhcpv6-parameters/dhcpv6-parameters.xml
> > >
> > > ///
> > >
> > > -#define PXE_CLIENT_ARCH_X86_BIOS 0x0000 /// x86 BIOS for PXE
> > >
> > > -#define PXE_CLIENT_ARCH_IPF 0x0002 /// Itanium for PXE
> > >
> > > -#define PXE_CLIENT_ARCH_IA32 0x0006 /// x86 uefi for PXE
> > >
> > > -#define PXE_CLIENT_ARCH_X64 0x0007 /// x64 uefi for PXE
> > >
> > > -#define PXE_CLIENT_ARCH_EBC 0x0009 /// EBC for PXE
> > >
> > > -#define PXE_CLIENT_ARCH_ARM 0x000A /// Arm uefi 32 for PXE
> > >
> > > -#define PXE_CLIENT_ARCH_AARCH64 0x000B /// Arm uefi 64 for PXE
> > >
> > > -#define PXE_CLIENT_ARCH_RISCV32 0x0019 /// RISC-V uefi 32 for PXE
> > >
> > > -#define PXE_CLIENT_ARCH_RISCV64 0x001B /// RISC-V uefi 64 for PXE
> > >
> > > -#define PXE_CLIENT_ARCH_RISCV128 0x001D /// RISC-V uefi 128 for PXE
> > >
> > > +#define PXE_CLIENT_ARCH_X86_BIOS 0x0000 /// x86 BIOS for PXE
> > >
> > > +#define PXE_CLIENT_ARCH_IPF 0x0002 /// Itanium for PXE
> > >
> > > +#define PXE_CLIENT_ARCH_IA32 0x0006 /// x86 uefi for PXE
> > >
> > > +#define PXE_CLIENT_ARCH_X64 0x0007 /// x64 uefi for PXE
> > >
> > > +#define PXE_CLIENT_ARCH_EBC 0x0009 /// EBC for PXE
> > >
> > > +#define PXE_CLIENT_ARCH_ARM 0x000A /// Arm uefi 32 for PXE
> > >
> > > +#define PXE_CLIENT_ARCH_AARCH64 0x000B /// Arm uefi 64 for PXE
> > >
> > > +#define PXE_CLIENT_ARCH_RISCV32 0x0019 /// RISC-V uefi 32 for PXE
> > >
> > > +#define PXE_CLIENT_ARCH_RISCV64 0x001B /// RISC-V uefi 64 for PXE
> > >
> > > +#define PXE_CLIENT_ARCH_RISCV128 0x001D /// RISC-V uefi 128 for PXE
> > >
> > > +#define PXE_CLIENT_ARCH_LOONGARCH32 0x0025 /// LoongArch uefi 32 for PXE
> > >
> > > +#define PXE_CLIENT_ARCH_LOONGARCH64 0x0027 /// LoongArch uefi 64 for PXE
> > >
> > >
> > >
> > > -#define HTTP_CLIENT_ARCH_IA32 0x000F /// x86 uefi boot from http
> > >
> > > -#define HTTP_CLIENT_ARCH_X64 0x0010 /// x64 uefi boot from http
> > >
> > > -#define HTTP_CLIENT_ARCH_EBC 0x0011 /// EBC boot from http
> > >
> > > -#define HTTP_CLIENT_ARCH_ARM 0x0012 /// Arm uefi 32 boot from http
> > >
> > > -#define HTTP_CLIENT_ARCH_AARCH64 0x0013 /// Arm uefi 64 boot from http
> > >
> > > -#define HTTP_CLIENT_ARCH_RISCV32 0x001A /// RISC-V uefi 32 boot from http
> > >
> > > -#define HTTP_CLIENT_ARCH_RISCV64 0x001C /// RISC-V uefi 64 boot from http
> > >
> > > -#define HTTP_CLIENT_ARCH_RISCV128 0x001E /// RISC-V uefi 128 boot from http
> > >
> > > +#define HTTP_CLIENT_ARCH_IA32 0x000F /// x86 uefi boot from http
> > >
> > > +#define HTTP_CLIENT_ARCH_X64 0x0010 /// x64 uefi boot from http
> > >
> > > +#define HTTP_CLIENT_ARCH_EBC 0x0011 /// EBC boot from http
> > >
> > > +#define HTTP_CLIENT_ARCH_ARM 0x0012 /// Arm uefi 32 boot from http
> > >
> > > +#define HTTP_CLIENT_ARCH_AARCH64 0x0013 /// Arm uefi 64 boot from http
> > >
> > > +#define HTTP_CLIENT_ARCH_RISCV32 0x001A /// RISC-V uefi 32 boot from http
> > >
> > > +#define HTTP_CLIENT_ARCH_RISCV64 0x001C /// RISC-V uefi 64 boot from http
> > >
> > > +#define HTTP_CLIENT_ARCH_RISCV128 0x001E /// RISC-V uefi 128 boot from http
> > >
> > > +#define HTTP_CLIENT_ARCH_LOONGARCH32 0x0026 /// LoongArch uefi 32 boot from http
> > >
> > > +#define HTTP_CLIENT_ARCH_LOONGARCH64 0x0028 /// LoongArch uefi 64 boot from http
> > >
> > >
> > >
> > > #endif
> > >
> > > --
> > > 2.27.0
> >
> >
> >
> >
> >
> >
>
>
> 本邮件及其附件含有龙芯中科的商业秘密信息,仅限于发送给上面地址中列出的个人或群组。禁止任何其他人以任何形式使用(包括但不限于全部或部分
> 地泄露、复制或散发)本邮件及其附件中的信息。如果您错收本邮件,请您立即电话或邮件通知发件人并删除本邮件。
> This email and its attachments contain confidential information from Loongson Technology , which is intended only for the
> person or entity whose address is listed above. Any use of the information contained herein in any way (including, but not
> limited to, total or partial disclosure, reproduction or dissemination) by persons other than the intended recipient(s) is
> prohibited. If you receive this email in error, please notify the sender by phone or email immediately and delete it.
>
>
>
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [edk2-devel] [PATCH v1 08/34] MdePkg/Include: Add LOONGARCH related definitions EDK2 CI.
2022-09-12 16:32 ` Michael D Kinney
@ 2022-09-13 4:45 ` Chao Li
0 siblings, 0 replies; 21+ messages in thread
From: Chao Li @ 2022-09-13 4:45 UTC (permalink / raw)
To: devel@edk2.groups.io, michael.d.kinney@intel.com
Cc: "devel@edk2.groups.io", "Gao, Liming",
"Liu, Zhiguang"
[-- Attachment #1: Type: text/plain, Size: 7983 bytes --]
Ok, I will change it in the V2.
--------
Thanks,
Chao
--------
On 9月 13 2022, at 12:32 凌晨, "Michael D Kinney" <michael.d.kinney@intel.com> wrote:
> Thanks! It looks like the link in the comment in the C file is out of date.
>
> Can you update patch to change
> /// http://www.ietf.org/assignments/dhcpv6-parameters/dhcpv6-parameters.xml
> to
> /// https://www.iana.org/assignments/dhcpv6-parameters/dhcpv6-parameters.xhtml
> Thanks,
> Mike
> > -----Original Message-----
> > From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of Chao Li
> > Sent: Saturday, September 10, 2022 8:58 PM
> > To: devel@edk2.groups.io; Kinney, Michael D <michael.d.kinney@intel.com>
> > Cc: Gao, Liming <gaoliming@byosoft.com.cn>; Liu, Zhiguang <zhiguang.liu@intel.com>
> > Subject: Re: [edk2-devel] [PATCH v1 08/34] MdePkg/Include: Add LOONGARCH related definitions EDK2 CI.
> >
> >
> > Hi Mike,
> > Seeing the following URL section "Processor Architecture Types" for the LOONGARCH values:
> > https://www.iana.org/assignments/dhcpv6-parameters/dhcpv6-parameters.xhtml#ieee-80221-service-type
> >
> > Thanks,
> > Chao
> >
> > > -----原始邮件-----
> > > 发件人: "Michael D Kinney" <michael.d.kinney@intel.com>
> > > 发送时间:2022-09-10 01:09:47 (星期六)
> > > 收件人: "Chao Li" <lichao@loongson.cn>, "devel@edk2.groups.io" <devel@edk2.groups.io>, "Kinney, Michael D"
> > <michael.d.kinney@intel.com>
> > > 抄送: "Gao, Liming" <gaoliming@byosoft.com.cn>, "Liu, Zhiguang" <zhiguang.liu@intel.com>
> > > 主题: Re: [edk2-devel] [PATCH v1 08/34] MdePkg/Include: Add LOONGARCH related definitions EDK2 CI.
> > >
> > > Can you provide the link to the RFC that defines the LOONGARCH values?
> > >
> > > Mike
> > >
> > > > -----Original Message-----
> > > > From: Chao Li <lichao@loongson.cn>
> > > > Sent: Wednesday, September 7, 2022 9:48 PM
> > > > To: devel@edk2.groups.io
> > > > Cc: Kinney, Michael D <michael.d.kinney@intel.com>; Gao, Liming <gaoliming@byosoft.com.cn>; Liu, Zhiguang
> > > > <zhiguang.liu@intel.com>
> > > > Subject: [PATCH v1 08/34] MdePkg/Include: Add LOONGARCH related definitions EDK2 CI.
> > > >
> > > > HTTP/PXE boot LOONGARCH64 related definitions for EDK2 CI.
> > > >
> > > > Cc: Michael D Kinney <michael.d.kinney@intel.com>
> > > > Cc: Liming Gao <gaoliming@byosoft.com.cn>
> > > > Cc: Zhiguang Liu <zhiguang.liu@intel.com>
> > > >
> > > > Signed-off-by: Chao Li <lichao@loongson.cn>
> > > > ---
> > > > MdePkg/Include/IndustryStandard/Dhcp.h | 41 +++++++++++++++-----------
> > > > 1 file changed, 23 insertions(+), 18 deletions(-)
> > > >
> > > > diff --git a/MdePkg/Include/IndustryStandard/Dhcp.h b/MdePkg/Include/IndustryStandard/Dhcp.h
> > > > index f209f1b2eb..845d6e4fed 100644
> > > > --- a/MdePkg/Include/IndustryStandard/Dhcp.h
> > > > +++ b/MdePkg/Include/IndustryStandard/Dhcp.h
> > > > @@ -4,6 +4,7 @@
> > > >
> > > >
> > > > Copyright (c) 2016, Intel Corporation. All rights reserved.<BR>
> > > >
> > > > Copyright (c) 2020, Hewlett Packard Enterprise Development LP. All rights reserved.<BR>
> > > >
> > > > + Copyright (c) 2022, Loongson Technology Corporation Limited. All rights reserved.<BR>
> > > >
> > > > SPDX-License-Identifier: BSD-2-Clause-Patent
> > > >
> > > > **/
> > > >
> > > >
> > > >
> > > > @@ -259,24 +260,28 @@ typedef enum {
> > > > /// These identifiers are defined by IETF:
> > > >
> > > > /// http://www.ietf.org/assignments/dhcpv6-parameters/dhcpv6-parameters.xml
> > > >
> > > > ///
> > > >
> > > > -#define PXE_CLIENT_ARCH_X86_BIOS 0x0000 /// x86 BIOS for PXE
> > > >
> > > > -#define PXE_CLIENT_ARCH_IPF 0x0002 /// Itanium for PXE
> > > >
> > > > -#define PXE_CLIENT_ARCH_IA32 0x0006 /// x86 uefi for PXE
> > > >
> > > > -#define PXE_CLIENT_ARCH_X64 0x0007 /// x64 uefi for PXE
> > > >
> > > > -#define PXE_CLIENT_ARCH_EBC 0x0009 /// EBC for PXE
> > > >
> > > > -#define PXE_CLIENT_ARCH_ARM 0x000A /// Arm uefi 32 for PXE
> > > >
> > > > -#define PXE_CLIENT_ARCH_AARCH64 0x000B /// Arm uefi 64 for PXE
> > > >
> > > > -#define PXE_CLIENT_ARCH_RISCV32 0x0019 /// RISC-V uefi 32 for PXE
> > > >
> > > > -#define PXE_CLIENT_ARCH_RISCV64 0x001B /// RISC-V uefi 64 for PXE
> > > >
> > > > -#define PXE_CLIENT_ARCH_RISCV128 0x001D /// RISC-V uefi 128 for PXE
> > > >
> > > > +#define PXE_CLIENT_ARCH_X86_BIOS 0x0000 /// x86 BIOS for PXE
> > > >
> > > > +#define PXE_CLIENT_ARCH_IPF 0x0002 /// Itanium for PXE
> > > >
> > > > +#define PXE_CLIENT_ARCH_IA32 0x0006 /// x86 uefi for PXE
> > > >
> > > > +#define PXE_CLIENT_ARCH_X64 0x0007 /// x64 uefi for PXE
> > > >
> > > > +#define PXE_CLIENT_ARCH_EBC 0x0009 /// EBC for PXE
> > > >
> > > > +#define PXE_CLIENT_ARCH_ARM 0x000A /// Arm uefi 32 for PXE
> > > >
> > > > +#define PXE_CLIENT_ARCH_AARCH64 0x000B /// Arm uefi 64 for PXE
> > > >
> > > > +#define PXE_CLIENT_ARCH_RISCV32 0x0019 /// RISC-V uefi 32 for PXE
> > > >
> > > > +#define PXE_CLIENT_ARCH_RISCV64 0x001B /// RISC-V uefi 64 for PXE
> > > >
> > > > +#define PXE_CLIENT_ARCH_RISCV128 0x001D /// RISC-V uefi 128 for PXE
> > > >
> > > > +#define PXE_CLIENT_ARCH_LOONGARCH32 0x0025 /// LoongArch uefi 32 for PXE
> > > >
> > > > +#define PXE_CLIENT_ARCH_LOONGARCH64 0x0027 /// LoongArch uefi 64 for PXE
> > > >
> > > >
> > > >
> > > > -#define HTTP_CLIENT_ARCH_IA32 0x000F /// x86 uefi boot from http
> > > >
> > > > -#define HTTP_CLIENT_ARCH_X64 0x0010 /// x64 uefi boot from http
> > > >
> > > > -#define HTTP_CLIENT_ARCH_EBC 0x0011 /// EBC boot from http
> > > >
> > > > -#define HTTP_CLIENT_ARCH_ARM 0x0012 /// Arm uefi 32 boot from http
> > > >
> > > > -#define HTTP_CLIENT_ARCH_AARCH64 0x0013 /// Arm uefi 64 boot from http
> > > >
> > > > -#define HTTP_CLIENT_ARCH_RISCV32 0x001A /// RISC-V uefi 32 boot from http
> > > >
> > > > -#define HTTP_CLIENT_ARCH_RISCV64 0x001C /// RISC-V uefi 64 boot from http
> > > >
> > > > -#define HTTP_CLIENT_ARCH_RISCV128 0x001E /// RISC-V uefi 128 boot from http
> > > >
> > > > +#define HTTP_CLIENT_ARCH_IA32 0x000F /// x86 uefi boot from http
> > > >
> > > > +#define HTTP_CLIENT_ARCH_X64 0x0010 /// x64 uefi boot from http
> > > >
> > > > +#define HTTP_CLIENT_ARCH_EBC 0x0011 /// EBC boot from http
> > > >
> > > > +#define HTTP_CLIENT_ARCH_ARM 0x0012 /// Arm uefi 32 boot from http
> > > >
> > > > +#define HTTP_CLIENT_ARCH_AARCH64 0x0013 /// Arm uefi 64 boot from http
> > > >
> > > > +#define HTTP_CLIENT_ARCH_RISCV32 0x001A /// RISC-V uefi 32 boot from http
> > > >
> > > > +#define HTTP_CLIENT_ARCH_RISCV64 0x001C /// RISC-V uefi 64 boot from http
> > > >
> > > > +#define HTTP_CLIENT_ARCH_RISCV128 0x001E /// RISC-V uefi 128 boot from http
> > > >
> > > > +#define HTTP_CLIENT_ARCH_LOONGARCH32 0x0026 /// LoongArch uefi 32 boot from http
> > > >
> > > > +#define HTTP_CLIENT_ARCH_LOONGARCH64 0x0028 /// LoongArch uefi 64 boot from http
> > > >
> > > >
> > > >
> > > > #endif
> > > >
> > > > --
> > > > 2.27.0
> > >
> > >
> > >
> > >
> > >
> > >
> >
> >
> > 本邮件及其附件含有龙芯中科的商业秘密信息,仅限于发送给上面地址中列出的个人或群组。禁止任何其他人以任何形式使用(包括但不限于全部或部分
> > 地泄露、复制或散发)本邮件及其附件中的信息。如果您错收本邮件,请您立即电话或邮件通知发件人并删除本邮件。
> > This email and its attachments contain confidential information from Loongson Technology , which is intended only for the
> > person or entity whose address is listed above. Any use of the information contained herein in any way (including, but not
> > limited to, total or partial disclosure, reproduction or dissemination) by persons other than the intended recipient(s) is
> > prohibited. If you receive this email in error, please notify the sender by phone or email immediately and delete it.
> >
> >
> >
>
>
>
>
>
[-- Attachment #2: Type: text/html, Size: 11270 bytes --]
^ permalink raw reply [flat|nested] 21+ messages in thread
* [PATCH v1 09/34] SecurityPkg: Add LOONGARCH64 architecture for EDK2 CI.
2022-09-08 4:47 [PATCH v1 00/34] Add a new architecture called LoongArch in EDK II Chao Li
` (7 preceding siblings ...)
2022-09-08 4:47 ` [PATCH v1 08/34] MdePkg/Include: Add LOONGARCH related definitions " Chao Li
@ 2022-09-08 4:47 ` Chao Li
2022-09-09 17:11 ` [edk2-devel] " Michael D Kinney
2022-09-08 4:47 ` [PATCH v1 10/34] ShellPkg: " Chao Li
9 siblings, 1 reply; 21+ messages in thread
From: Chao Li @ 2022-09-08 4:47 UTC (permalink / raw)
To: devel; +Cc: Jiewen Yao, Jian J Wang
Add LOONGARCH64 architecture to SecurityPkg for EDK2 CI testing.
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Jian J Wang <jian.j.wang@intel.com>
Signed-off-by: Chao Li <lichao@loongson.cn>
---
SecurityPkg/SecurityPkg.dsc | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/SecurityPkg/SecurityPkg.dsc b/SecurityPkg/SecurityPkg.dsc
index f48187650f..6bf53c5658 100644
--- a/SecurityPkg/SecurityPkg.dsc
+++ b/SecurityPkg/SecurityPkg.dsc
@@ -3,6 +3,7 @@
#
# Copyright (c) 2009 - 2021, Intel Corporation. All rights reserved.<BR>
# (C) Copyright 2015-2020 Hewlett Packard Enterprise Development LP<BR>
+# Copyright (c) 2022, Loongson Technology Corporation Limited. All rights reserved.<BR>
# SPDX-License-Identifier: BSD-2-Clause-Patent
#
##
@@ -13,7 +14,7 @@
PLATFORM_VERSION = 0.98
DSC_SPECIFICATION = 0x00010005
OUTPUT_DIRECTORY = Build/SecurityPkg
- SUPPORTED_ARCHITECTURES = IA32|X64|EBC|ARM|AARCH64|RISCV64
+ SUPPORTED_ARCHITECTURES = IA32|X64|EBC|ARM|AARCH64|RISCV64|LOONGARCH64
BUILD_TARGETS = DEBUG|RELEASE|NOOPT
SKUID_IDENTIFIER = DEFAULT
--
2.27.0
^ permalink raw reply related [flat|nested] 21+ messages in thread
* Re: [edk2-devel] [PATCH v1 09/34] SecurityPkg: Add LOONGARCH64 architecture for EDK2 CI.
2022-09-08 4:47 ` [PATCH v1 09/34] SecurityPkg: Add LOONGARCH64 architecture for " Chao Li
@ 2022-09-09 17:11 ` Michael D Kinney
0 siblings, 0 replies; 21+ messages in thread
From: Michael D Kinney @ 2022-09-09 17:11 UTC (permalink / raw)
To: devel@edk2.groups.io, lichao@loongson.cn, Kinney, Michael D
Cc: Yao, Jiewen, Wang, Jian J
Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com>
> -----Original Message-----
> From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of Chao Li
> Sent: Wednesday, September 7, 2022 9:48 PM
> To: devel@edk2.groups.io
> Cc: Yao, Jiewen <jiewen.yao@intel.com>; Wang, Jian J <jian.j.wang@intel.com>
> Subject: [edk2-devel] [PATCH v1 09/34] SecurityPkg: Add LOONGARCH64 architecture for EDK2 CI.
>
> Add LOONGARCH64 architecture to SecurityPkg for EDK2 CI testing.
>
> Cc: Jiewen Yao <jiewen.yao@intel.com>
> Cc: Jian J Wang <jian.j.wang@intel.com>
>
> Signed-off-by: Chao Li <lichao@loongson.cn>
> ---
> SecurityPkg/SecurityPkg.dsc | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/SecurityPkg/SecurityPkg.dsc b/SecurityPkg/SecurityPkg.dsc
> index f48187650f..6bf53c5658 100644
> --- a/SecurityPkg/SecurityPkg.dsc
> +++ b/SecurityPkg/SecurityPkg.dsc
> @@ -3,6 +3,7 @@
> #
>
> # Copyright (c) 2009 - 2021, Intel Corporation. All rights reserved.<BR>
>
> # (C) Copyright 2015-2020 Hewlett Packard Enterprise Development LP<BR>
>
> +# Copyright (c) 2022, Loongson Technology Corporation Limited. All rights reserved.<BR>
>
> # SPDX-License-Identifier: BSD-2-Clause-Patent
>
> #
>
> ##
>
> @@ -13,7 +14,7 @@
> PLATFORM_VERSION = 0.98
>
> DSC_SPECIFICATION = 0x00010005
>
> OUTPUT_DIRECTORY = Build/SecurityPkg
>
> - SUPPORTED_ARCHITECTURES = IA32|X64|EBC|ARM|AARCH64|RISCV64
>
> + SUPPORTED_ARCHITECTURES = IA32|X64|EBC|ARM|AARCH64|RISCV64|LOONGARCH64
>
> BUILD_TARGETS = DEBUG|RELEASE|NOOPT
>
> SKUID_IDENTIFIER = DEFAULT
>
>
>
> --
> 2.27.0
>
>
>
> -=-=-=-=-=-=
> Groups.io Links: You receive all messages sent to this group.
> View/Reply Online (#93489): https://edk2.groups.io/g/devel/message/93489
> Mute This Topic: https://groups.io/mt/93542514/1643496
> Group Owner: devel+owner@edk2.groups.io
> Unsubscribe: https://edk2.groups.io/g/devel/unsub [michael.d.kinney@intel.com]
> -=-=-=-=-=-=
>
^ permalink raw reply [flat|nested] 21+ messages in thread
* [PATCH v1 10/34] ShellPkg: Add LOONGARCH64 architecture for EDK2 CI.
2022-09-08 4:47 [PATCH v1 00/34] Add a new architecture called LoongArch in EDK II Chao Li
` (8 preceding siblings ...)
2022-09-08 4:47 ` [PATCH v1 09/34] SecurityPkg: Add LOONGARCH64 architecture for " Chao Li
@ 2022-09-08 4:47 ` Chao Li
2022-09-09 17:26 ` [edk2-devel] " Michael D Kinney
9 siblings, 1 reply; 21+ messages in thread
From: Chao Li @ 2022-09-08 4:47 UTC (permalink / raw)
To: devel; +Cc: Ray Ni, Zhichao Gao
Add LOONGARCH64 architecture to ShellPkg for EDK2 CI testing.
Cc: Ray Ni <ray.ni@intel.com>
Cc: Zhichao Gao <zhichao.gao@intel.com>
Signed-off-by: Chao Li <lichao@loongson.cn>
---
ShellPkg/ShellPkg.dsc | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/ShellPkg/ShellPkg.dsc b/ShellPkg/ShellPkg.dsc
index 38fde3dc71..dd0d88603f 100644
--- a/ShellPkg/ShellPkg.dsc
+++ b/ShellPkg/ShellPkg.dsc
@@ -4,6 +4,7 @@
# Copyright (c) 2007 - 2021, Intel Corporation. All rights reserved.<BR>
# Copyright (c) 2018 - 2020, Arm Limited. All rights reserved.<BR>
# Copyright (c) 2020, Hewlett Packard Enterprise Development LP. All rights reserved.<BR>
+# Copyright (c) 2022, Loongson Technology Corporation Limited. All rights reserved.<BR>
#
# SPDX-License-Identifier: BSD-2-Clause-Patent
#
@@ -15,7 +16,7 @@
PLATFORM_VERSION = 1.02
DSC_SPECIFICATION = 0x00010006
OUTPUT_DIRECTORY = Build/Shell
- SUPPORTED_ARCHITECTURES = IA32|X64|EBC|ARM|AARCH64|RISCV64
+ SUPPORTED_ARCHITECTURES = IA32|X64|EBC|ARM|AARCH64|RISCV64|LOONGARCH64
BUILD_TARGETS = DEBUG|RELEASE|NOOPT
SKUID_IDENTIFIER = DEFAULT
--
2.27.0
^ permalink raw reply related [flat|nested] 21+ messages in thread
* Re: [edk2-devel] [PATCH v1 10/34] ShellPkg: Add LOONGARCH64 architecture for EDK2 CI.
2022-09-08 4:47 ` [PATCH v1 10/34] ShellPkg: " Chao Li
@ 2022-09-09 17:26 ` Michael D Kinney
0 siblings, 0 replies; 21+ messages in thread
From: Michael D Kinney @ 2022-09-09 17:26 UTC (permalink / raw)
To: devel@edk2.groups.io, lichao@loongson.cn, Kinney, Michael D
Cc: Ni, Ray, Gao, Zhichao
Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com>
> -----Original Message-----
> From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of Chao Li
> Sent: Wednesday, September 7, 2022 9:48 PM
> To: devel@edk2.groups.io
> Cc: Ni, Ray <ray.ni@intel.com>; Gao, Zhichao <zhichao.gao@intel.com>
> Subject: [edk2-devel] [PATCH v1 10/34] ShellPkg: Add LOONGARCH64 architecture for EDK2 CI.
>
> Add LOONGARCH64 architecture to ShellPkg for EDK2 CI testing.
>
> Cc: Ray Ni <ray.ni@intel.com>
> Cc: Zhichao Gao <zhichao.gao@intel.com>
>
> Signed-off-by: Chao Li <lichao@loongson.cn>
> ---
> ShellPkg/ShellPkg.dsc | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/ShellPkg/ShellPkg.dsc b/ShellPkg/ShellPkg.dsc
> index 38fde3dc71..dd0d88603f 100644
> --- a/ShellPkg/ShellPkg.dsc
> +++ b/ShellPkg/ShellPkg.dsc
> @@ -4,6 +4,7 @@
> # Copyright (c) 2007 - 2021, Intel Corporation. All rights reserved.<BR>
>
> # Copyright (c) 2018 - 2020, Arm Limited. All rights reserved.<BR>
>
> # Copyright (c) 2020, Hewlett Packard Enterprise Development LP. All rights reserved.<BR>
>
> +# Copyright (c) 2022, Loongson Technology Corporation Limited. All rights reserved.<BR>
>
> #
>
> # SPDX-License-Identifier: BSD-2-Clause-Patent
>
> #
>
> @@ -15,7 +16,7 @@
> PLATFORM_VERSION = 1.02
>
> DSC_SPECIFICATION = 0x00010006
>
> OUTPUT_DIRECTORY = Build/Shell
>
> - SUPPORTED_ARCHITECTURES = IA32|X64|EBC|ARM|AARCH64|RISCV64
>
> + SUPPORTED_ARCHITECTURES = IA32|X64|EBC|ARM|AARCH64|RISCV64|LOONGARCH64
>
> BUILD_TARGETS = DEBUG|RELEASE|NOOPT
>
> SKUID_IDENTIFIER = DEFAULT
>
>
>
> --
> 2.27.0
>
>
>
> -=-=-=-=-=-=
> Groups.io Links: You receive all messages sent to this group.
> View/Reply Online (#93490): https://edk2.groups.io/g/devel/message/93490
> Mute This Topic: https://groups.io/mt/93542515/1643496
> Group Owner: devel+owner@edk2.groups.io
> Unsubscribe: https://edk2.groups.io/g/devel/unsub [michael.d.kinney@intel.com]
> -=-=-=-=-=-=
>
^ permalink raw reply [flat|nested] 21+ messages in thread