]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
Add the definition of new format of IPv4 device path node, FibreEx device path node.
[mirror_edk2.git] / MdeModulePkg / Universal / DevicePathDxe / DevicePathDxe.inf
index 8036570b09fe1a2c22b1e5791a51f83e8360908e..d315fe6f52350280c559443f2b4e79c791377bb4 100644 (file)
@@ -1,12 +1,13 @@
-#/** @file\r
+## @file\r
+#  Device path driver that produces three UEFI device path protocols.\r
 #\r
-#    Component description file for Device Path Driver.\r
+#  This driver produces Device Path Utilities protocol and optionally\r
+#  DevicePahtToText and DevicePathFromText protocols based on feature flags\r
+#  PcdDevicePathSupportDevicePathToText & PcdDevicePathSupportDevicePathFromText\r
+#  respectively.\r
 #\r
-#   This driver implement these three UEFI deveice path protocols (\r
-#    DevicePathUtilities, DevicePahtToText and DevicePathFromText) and install them.\r
-#\r
-#  Copyright (c) 2006 - 2008, Intel Corporation. <BR>\r
-#  All rights reserved. This program and the accompanying materials\r
+#  Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>\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
@@ -14,7 +15,7 @@
 #  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
@@ -22,9 +23,6 @@
   FILE_GUID                      = 9B680FCE-AD6B-4F3A-B60B-F59899003443\r
   MODULE_TYPE                    = DXE_DRIVER\r
   VERSION_STRING                 = 1.0\r
-  EDK_RELEASE_VERSION            = 0x00090000\r
-  EFI_SPECIFICATION_VERSION      = 0x00020000\r
-\r
   ENTRY_POINT                    = DevicePathEntryPoint\r
 \r
 #\r
 #  VALID_ARCHITECTURES           = IA32 X64 IPF EBC\r
 #\r
 \r
-[Sources.common]\r
+[Sources]\r
   DevicePathUtilities.c\r
-  DevicePathToText.c\r
-  DevicePathFromText.c\r
+  DevicePathToText.c   ||||gEfiMdeModulePkgTokenSpaceGuid.PcdDevicePathSupportDevicePathToText\r
+  DevicePathFromText.c ||||gEfiMdeModulePkgTokenSpaceGuid.PcdDevicePathSupportDevicePathFromText\r
   DevicePath.h\r
   DevicePath.c\r
 \r
   DebugLib\r
 \r
 [Guids]\r
-  gEfiVTUTF8Guid                                # ALWAYS_CONSUMED\r
-  gEfiVT100Guid                                 # ALWAYS_CONSUMED\r
-  gEfiVT100PlusGuid                             # ALWAYS_CONSUMED\r
-  gEfiPcAnsiGuid                                # ALWAYS_CONSUMED\r
-\r
+  gEfiVTUTF8Guid         | gEfiMdeModulePkgTokenSpaceGuid.PcdDevicePathSupportDevicePathFromText OR gEfiMdeModulePkgTokenSpaceGuid.PcdDevicePathSupportDevicePathToText ## SOMETIMES_CONSUMES ## GUID\r
+  gEfiVT100Guid          | gEfiMdeModulePkgTokenSpaceGuid.PcdDevicePathSupportDevicePathFromText OR gEfiMdeModulePkgTokenSpaceGuid.PcdDevicePathSupportDevicePathToText ## SOMETIMES_CONSUMES ## GUID\r
+  gEfiVT100PlusGuid      | gEfiMdeModulePkgTokenSpaceGuid.PcdDevicePathSupportDevicePathFromText OR gEfiMdeModulePkgTokenSpaceGuid.PcdDevicePathSupportDevicePathToText ## SOMETIMES_CONSUMES ## GUID\r
+  gEfiPcAnsiGuid         | gEfiMdeModulePkgTokenSpaceGuid.PcdDevicePathSupportDevicePathFromText OR gEfiMdeModulePkgTokenSpaceGuid.PcdDevicePathSupportDevicePathToText ## SOMETIMES_CONSUMES ## GUID\r
+  gEfiUartDevicePathGuid | gEfiMdeModulePkgTokenSpaceGuid.PcdDevicePathSupportDevicePathFromText OR gEfiMdeModulePkgTokenSpaceGuid.PcdDevicePathSupportDevicePathToText ## SOMETIMES_CONSUMES ## GUID\r
+  gEfiSasDevicePathGuid  | gEfiMdeModulePkgTokenSpaceGuid.PcdDevicePathSupportDevicePathFromText OR gEfiMdeModulePkgTokenSpaceGuid.PcdDevicePathSupportDevicePathToText ## SOMETIMES_CONSUMES ## GUID\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 ## PRODUCES\r
+  gEfiDevicePathFromTextProtocolGuid | gEfiMdeModulePkgTokenSpaceGuid.PcdDevicePathSupportDevicePathToText ## PRODUCES\r
+  gEfiDevicePathUtilitiesProtocolGuid ## PRODUCES\r
+  gEfiDebugPortProtocolGuid          | gEfiMdeModulePkgTokenSpaceGuid.PcdDevicePathSupportDevicePathFromText OR gEfiMdeModulePkgTokenSpaceGuid.PcdDevicePathSupportDevicePathToText ## SOMETIMES_CONSUMES ## GUID\r
 \r
-[FeaturePcd.common]\r
+[FeaturePcd]\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdDevicePathSupportDevicePathFromText\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdDevicePathSupportDevicePathToText\r
 \r
+[Depex]\r
+  TRUE\r