X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=MdePkg%2FLibrary%2FUefiDevicePathLibDevicePathProtocol%2FUefiDevicePathLibDevicePathProtocol.inf;h=4737cebb31ffa2f8abbcd9ef64f4d923a4ac1ec3;hb=3cb0a311cb7e747d7be5c5076d0fff76ad256d2b;hp=3393830d60401ba1078a728ae2e84347d09aaf02;hpb=3397c6f5904b7d336670771ec9a7bf6176b64631;p=mirror_edk2.git
diff --git a/MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibDevicePathProtocol.inf b/MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibDevicePathProtocol.inf
index 3393830d60..4737cebb31 100644
--- a/MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibDevicePathProtocol.inf
+++ b/MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibDevicePathProtocol.inf
@@ -1,10 +1,10 @@
## @file
-# Instance of Device Path Library based on Device Path Protocol.
+# Instance of Device Path Library based on Device Path Utilities Protocol.
#
-# Device Path Library that layers on top of the UEFI 2.0 Device Path Protocol.
+# Device Path Library that layers on top of the UEFI 2.0 Device Path Utilities Protocol.
# This library is not available for EFI 1.10 modules.
#
-# Copyright (c) 2007 - 2011, Intel Corporation. All rights reserved.
+# Copyright (c) 2007 - 2018, 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
@@ -19,15 +19,16 @@
[Defines]
INF_VERSION = 0x00010005
BASE_NAME = UefiDevicePathLibDevicePathProtocol
+ MODULE_UNI_FILE = UefiDevicePathLibDevicePathProtocol.uni
FILE_GUID = 050EB8C6-C12E-4b86-892B-40985E8B3137
MODULE_TYPE = UEFI_DRIVER
VERSION_STRING = 1.0
- LIBRARY_CLASS = DevicePathLib|DXE_DRIVER DXE_RUNTIME_DRIVER DXE_SAL_DRIVER DXE_SMM_DRIVER UEFI_APPLICATION UEFI_DRIVER
+ LIBRARY_CLASS = DevicePathLib|DXE_DRIVER DXE_RUNTIME_DRIVER DXE_SMM_DRIVER UEFI_APPLICATION UEFI_DRIVER SMM_CORE
CONSTRUCTOR = DevicePathLibConstructor
#
-# VALID_ARCHITECTURES = IA32 X64 IPF EBC
+# VALID_ARCHITECTURES = IA32 X64 EBC
#
[Sources]
@@ -44,11 +45,17 @@
MemoryAllocationLib
BaseLib
DebugLib
-
+ PcdLib
[Protocols]
- gEfiDevicePathProtocolGuid ## CONSUMES
+ gEfiDevicePathProtocolGuid ## SOMETIMES_CONSUMES
gEfiDevicePathUtilitiesProtocolGuid ## CONSUMES
+ gEfiDevicePathToTextProtocolGuid ## SOMETIMES_CONSUMES
+ gEfiDevicePathFromTextProtocolGuid ## SOMETIMES_CONSUMES
+
+[Pcd]
+ gEfiMdePkgTokenSpaceGuid.PcdMaximumDevicePathNodeCount ## SOMETIMES_CONSUMES
[Depex.common.DXE_DRIVER, Depex.common.DXE_RUNTIME_DRIVER, Depex.common.DXE_SAL_DRIVER, Depex.common.DXE_SMM_DRIVER]
gEfiDevicePathUtilitiesProtocolGuid
+