X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdeModulePkg%2FUniversal%2FDevicePathDxe%2FDevicePathDxe.inf;h=0b8ea7267832b7a541f6a930d9a4bc0fc5ebc26d;hp=ef905c84e70282f9a674435bd9884de2d4a31f21;hb=9d510e61fceee7b92955ef9a3c20343752d8ce3f;hpb=b3bc6cd9e3f72d0b587983f222ba5455bda78a7e
diff --git a/MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf b/MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
index ef905c84e7..0b8ea72678 100644
--- a/MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
+++ b/MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
@@ -1,76 +1,54 @@
-#/** @file
+## @file
+# Device path driver that produces three UEFI device path protocols.
#
-# Component description file for Device Path Driver.
+# This driver produces Device Path Utilities protocol and optionally
+# DevicePahtToText and DevicePathFromText protocols based on feature flags
+# PcdDevicePathSupportDevicePathToText & PcdDevicePathSupportDevicePathFromText
+# respectively.
#
-# This driver implement these three UEFI deveice path protocols (
-# DevicePathUtilities, DevicePahtToText and DevicePathFromText) and install them.
+# Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.
+# SPDX-License-Identifier: BSD-2-Clause-Patent
#
-# Copyright (c) 2006 - 2008, Intel Corporation.
-# All rights reserved. This program and the accompanying materials
-# are licensed and made available under the terms and conditions of the BSD License
-# which accompanies this distribution. The full text of the license may be found at
-# http://opensource.org/licenses/bsd-license.php
-#
-# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
-# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
-#
-#**/
+##
[Defines]
INF_VERSION = 0x00010005
BASE_NAME = DevicePathDxe
+ MODULE_UNI_FILE = DevicePathDxe.uni
FILE_GUID = 9B680FCE-AD6B-4F3A-B60B-F59899003443
MODULE_TYPE = DXE_DRIVER
VERSION_STRING = 1.0
- EDK_RELEASE_VERSION = 0x00090000
- EFI_SPECIFICATION_VERSION = 0x00020000
-
ENTRY_POINT = DevicePathEntryPoint
#
# The following information is for reference only and not required by the build tools.
#
-# VALID_ARCHITECTURES = IA32 X64 IPF EBC
+# VALID_ARCHITECTURES = IA32 X64 EBC
#
-[Sources.common]
- DevicePathUtilities.c
- DevicePathToText.c
- DevicePathFromText.c
- DevicePath.h
+[Sources]
DevicePath.c
[Packages]
- MdeModulePkg/MdeModulePkg.dec
MdePkg/MdePkg.dec
+ MdeModulePkg/MdeModulePkg.dec
[LibraryClasses]
- PcdLib
DevicePathLib
UefiBootServicesTableLib
- MemoryAllocationLib
- BaseMemoryLib
- BaseLib
UefiDriverEntryPoint
- PrintLib
- DebugLib
-
-[Guids]
- gEfiVTUTF8Guid # ALWAYS_CONSUMED
- gEfiVT100Guid # ALWAYS_CONSUMED
- gEfiVT100PlusGuid # ALWAYS_CONSUMED
- gEfiPcAnsiGuid # ALWAYS_CONSUMED
[Protocols]
- gEfiDevicePathToTextProtocolGuid # PROTOCOL ALWAYS_PRODUCED
- gEfiDevicePathFromTextProtocolGuid # PROTOCOL ALWAYS_PRODUCED
- gEfiDevicePathUtilitiesProtocolGuid # PROTOCOL ALWAYS_PRODUCED
- gEfiDebugPortProtocolGuid # PROTOCOL ALWAYS_CONSUMED
+ gEfiDevicePathToTextProtocolGuid | gEfiMdeModulePkgTokenSpaceGuid.PcdDevicePathSupportDevicePathFromText ## SOMETIMES_PRODUCES
+ gEfiDevicePathFromTextProtocolGuid | gEfiMdeModulePkgTokenSpaceGuid.PcdDevicePathSupportDevicePathToText ## SOMETIMES_PRODUCES
+ gEfiDevicePathUtilitiesProtocolGuid ## PRODUCES
-[FeaturePcd.common]
- gEfiMdeModulePkgTokenSpaceGuid.PcdDevicePathSupportDevicePathFromText
- gEfiMdeModulePkgTokenSpaceGuid.PcdDevicePathSupportDevicePathToText
+[FeaturePcd]
+ gEfiMdeModulePkgTokenSpaceGuid.PcdDevicePathSupportDevicePathFromText ## CONSUMES
+ gEfiMdeModulePkgTokenSpaceGuid.PcdDevicePathSupportDevicePathToText ## CONSUMES
[Depex]
TRUE
+[UserExtensions.TianoCore."ExtraFiles"]
+ DevicePathDxeExtra.uni