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 - 2018, Intel Corporation. All rights reserved.<BR> 10# SPDX-License-Identifier: BSD-2-Clause-Patent 11# 12## 13 14[Defines] 15 INF_VERSION = 0x00010005 16 BASE_NAME = SmmMemLib 17 MODULE_UNI_FILE = SmmMemLib.uni 18 FILE_GUID = 7F23F839-C81C-4B89-8132-69746FCBCE52 19 MODULE_TYPE = DXE_SMM_DRIVER 20 VERSION_STRING = 1.0 21 LIBRARY_CLASS = SmmMemLib|DXE_SMM_DRIVER SMM_CORE 22 CONSTRUCTOR = SmmMemLibConstructor 23 DESTRUCTOR = SmmMemLibDestructor 24 25# 26# The following information is for reference only and not required by the build tools. 27# 28# VALID_ARCHITECTURES = IA32 X64 29# 30 31[Sources] 32 SmmMemLib.c 33 34[Packages] 35 MdePkg/MdePkg.dec 36 37[LibraryClasses] 38 SmmServicesTableLib 39 UefiBootServicesTableLib 40 DxeServicesTableLib 41 DebugLib 42 BaseMemoryLib 43 HobLib 44 MemoryAllocationLib 45 UefiLib 46 47[Protocols] 48 gEfiSmmAccess2ProtocolGuid ## CONSUMES 49 gEfiSmmReadyToLockProtocolGuid ## CONSUMES 50 gEfiSmmEndOfDxeProtocolGuid ## CONSUMES 51 52[Guids] 53 gEfiMemoryAttributesTableGuid ## CONSUMES ## SystemTable 54 55[Depex] 56 gEfiSmmAccess2ProtocolGuid 57