]> git.proxmox.com Git - mirror_edk2.git/commitdiff
MdePkg/BaseSafeIntLib: Add LoongArch64 architecture for BaseSafeIntLib.
authorChao Li <lichao@loongson.cn>
Fri, 12 Nov 2021 04:37:47 +0000 (12:37 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Fri, 14 Oct 2022 02:16:33 +0000 (02:16 +0000)
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4053

Add LoongArch64 architecture for BaseSafeIntLib library.

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>
Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com>
MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf

index 40017ec88bd779c4016582ebf276f0c700f50453..9d039f2e5b4337b1a54a3a1da7a6f6a4c0de22f5 100644 (file)
@@ -4,9 +4,10 @@
 # This library provides helper functions to prevent integer overflow during\r
 # type conversion, addition, subtraction, and multiplication.\r
 #\r
-#  Copyright (c) 2018, Intel Corporation. All rights reserved.<BR>\r
+# Copyright (c) 2018, Intel Corporation. All rights reserved.<BR>\r
 # Copyright (c) 2017, Microsoft Corporation\r
-#  Copyright (c) 2020, Hewlett Packard Enterprise Development LP. All rights reserved.<BR>\r
+# Copyright (c) 2020, Hewlett Packard Enterprise Development LP. All rights reserved.<BR>\r
+# Copyright (c) 2022, Loongson Technology Corporation Limited. All rights reserved.<BR>\r
 \r
 #\r
 # All rights reserved.\r
@@ -25,7 +26,7 @@
 #\r
 # The following information is for reference only and not required by the build tools.\r
 #\r
-#  VALID_ARCHITECTURES           = IA32 X64 ARM AARCH64 RISCV64\r
+#  VALID_ARCHITECTURES           = IA32 X64 ARM AARCH64 RISCV64 LOONGARCH64\r
 #\r
 \r
 [Sources]\r
@@ -34,7 +35,7 @@
 [Sources.Ia32, Sources.ARM]\r
   SafeIntLib32.c\r
 \r
-[Sources.X64, Sources.AARCH64, Sources.RISCV64]\r
+[Sources.X64, Sources.AARCH64, Sources.RISCV64, Sources.LOONGARCH64]\r
   SafeIntLib64.c\r
 \r
 [Sources.EBC]\r