1## @file 2# Instance of SMM memory check library. 3# 4# SMM memory check library library implementation. This library consumes SMM_ACCESS2_PROTOCOL 5# to get SMRAM information. In order to use this library instance, the platform should produce 6# all SMRAM range via SMM_ACCESS2_PROTOCOL, including the range for firmware (like SMM Core 7# and SMM driver) and/or specific dedicated hardware. 8# 9# Copyright (c) 2015 - 2016, Intel Corporation. All rights reserved.<BR> 10# This program and the accompanying materials 11# are licensed and made available under the terms and conditions of the BSD License 12# which accompanies this distribution. The full text of the license may be found at 13# http://opensource.org/licenses/bsd-license.php 14# 15# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, 16# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. 17# 18## 19 20[Defines] 21 INF_VERSION = 0x00010005 22 BASE_NAME = SmmMemLib 23 MODULE_UNI_FILE = SmmMemLib.uni 24 FILE_GUID = 7F23F839-C81C-4B89-8132-69746FCBCE52 25 MODULE_TYPE = DXE_SMM_DRIVER 26 VERSION_STRING = 1.0 27 LIBRARY_CLASS = SmmMemLib|DXE_SMM_DRIVER SMM_CORE 28 CONSTRUCTOR = SmmMemLibConstructor 29 DESTRUCTOR = SmmMemLibDestructor 30 31# 32# The following information is for reference only and not required by the build tools. 33# 34# VALID_ARCHITECTURES = IA32 X64 35# 36 37[Sources] 38 SmmMemLib.c 39 40[Packages] 41 MdePkg/MdePkg.dec 42 43[LibraryClasses] 44 SmmServicesTableLib 45 UefiBootServicesTableLib 46 DebugLib 47 BaseMemoryLib 48 HobLib 49 MemoryAllocationLib 50 51[Protocols] 52 gEfiSmmAccess2ProtocolGuid ## CONSUMES 53 gEfiSmmReadyToLockProtocolGuid ## CONSUMES 54 gEfiSmmEndOfDxeProtocolGuid ## CONSUMES 55 56[Depex] 57 gEfiSmmAccess2ProtocolGuid 58