]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
MdeModulePkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / MdeModulePkg / Universal / DevicePathDxe / DevicePathDxe.inf
index 4ccbb7b82ca86a7bbd2cbb86b3b20d3246cda563..0b8ea7267832b7a541f6a930d9a4bc0fc5ebc26d 100644 (file)
@@ -1,4 +1,4 @@
-#/** @file\r
+## @file\r
 #  Device path driver that produces three UEFI device path protocols.\r
 #\r
 #  This driver produces Device Path Utilities protocol and optionally\r
@@ -6,20 +6,15 @@
 #  PcdDevicePathSupportDevicePathToText & PcdDevicePathSupportDevicePathFromText\r
 #  respectively.\r
 #\r
-#  Copyright (c) 2006 - 2008, Intel Corporation. <BR>\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
+#  Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>\r
+#  SPDX-License-Identifier: BSD-2-Clause-Patent\r
 #\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                      = DevicePathDxe\r
+  MODULE_UNI_FILE                = DevicePathDxe.uni\r
   FILE_GUID                      = 9B680FCE-AD6B-4F3A-B60B-F59899003443\r
   MODULE_TYPE                    = DXE_DRIVER\r
   VERSION_STRING                 = 1.0\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
+#  VALID_ARCHITECTURES           = IA32 X64 EBC\r
 #\r
 \r
-[Sources.common]\r
-  DevicePathUtilities.c\r
-  DevicePathToText.c\r
-  DevicePathFromText.c\r
-  DevicePath.h\r
+[Sources]\r
   DevicePath.c\r
 \r
 [Packages]\r
-  MdeModulePkg/MdeModulePkg.dec\r
   MdePkg/MdePkg.dec\r
+  MdeModulePkg/MdeModulePkg.dec\r
 \r
 [LibraryClasses]\r
-  PcdLib\r
   DevicePathLib\r
   UefiBootServicesTableLib\r
-  MemoryAllocationLib\r
-  BaseMemoryLib\r
-  BaseLib\r
   UefiDriverEntryPoint\r
-  PrintLib\r
-  DebugLib\r
 \r
-[Guids]\r
-  gEfiVTUTF8Guid                                # ALWAYS_CONSUMED\r
-  gEfiVT100Guid                                 # ALWAYS_CONSUMED\r
-  gEfiVT100PlusGuid                             # ALWAYS_CONSUMED\r
-  gEfiPcAnsiGuid                                # ALWAYS_CONSUMED\r
-  gEfiUartDevicePathGuid                        # ALWAYS_CONSUMED\r
-  gEfiSasDevicePathGuid                         # ALWAYS_CONSUMED\r
-  \r
 [Protocols]\r
-  gEfiDevicePathToTextProtocolGuid              # PROTOCOL ALWAYS_PRODUCED\r
-  gEfiDevicePathFromTextProtocolGuid            # PROTOCOL ALWAYS_PRODUCED\r
-  gEfiDevicePathUtilitiesProtocolGuid           # PROTOCOL ALWAYS_PRODUCED\r
-  gEfiDebugPortProtocolGuid                     # PROTOCOL ALWAYS_CONSUMED\r
+  gEfiDevicePathToTextProtocolGuid   | gEfiMdeModulePkgTokenSpaceGuid.PcdDevicePathSupportDevicePathFromText ## SOMETIMES_PRODUCES\r
+  gEfiDevicePathFromTextProtocolGuid | gEfiMdeModulePkgTokenSpaceGuid.PcdDevicePathSupportDevicePathToText ## SOMETIMES_PRODUCES\r
+  gEfiDevicePathUtilitiesProtocolGuid ## PRODUCES\r
 \r
-[FeaturePcd.common]\r
-  gEfiMdeModulePkgTokenSpaceGuid.PcdDevicePathSupportDevicePathFromText\r
-  gEfiMdeModulePkgTokenSpaceGuid.PcdDevicePathSupportDevicePathToText\r
+[FeaturePcd]\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdDevicePathSupportDevicePathFromText ## CONSUMES\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdDevicePathSupportDevicePathToText   ## CONSUMES\r
 \r
 [Depex]\r
   TRUE\r
+\r
+[UserExtensions.TianoCore."ExtraFiles"]\r
+  DevicePathDxeExtra.uni\r