X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=MdeModulePkg%2FUniversal%2FDevicePathDxe%2FDevicePathDxe.inf;h=d315fe6f52350280c559443f2b4e79c791377bb4;hb=09e19629057ae62c97fe77969df17fc44c9fe6d6;hp=8036570b09fe1a2c22b1e5791a51f83e8360908e;hpb=572f5d8a7b704eed9f54381b6bb3a6e3a3e79816;p=mirror_edk2.git
diff --git a/MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf b/MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
index 8036570b09..d315fe6f52 100644
--- a/MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
+++ b/MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
@@ -1,12 +1,13 @@
-#/** @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 - 2008, Intel Corporation.
-# All rights reserved. This program and the accompanying materials
+# Copyright (c) 2006 - 2011, 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
@@ -14,7 +15,7 @@
# 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
@@ -22,9 +23,6 @@
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
#
@@ -33,10 +31,10 @@
# VALID_ARCHITECTURES = IA32 X64 IPF EBC
#
-[Sources.common]
+[Sources]
DevicePathUtilities.c
- DevicePathToText.c
- DevicePathFromText.c
+ DevicePathToText.c ||||gEfiMdeModulePkgTokenSpaceGuid.PcdDevicePathSupportDevicePathToText
+ DevicePathFromText.c ||||gEfiMdeModulePkgTokenSpaceGuid.PcdDevicePathSupportDevicePathFromText
DevicePath.h
DevicePath.c
@@ -56,18 +54,22 @@
DebugLib
[Guids]
- gEfiVTUTF8Guid # ALWAYS_CONSUMED
- gEfiVT100Guid # ALWAYS_CONSUMED
- gEfiVT100PlusGuid # ALWAYS_CONSUMED
- gEfiPcAnsiGuid # ALWAYS_CONSUMED
-
+ gEfiVTUTF8Guid | gEfiMdeModulePkgTokenSpaceGuid.PcdDevicePathSupportDevicePathFromText OR gEfiMdeModulePkgTokenSpaceGuid.PcdDevicePathSupportDevicePathToText ## SOMETIMES_CONSUMES ## GUID
+ gEfiVT100Guid | gEfiMdeModulePkgTokenSpaceGuid.PcdDevicePathSupportDevicePathFromText OR gEfiMdeModulePkgTokenSpaceGuid.PcdDevicePathSupportDevicePathToText ## SOMETIMES_CONSUMES ## GUID
+ gEfiVT100PlusGuid | gEfiMdeModulePkgTokenSpaceGuid.PcdDevicePathSupportDevicePathFromText OR gEfiMdeModulePkgTokenSpaceGuid.PcdDevicePathSupportDevicePathToText ## SOMETIMES_CONSUMES ## GUID
+ gEfiPcAnsiGuid | gEfiMdeModulePkgTokenSpaceGuid.PcdDevicePathSupportDevicePathFromText OR gEfiMdeModulePkgTokenSpaceGuid.PcdDevicePathSupportDevicePathToText ## SOMETIMES_CONSUMES ## GUID
+ gEfiUartDevicePathGuid | gEfiMdeModulePkgTokenSpaceGuid.PcdDevicePathSupportDevicePathFromText OR gEfiMdeModulePkgTokenSpaceGuid.PcdDevicePathSupportDevicePathToText ## SOMETIMES_CONSUMES ## GUID
+ gEfiSasDevicePathGuid | gEfiMdeModulePkgTokenSpaceGuid.PcdDevicePathSupportDevicePathFromText OR gEfiMdeModulePkgTokenSpaceGuid.PcdDevicePathSupportDevicePathToText ## SOMETIMES_CONSUMES ## GUID
+
[Protocols]
- gEfiDevicePathToTextProtocolGuid # PROTOCOL ALWAYS_PRODUCED
- gEfiDevicePathFromTextProtocolGuid # PROTOCOL ALWAYS_PRODUCED
- gEfiDevicePathUtilitiesProtocolGuid # PROTOCOL ALWAYS_PRODUCED
- gEfiDebugPortProtocolGuid # PROTOCOL ALWAYS_CONSUMED
+ gEfiDevicePathToTextProtocolGuid | gEfiMdeModulePkgTokenSpaceGuid.PcdDevicePathSupportDevicePathFromText ## PRODUCES
+ gEfiDevicePathFromTextProtocolGuid | gEfiMdeModulePkgTokenSpaceGuid.PcdDevicePathSupportDevicePathToText ## PRODUCES
+ gEfiDevicePathUtilitiesProtocolGuid ## PRODUCES
+ gEfiDebugPortProtocolGuid | gEfiMdeModulePkgTokenSpaceGuid.PcdDevicePathSupportDevicePathFromText OR gEfiMdeModulePkgTokenSpaceGuid.PcdDevicePathSupportDevicePathToText ## SOMETIMES_CONSUMES ## GUID
-[FeaturePcd.common]
+[FeaturePcd]
gEfiMdeModulePkgTokenSpaceGuid.PcdDevicePathSupportDevicePathFromText
gEfiMdeModulePkgTokenSpaceGuid.PcdDevicePathSupportDevicePathToText
+[Depex]
+ TRUE