From 4e74764245c4d92d51ed0ed67147e16ad8f8296c Mon Sep 17 00:00:00 2001 From: Abner Chang Date: Tue, 7 Apr 2020 16:02:06 +0800 Subject: [PATCH] MdePkg/BaseSafeIntLib: Add RISCV64 arch for BaseSafeIntLib. Add RISCV64 arch for BaseSafeIntLib library. REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2672 Signed-off-by: Abner Chang Reviewed-by: Leif Lindholm Reviewed-by: Zhiguang Liu Cc: Michael D Kinney Cc: Liming Gao Cc: Leif Lindholm Cc: Gilbert Chen Cc: Daniel Helmut Schaefer --- MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf b/MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf index 68ade962d6..40017ec88b 100644 --- a/MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf +++ b/MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf @@ -6,6 +6,8 @@ # # Copyright (c) 2018, Intel Corporation. All rights reserved.
# Copyright (c) 2017, Microsoft Corporation +# Copyright (c) 2020, Hewlett Packard Enterprise Development LP. All rights reserved.
+ # # All rights reserved. # SPDX-License-Identifier: BSD-2-Clause-Patent @@ -23,7 +25,7 @@ # # The following information is for reference only and not required by the build tools. # -# VALID_ARCHITECTURES = IA32 X64 +# VALID_ARCHITECTURES = IA32 X64 ARM AARCH64 RISCV64 # [Sources] @@ -32,7 +34,7 @@ [Sources.Ia32, Sources.ARM] SafeIntLib32.c -[Sources.X64, Sources.AARCH64] +[Sources.X64, Sources.AARCH64, Sources.RISCV64] SafeIntLib64.c [Sources.EBC] -- 2.39.2