diff options
author | niruiyu <niruiyu@6f19259b-4bc3-4df7-8a09-765794883524> | 2012-09-24 03:20:35 +0000 |
---|---|---|
committer | niruiyu <niruiyu@6f19259b-4bc3-4df7-8a09-765794883524> | 2012-09-24 03:20:35 +0000 |
commit | 771729c77fa49cf0ff17491f371003c4f5d66f85 (patch) | |
tree | 649b8c9dd6ee99a8a729fa7fdc66fd344e7cb22a /MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf | |
parent | 7f446eba268ceed7c3ca4bc93db1673c3b353128 (diff) | |
download | edk2-platforms-771729c77fa49cf0ff17491f371003c4f5d66f85.tar.xz |
Add new API IsDevicePathValid() to UefiDevicePathLib.
Signed-off-by: Ruiyu Ni<ruiyu.ni@intel.com>
Reviewed-by: Liming Gao<liming.gao@intel.com>
Reviewed-by: Kinney Michael D<michael.d.kinney@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13737 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf')
-rw-r--r-- | MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf b/MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf index c34301dc2d..2ae151d8b4 100644 --- a/MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf +++ b/MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf @@ -3,7 +3,7 @@ #
# Device Path Library that layers on top of the Memory Allocation Library.
#
-# Copyright (c) 2007 - 2010, Intel Corporation. All rights reserved.<BR>
+# Copyright (c) 2007 - 2012, Intel Corporation. All rights reserved.<BR>
#
# This program and the accompanying materials
# are licensed and made available under the terms and conditions of the BSD License
@@ -42,8 +42,10 @@ MemoryAllocationLib
DebugLib
BaseMemoryLib
-
+ PcdLib
[Protocols]
gEfiDevicePathProtocolGuid ## CONSUMES
+[Pcd]
+ gEfiMdePkgTokenSpaceGuid.PcdMaximumDevicePathNodeCount
|