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