]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf
MdePkg: Clean up source files
[mirror_edk2.git] / MdePkg / Library / SmmMemoryAllocationLib / SmmMemoryAllocationLib.inf
index 4f107ecd0cc8be38a5f4c52450374392934e53e9..3ead028e0796e8e52d512bfb6fc14a62628ffed3 100644 (file)
@@ -1,27 +1,30 @@
-#/** @file\r
+## @file\r
 # Instance of Memory Allocation Library using SMM Services Table.\r
 #\r
-# Memory Allocation Library that uses services from the SMM Services Table to \r
+# Memory Allocation Library that uses services from the SMM Services Table to\r
 # allocate and free memory.\r
 #\r
-# Copyright (c) 2010, Intel Corporation.  All rights reserved. <BR>\r
+# Copyright (c) 2010 - 2018, Intel Corporation. All rights reserved.<BR>\r
 # This program and the accompanying materials\r
 # are licensed and made available under the terms and conditions of the BSD License\r
 # which accompanies this distribution. The full text of the license may be found at\r
-# http://opensource.org/licenses/bsd-license.php\r
+# http://opensource.org/licenses/bsd-license.php.\r
 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 #\r
-#**/\r
+##\r
 \r
 [Defines]\r
   INF_VERSION                    = 0x00010005\r
   BASE_NAME                      = SmmMemoryAllocationLib\r
+  MODULE_UNI_FILE                = SmmMemoryAllocationLib.uni\r
   FILE_GUID                      = 4DF30A5D-D5B0-4f85-80ED-6B16CD343C8E\r
   MODULE_TYPE                    = DXE_SMM_DRIVER\r
   VERSION_STRING                 = 1.0\r
   PI_SPECIFICATION_VERSION       = 0x0001000A\r
-  LIBRARY_CLASS                  = MemoryAllocationLib|DXE_SMM_DRIVER \r
+  LIBRARY_CLASS                  = MemoryAllocationLib|DXE_SMM_DRIVER\r
+  CONSTRUCTOR                    = SmmMemoryAllocationLibConstructor\r
+  DESTRUCTOR                     = SmmMemoryAllocationLibDestructor\r
 \r
 #\r
 #  VALID_ARCHITECTURES           = IA32 X64\r
   DebugLib\r
   BaseMemoryLib\r
   SmmServicesTableLib\r
+  UefiBootServicesTableLib\r
+\r
+[Protocols]\r
+  gEfiSmmAccess2ProtocolGuid    ## CONSUMES\r
+\r
+[Depex]\r
+  gEfiSmmAccess2ProtocolGuid\r
+\r