-#/** @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
+# Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>\r
+# SPDX-License-Identifier: BSD-2-Clause-Patent\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
-#\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
\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