summaryrefslogtreecommitdiff
path: root/PerformancePkg/Dp_App/Dp.inf
diff options
context:
space:
mode:
authorlzeng14 <lzeng14@6f19259b-4bc3-4df7-8a09-765794883524>2011-11-25 02:24:07 +0000
committerlzeng14 <lzeng14@6f19259b-4bc3-4df7-8a09-765794883524>2011-11-25 02:24:07 +0000
commita2daf8dbecddcc04fb4317b6772bc154f0773f7a (patch)
tree1747e1c0e42262d0169beacdba2a788cf2233ddb /PerformancePkg/Dp_App/Dp.inf
parent9ff904b04652a3a0b0a64847f22ff3b9ee1317f5 (diff)
downloadedk2-platforms-a2daf8dbecddcc04fb4317b6772bc154f0773f7a.tar.xz
Update DP to get Image name with the following methods orderly.
1. Image PDB 2. ComponentName2 protocol 3. FFS UI section 4. Image GUID 5. Image DevicePath 6. Unknown Driver Name Signed-off-by: lzeng14 Reviewed-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12779 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'PerformancePkg/Dp_App/Dp.inf')
-rw-r--r--PerformancePkg/Dp_App/Dp.inf7
1 files changed, 6 insertions, 1 deletions
diff --git a/PerformancePkg/Dp_App/Dp.inf b/PerformancePkg/Dp_App/Dp.inf
index f1c6180989..a27ebe65ac 100644
--- a/PerformancePkg/Dp_App/Dp.inf
+++ b/PerformancePkg/Dp_App/Dp.inf
@@ -58,10 +58,15 @@
UefiLib
HiiLib
PcdLib
+ DevicePathLib
+ DxeServicesLib
[Protocols]
gEfiLoadedImageProtocolGuid # ALWAYS_CONSUMED
- gEfiDriverBindingProtocolGuid # ALWAYS_CONSUMED
+ gEfiDriverBindingProtocolGuid # SOMETIMES_CONSUMED
+ gEfiComponentName2ProtocolGuid # SOMETIMES_CONSUMED
+ gEfiLoadedImageDevicePathProtocolGuid # SOMETIMES_CONSUMED
+ gEfiDevicePathToTextProtocolGuid # SOMETIMES_CONSUMED
[Pcd]
gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize