]> git.proxmox.com Git - mirror_edk2.git/blob - MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf
MdePkg/BaseSafeIntLib: Add RISCV64 arch for BaseSafeIntLib.
[mirror_edk2.git] / MdePkg / Library / BaseSafeIntLib / BaseSafeIntLib.inf
1 ## @file
2 # Safe Integer Library
3 #
4 # This library provides helper functions to prevent integer overflow during
5 # type conversion, addition, subtraction, and multiplication.
6 #
7 # Copyright (c) 2018, Intel Corporation. All rights reserved.<BR>
8 # Copyright (c) 2017, Microsoft Corporation
9 # Copyright (c) 2020, Hewlett Packard Enterprise Development LP. All rights reserved.<BR>
10
11 #
12 # All rights reserved.
13 # SPDX-License-Identifier: BSD-2-Clause-Patent
14 #
15 ##
16
17 [Defines]
18 INF_VERSION = 0x00010005
19 BASE_NAME = BaseSafeIntLib
20 FILE_GUID = 4EA91BFA-3482-4930-B136-70679C6CE489
21 MODULE_TYPE = BASE
22 VERSION_STRING = 1.0
23 LIBRARY_CLASS = SafeIntLib
24
25 #
26 # The following information is for reference only and not required by the build tools.
27 #
28 # VALID_ARCHITECTURES = IA32 X64 ARM AARCH64 RISCV64
29 #
30
31 [Sources]
32 SafeIntLib.c
33
34 [Sources.Ia32, Sources.ARM]
35 SafeIntLib32.c
36
37 [Sources.X64, Sources.AARCH64, Sources.RISCV64]
38 SafeIntLib64.c
39
40 [Sources.EBC]
41 SafeIntLibEbc.c
42
43 [Packages]
44 MdePkg/MdePkg.dec
45
46 [LibraryClasses]
47 BaseLib