From 771729c77fa49cf0ff17491f371003c4f5d66f85 Mon Sep 17 00:00:00 2001 From: niruiyu Date: Mon, 24 Sep 2012 03:20:35 +0000 Subject: Add new API IsDevicePathValid() to UefiDevicePathLib. Signed-off-by: Ruiyu Ni Reviewed-by: Liming Gao Reviewed-by: Kinney Michael D git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13737 6f19259b-4bc3-4df7-8a09-765794883524 --- .../UefiDevicePathLibDevicePathProtocol.inf | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibDevicePathProtocol.inf') diff --git a/MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibDevicePathProtocol.inf b/MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibDevicePathProtocol.inf index 3393830d60..16b47e3883 100644 --- a/MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibDevicePathProtocol.inf +++ b/MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibDevicePathProtocol.inf @@ -4,7 +4,7 @@ # Device Path Library that layers on top of the UEFI 2.0 Device Path Protocol. # This library is not available for EFI 1.10 modules. # -# Copyright (c) 2007 - 2011, Intel Corporation. All rights reserved.
+# Copyright (c) 2007 - 2012, 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 @@ -44,11 +44,14 @@ MemoryAllocationLib BaseLib DebugLib - + PcdLib [Protocols] gEfiDevicePathProtocolGuid ## CONSUMES gEfiDevicePathUtilitiesProtocolGuid ## CONSUMES +[Pcd] + gEfiMdePkgTokenSpaceGuid.PcdMaximumDevicePathNodeCount + [Depex.common.DXE_DRIVER, Depex.common.DXE_RUNTIME_DRIVER, Depex.common.DXE_SAL_DRIVER, Depex.common.DXE_SMM_DRIVER] gEfiDevicePathUtilitiesProtocolGuid -- cgit v1.2.3