]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
MdePkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / MdePkg / Library / DxeServicesLib / DxeServicesLib.inf
index cc4cd6522a46227ffa3de8a35027e9339f0b845c..d60f76129b0490dc1714920cc116b5890bd13930 100644 (file)
@@ -1,36 +1,39 @@
-#/** @file\r
-# Instance of PI Library for DXE phase.\r
+## @file\r
+# DXE Services Library instance provides functions that simplify the development of DXE Drivers.\r
 #\r
-# Copyright (c) 2007 - 2008, Intel Corporation.\r
+# DXE Services Library provides access data from sections of FFS files based on FV protocol.\r
+# It also provides access file based on file path from a firmware volume,\r
+# from a file system interface, or from the load file interface.\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) 2007 - 2018, Intel Corporation. All rights reserved.<BR>\r
 #\r
+#  SPDX-License-Identifier: BSD-2-Clause-Patent\r
 #\r
-#**/\r
+#\r
+##\r
 \r
 [Defines]\r
   INF_VERSION                    = 0x00010005\r
   BASE_NAME                      = DxeServicesLib\r
+  MODULE_UNI_FILE                = DxeServicesLib.uni\r
   FILE_GUID                      = EE680C58-FFC0-4a5d-858F-66FF9C84BC9F\r
   MODULE_TYPE                    = DXE_DRIVER\r
   VERSION_STRING                 = 1.0\r
-  LIBRARY_CLASS                  = DxeServicesLib|DXE_CORE DXE_DRIVER DXE_RUNTIME_DRIVER DXE_SAL_DRIVER DXE_SMM_DRIVER UEFI_APPLICATION UEFI_DRIVER\r
-  EDK_RELEASE_VERSION            = 0x00020000\r
-  PI_SPECIFICATION_VERSION       = 0x00010000\r
-\r
+  LIBRARY_CLASS                  = DxeServicesLib|DXE_CORE DXE_DRIVER DXE_RUNTIME_DRIVER DXE_SMM_DRIVER SMM_CORE UEFI_APPLICATION UEFI_DRIVER\r
 \r
 #\r
-#  VALID_ARCHITECTURES           = IA32 X64 IPF EBC\r
+#  VALID_ARCHITECTURES           = IA32 X64 EBC ARM AARCH64\r
 #\r
 \r
-[Sources.common]\r
+[Sources]\r
   DxeServicesLib.c\r
 \r
+[Sources.IA32, Sources.EBC, Sources.ARM, Sources.AARCH64]\r
+  Allocate.c\r
+\r
+[Sources.X64]\r
+  X64/Allocate.c\r
+\r
 [Packages]\r
   MdePkg/MdePkg.dec\r
 \r
 [LibraryClasses]\r
   MemoryAllocationLib\r
   DebugLib\r
+  DevicePathLib\r
+  UefiLib\r
   UefiBootServicesTableLib\r
 \r
+[LibraryClasses.X64]\r
+  HobLib\r
+\r
+[Guids]\r
+  gEfiFileInfoGuid                              ## SOMETIMES_CONSUMES ## UNDEFINED\r
+\r
 [Protocols]\r
-  gEfiFirmwareVolume2ProtocolGuid               # ALWAYS_CONSUMED\r
-  gEfiLoadedImageProtocolGuid\r
+  gEfiFirmwareVolume2ProtocolGuid               ## SOMETIMES_CONSUMES\r
+  gEfiLoadedImageProtocolGuid                   ## SOMETIMES_CONSUMES\r
+  gEfiLoadFileProtocolGuid                      ## SOMETIMES_CONSUMES\r
+  gEfiLoadFile2ProtocolGuid                     ## SOMETIMES_CONSUMES\r
+  gEfiSimpleFileSystemProtocolGuid              ## SOMETIMES_CONSUMES\r
 \r