]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/DxeHobLib/DxeHobLib.inf
Fix DxeHobLib to also support a module type of SMM_CORE.
[mirror_edk2.git] / MdePkg / Library / DxeHobLib / DxeHobLib.inf
index d5cf9d567a54a3f6215a82ef8d3747463636426a..d1788166965139cadb6a50626e39dee78f5151d2 100644 (file)
@@ -1,94 +1,47 @@
-#/** @file\r
-# Component description file for Dxe Hob Library.\r
+## @file\r
+# Instance of HOB Library using HOB list from EFI Configuration Table.\r
 #\r
 # HOB Library implementation that retrieves the HOB List\r
 #  from the System Configuration Table in the EFI System Table.\r
-# Copyright (c) 2007, Intel Corporation.\r
 #\r
-#  All rights reserved. This program and the accompanying materials\r
+# Copyright (c) 2007 - 2010, Intel Corporation. All rights reserved.<BR>\r
+#\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
 \r
-################################################################################\r
-#\r
-# Defines Section - statements that will be processed to create a Makefile.\r
-#\r
-################################################################################\r
 [Defines]\r
   INF_VERSION                    = 0x00010005\r
   BASE_NAME                      = DxeHobLib\r
   FILE_GUID                      = f12b59c9-76d0-4661-ad7c-f04d1bef0558\r
   MODULE_TYPE                    = DXE_DRIVER\r
   VERSION_STRING                 = 1.0\r
-  LIBRARY_CLASS                  = HobLib|DXE_DRIVER DXE_RUNTIME_DRIVER DXE_SAL_DRIVER DXE_SMM_DRIVER UEFI_APPLICATION UEFI_DRIVER \r
-  EDK_RELEASE_VERSION            = 0x00020000\r
-  EFI_SPECIFICATION_VERSION      = 0x00020000\r
-\r
+  LIBRARY_CLASS                  = HobLib|DXE_DRIVER DXE_RUNTIME_DRIVER DXE_SAL_DRIVER SMM_CORE DXE_SMM_DRIVER UEFI_APPLICATION UEFI_DRIVER \r
   CONSTRUCTOR                    = HobLibConstructor\r
 \r
-#\r
-# The following information is for reference only and not required by the build tools.\r
 #\r
 #  VALID_ARCHITECTURES           = IA32 X64 IPF EBC\r
 #\r
 \r
-################################################################################\r
-#\r
-# Sources Section - list of files that are required for the build to succeed.\r
-#\r
-################################################################################\r
-\r
-[Sources.common]\r
+[Sources]\r
   HobLib.c\r
-  CommonHeader.h\r
-\r
-\r
-################################################################################\r
-#\r
-# Includes Section - list of Include locations that are required for\r
-#                    this module.\r
-#\r
-################################################################################\r
 \r
-[Includes]\r
-  $(WORKSPACE)/MdePkg\Include/Library\r
-\r
-################################################################################\r
-#\r
-# Package Dependency Section - list of Package files that are required for\r
-#                              this module.\r
-#\r
-################################################################################\r
 \r
 [Packages]\r
   MdePkg/MdePkg.dec\r
 \r
 \r
-################################################################################\r
-#\r
-# Library Class Section - list of Library Classes that are required for\r
-#                         this module.\r
-#\r
-################################################################################\r
-\r
 [LibraryClasses]\r
   BaseMemoryLib\r
   DebugLib\r
   UefiLib\r
-\r
-\r
-################################################################################\r
-#\r
-# Guid C Name Section - list of Guids that this module uses or produces.\r
-#\r
-################################################################################\r
-\r
+    \r
 [Guids]\r
-  gEfiHobListGuid                               # ALWAYS_CONSUMED\r
+  gEfiHobListGuid                               ## CONSUMES\r
 \r