]> 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 2941816fb55ef81a3fa82b1b0a562565f4759029..d60f76129b0490dc1714920cc116b5890bd13930 100644 (file)
@@ -1,16 +1,13 @@
 ## @file\r
+# DXE Services Library instance provides functions that simplify the development of DXE Drivers.\r
+#\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
+# 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
-# Copyright (c) 2007 - 2010, Intel Corporation. All rights reserved.<BR>\r
+# Copyright (c) 2007 - 2018, 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
-#  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
+#  SPDX-License-Identifier: BSD-2-Clause-Patent\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
+  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]\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
   UefiLib\r
   UefiBootServicesTableLib\r
 \r
+[LibraryClasses.X64]\r
+  HobLib\r
+\r
 [Guids]\r
-  gEfiFileInfoGuid                              ## CONSUMES\r
+  gEfiFileInfoGuid                              ## SOMETIMES_CONSUMES ## UNDEFINED\r
 \r
 [Protocols]\r
-  gEfiFirmwareVolume2ProtocolGuid               ## CONSUMES\r
-  gEfiLoadedImageProtocolGuid                   ## CONSUMES\r
-  gEfiLoadFileProtocolGuid                      ## CONSUMES\r
-  gEfiLoadFile2ProtocolGuid                     ## CONSUMES \r
-  gEfiSimpleFileSystemProtocolGuid              ## CONSUMES \r
+  gEfiFirmwareVolume2ProtocolGuid               ## SOMETIMES_CONSUMES\r
+  gEfiLoadedImageProtocolGuid                   ## SOMETIMES_CONSUMES\r
+  gEfiLoadFileProtocolGuid                      ## SOMETIMES_CONSUMES\r
+  gEfiLoadFile2ProtocolGuid                     ## SOMETIMES_CONSUMES\r
+  gEfiSimpleFileSystemProtocolGuid              ## SOMETIMES_CONSUMES\r
+\r