]> git.proxmox.com Git - mirror_edk2.git/blob - StandaloneMmPkg/Library/StandaloneMmMemLib/StandaloneMmMemLib.inf
UefiCpuPkg: Move AsmRelocateApLoopStart from Mpfuncs.nasm to AmdSev.nasm
[mirror_edk2.git] / StandaloneMmPkg / Library / StandaloneMmMemLib / StandaloneMmMemLib.inf
1 ## @file
2 # Instance of MM memory check library.
3 #
4 # MM memory check library implementation. This library consumes MM_ACCESS_PROTOCOL
5 # to get MMRAM information. In order to use this library instance, the platform should produce
6 # all MMRAM range via MM_ACCESS_PROTOCOL, including the range for firmware (like MM Core
7 # and MM driver) and/or specific dedicated hardware.
8 #
9 # Copyright (c) 2015, Intel Corporation. All rights reserved.<BR>
10 # Copyright (c) 2016 - 2018, ARM Limited. All rights reserved.<BR>
11 # Copyright (c) Microsoft Corporation.
12 #
13 # SPDX-License-Identifier: BSD-2-Clause-Patent
14 #
15 ##
16
17 [Defines]
18 INF_VERSION = 0x0001001A
19 BASE_NAME = MemLib
20 FILE_GUID = EA355F14-6409-4716-829F-37B3BC7C7F26
21 MODULE_TYPE = MM_STANDALONE
22 VERSION_STRING = 1.0
23 PI_SPECIFICATION_VERSION = 0x00010032
24 LIBRARY_CLASS = MemLib|MM_STANDALONE MM_CORE_STANDALONE
25 CONSTRUCTOR = MemLibConstructor
26 DESTRUCTOR = MemLibDestructor
27
28 #
29 # The following information is for reference only and not required by the build tools.
30 #
31 # VALID_ARCHITECTURES = IA32 X64 AARCH64 ARM
32 #
33
34 [Sources.Common]
35 StandaloneMmMemLib.c
36
37 [Sources.IA32, Sources.X64]
38 X86StandaloneMmMemLibInternal.c
39
40 [Sources.AARCH64, Sources.ARM]
41 ArmStandaloneMmMemLibInternal.c
42
43 [Packages]
44 MdePkg/MdePkg.dec
45 StandaloneMmPkg/StandaloneMmPkg.dec
46
47 [LibraryClasses]
48 BaseMemoryLib
49 DebugLib
50 HobLib
51 MemoryAllocationLib
52
53 [Guids]
54 gMmCoreDataHobGuid ## SOMETIMES_CONSUMES ## HOB
55 gEfiMmPeiMmramMemoryReserveGuid ## SOMETIMES_CONSUMES ## HOB