-#/** @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
# 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
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
-\r