]> git.proxmox.com Git - mirror_edk2.git/blob - MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf
MdePkg: Replace BSD License with BSD+Patent License
[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 #
10 # All rights reserved.
11 # SPDX-License-Identifier: BSD-2-Clause-Patent
12 #
13 ##
14
15 [Defines]
16 INF_VERSION = 0x00010005
17 BASE_NAME = BaseSafeIntLib
18 FILE_GUID = 4EA91BFA-3482-4930-B136-70679C6CE489
19 MODULE_TYPE = BASE
20 VERSION_STRING = 1.0
21 LIBRARY_CLASS = SafeIntLib
22
23 #
24 # The following information is for reference only and not required by the build tools.
25 #
26 # VALID_ARCHITECTURES = IA32 X64
27 #
28
29 [Sources]
30 SafeIntLib.c
31
32 [Sources.Ia32, Sources.ARM]
33 SafeIntLib32.c
34
35 [Sources.X64, Sources.AARCH64]
36 SafeIntLib64.c
37
38 [Sources.EBC]
39 SafeIntLibEbc.c
40
41 [Packages]
42 MdePkg/MdePkg.dec
43
44 [LibraryClasses]
45 BaseLib