[edk2-devel] [staging/LoongArch RESEND PATCH v1 27/33] MdePkg/BaseSafeIntLib: Add LoongArch64 architecture for BaseSafeIntLib.

Abner Chang abner.chang at hpe.com
Fri Apr 8 11:04:14 UTC 2022


Acked-by: Abner Chang <abner.chang at hpe.com>

> -----Original Message-----
> From: devel at edk2.groups.io <devel at edk2.groups.io> On Behalf Of Chao Li
> Sent: Wednesday, February 9, 2022 2:56 PM
> To: devel at edk2.groups.io
> Cc: Michael D Kinney <michael.d.kinney at intel.com>; Liming Gao
> <gaoliming at byosoft.com.cn>; Zhiguang Liu <zhiguang.liu at intel.com>
> Subject: [edk2-devel] [staging/LoongArch RESEND PATCH v1 27/33]
> MdePkg/BaseSafeIntLib: Add LoongArch64 architecture for BaseSafeIntLib.
> 
> Add LoongArch64 architecture for BaseSafeIntLib library.
> 
> Cc: Michael D Kinney <michael.d.kinney at intel.com>
> Cc: Liming Gao <gaoliming at byosoft.com.cn>
> Cc: Zhiguang Liu <zhiguang.liu at intel.com>
> 
> Signed-off-by: Chao Li <lichao at loongson.cn>
> ---
>  MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf | 9 +++++----
>  1 file changed, 5 insertions(+), 4 deletions(-)
> 
> diff --git a/MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf
> b/MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf
> index 40017ec88b..9d039f2e5b 100644
> --- a/MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf
> +++ b/MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf
> @@ -4,9 +4,10 @@
>  # This library provides helper functions to prevent integer overflow during
>  # type conversion, addition, subtraction, and multiplication.
>  #
> -#  Copyright (c) 2018, Intel Corporation. All rights reserved.<BR>
> +# Copyright (c) 2018, Intel Corporation. All rights reserved.<BR>
>  # Copyright (c) 2017, Microsoft Corporation
> -#  Copyright (c) 2020, Hewlett Packard Enterprise Development LP. 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>
> 
>  #
>  # All rights reserved.
> @@ -25,7 +26,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]
> @@ -34,7 +35,7 @@
>  [Sources.Ia32, Sources.ARM]
>    SafeIntLib32.c
> 
> -[Sources.X64, Sources.AARCH64, Sources.RISCV64]
> +[Sources.X64, Sources.AARCH64, Sources.RISCV64, Sources.LOONGARCH64]
>    SafeIntLib64.c
> 
>  [Sources.EBC]
> --
> 2.27.0
> 
> 
> 
> 
> 



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#88619): https://edk2.groups.io/g/devel/message/88619
Mute This Topic: https://groups.io/mt/89017015/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-




More information about the edk2-devel-archive mailing list