X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=MdePkg%2FLibrary%2FSmmMemoryAllocationLib%2FSmmMemoryAllocationLib.inf;h=8210c9702f93d866039ea2e2718c6dbcfe817d56;hb=25d7db8cc4b04d6dd1d95129550c977ed0a8ed3c;hp=cc8f1343760fc0a757507e15e4206fb0f5f378f5;hpb=6bfbb5f0e09c3fd70e0df5300dfed2e734c4a230;p=mirror_edk2.git
diff --git a/MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf b/MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf
index cc8f134376..8210c9702f 100644
--- a/MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf
+++ b/MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf
@@ -4,11 +4,11 @@
# Memory Allocation Library that uses services from the SMM Services Table to
# allocate and free memory.
#
-# Copyright (c) 2010 - 2010, Intel Corporation. All rights reserved.
+# Copyright (c) 2010 - 2014, Intel Corporation. All rights reserved.
# This program and the accompanying materials
# are licensed and made available under the terms and conditions of the BSD License
# which accompanies this distribution. The full text of the license may be found at
-# http://opensource.org/licenses/bsd-license.php
+# http://opensource.org/licenses/bsd-license.php.
# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#
@@ -17,11 +17,14 @@
[Defines]
INF_VERSION = 0x00010005
BASE_NAME = SmmMemoryAllocationLib
+ MODULE_UNI_FILE = SmmMemoryAllocationLib.uni
FILE_GUID = 4DF30A5D-D5B0-4f85-80ED-6B16CD343C8E
MODULE_TYPE = DXE_SMM_DRIVER
VERSION_STRING = 1.0
PI_SPECIFICATION_VERSION = 0x0001000A
LIBRARY_CLASS = MemoryAllocationLib|DXE_SMM_DRIVER
+ CONSTRUCTOR = SmmMemoryAllocationLibConstructor
+ DESTRUCTOR = SmmMemoryAllocationLibDestructor
#
# VALID_ARCHITECTURES = IA32 X64
@@ -37,3 +40,11 @@
DebugLib
BaseMemoryLib
SmmServicesTableLib
+ UefiBootServicesTableLib
+
+[Protocols]
+ gEfiSmmAccess2ProtocolGuid ## CONSUMES
+
+[Depex]
+ gEfiSmmAccess2ProtocolGuid
+