]> git.proxmox.com Git - mirror_edk2.git/blame - MdePkg/Library/SmmMemLib/SmmMemLib.inf
MdePkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / MdePkg / Library / SmmMemLib / SmmMemLib.inf
CommitLineData
d425764e
JY
1## @file\r
2# Instance of SMM memory check library.\r
3#\r
4# SMM memory check library library implementation. This library consumes SMM_ACCESS2_PROTOCOL\r
5# to get SMRAM information. In order to use this library instance, the platform should produce\r
6# all SMRAM range via SMM_ACCESS2_PROTOCOL, including the range for firmware (like SMM Core\r
7# and SMM driver) and/or specific dedicated hardware.\r
9095d37b
LG
8#\r
9# Copyright (c) 2015 - 2018, Intel Corporation. All rights reserved.<BR>\r
9344f092 10# SPDX-License-Identifier: BSD-2-Clause-Patent\r
9095d37b 11#\r
d425764e
JY
12##\r
13\r
14[Defines]\r
15 INF_VERSION = 0x00010005\r
16 BASE_NAME = SmmMemLib\r
17 MODULE_UNI_FILE = SmmMemLib.uni\r
18 FILE_GUID = 7F23F839-C81C-4B89-8132-69746FCBCE52\r
19 MODULE_TYPE = DXE_SMM_DRIVER\r
20 VERSION_STRING = 1.0\r
21 LIBRARY_CLASS = SmmMemLib|DXE_SMM_DRIVER SMM_CORE\r
22 CONSTRUCTOR = SmmMemLibConstructor\r
23 DESTRUCTOR = SmmMemLibDestructor\r
24\r
25#\r
26# The following information is for reference only and not required by the build tools.\r
27#\r
28# VALID_ARCHITECTURES = IA32 X64\r
29#\r
30\r
31[Sources]\r
32 SmmMemLib.c\r
9095d37b 33\r
d425764e
JY
34[Packages]\r
35 MdePkg/MdePkg.dec\r
9095d37b 36\r
d425764e
JY
37[LibraryClasses]\r
38 SmmServicesTableLib\r
39 UefiBootServicesTableLib\r
233ffa90 40 DxeServicesTableLib\r
d425764e
JY
41 DebugLib\r
42 BaseMemoryLib\r
43 HobLib\r
44 MemoryAllocationLib\r
68096272 45 UefiLib\r
d425764e
JY
46\r
47[Protocols]\r
91f51fcc
JY
48 gEfiSmmAccess2ProtocolGuid ## CONSUMES\r
49 gEfiSmmReadyToLockProtocolGuid ## CONSUMES\r
50 gEfiSmmEndOfDxeProtocolGuid ## CONSUMES\r
9095d37b 51\r
68096272
JY
52[Guids]\r
53 gEfiMemoryAttributesTableGuid ## CONSUMES ## SystemTable\r
54\r
d2857812
QS
55[Depex]\r
56 gEfiSmmAccess2ProtocolGuid\r