]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/PeiHobLib/PeiHobLib.inf
MdePkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / MdePkg / Library / PeiHobLib / PeiHobLib.inf
index c5114770a0fe83fb2e0603ca4474fa6e273bb96e..93284638ea1c2b62eef1c3d4c72d065ba5a12cdb 100644 (file)
@@ -1,83 +1,51 @@
-#/** @file\r
-# Component description file for Pei Hob Library\r
+## @file\r
+# Instance of HOB Library using PEI Services.\r
 #\r
 # HOB Library implementation that uses PEI Services to retrieve the HOB List.\r
-# Copyright (c) 2006, Intel Corporation\r
 #\r
-#  All rights reserved. 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
-#  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
+# Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>\r
 #\r
+#  SPDX-License-Identifier: BSD-2-Clause-Patent\r
 #\r
-#**/\r
-\r
-################################################################################\r
-#\r
-# Defines Section - statements that will be processed to create a Makefile.\r
 #\r
-################################################################################\r
+##\r
+\r
 [Defines]\r
   INF_VERSION                    = 0x00010005\r
   BASE_NAME                      = PeiHobLib\r
+  MODULE_UNI_FILE                = PeiHobLib.uni\r
   FILE_GUID                      = 9643128f-ac24-4b3e-b6be-d8849a306153\r
   MODULE_TYPE                    = PEIM\r
   VERSION_STRING                 = 1.0\r
-  LIBRARY_CLASS                  = HobLib|PEIM PEI_CORE \r
-  EDK_RELEASE_VERSION            = 0x00020000\r
-  EFI_SPECIFICATION_VERSION      = 0x00020000\r
-\r
+  LIBRARY_CLASS                  = HobLib|PEIM PEI_CORE SEC\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
+#  VALID_ARCHITECTURES           = IA32 X64 EBC (EBC is for build only)\r
 #\r
-################################################################################\r
 \r
-[Sources.common]\r
+[Sources]\r
   HobLib.c\r
 \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
   PeiServicesLib\r
   DebugLib\r
 \r
+[Guids]\r
+  gEfiHobMemoryAllocStackGuid                   ## SOMETIMES_PRODUCES ## HOB # MemoryAllocation StackHob\r
+  gEfiHobMemoryAllocBspStoreGuid                ## SOMETIMES_PRODUCES ## HOB # MemoryAllocation BspStoreHob\r
+  gEfiHobMemoryAllocModuleGuid                  ## SOMETIMES_PRODUCES ## HOB # MemoryAllocation ModuleHob\r
 \r
-################################################################################\r
 #\r
-# Guid C Name Section - list of Guids that this module uses or produces.\r
+# [Hob]\r
+#   MEMORY_ALLOCATION     ## SOMETIMES_PRODUCES\r
+#   RESOURCE_DESCRIPTOR   ## SOMETIMES_PRODUCES\r
+#   FIRMWARE_VOLUME       ## SOMETIMES_PRODUCES\r
 #\r
-################################################################################\r
-\r
-[Guids]\r
-  gEfiHobMemoryAllocStackGuid                   # ALWAYS_CONSUMED\r
-  gEfiHobMemoryAllocBspStoreGuid                # ALWAYS_CONSUMED\r
-  gEfiHobMemoryAllocModuleGuid                  # ALWAYS_CONSUMED\r
 \r