diff options
author | lzeng14 <lzeng14@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-11-25 02:24:07 +0000 |
---|---|---|
committer | lzeng14 <lzeng14@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-11-25 02:24:07 +0000 |
commit | a2daf8dbecddcc04fb4317b6772bc154f0773f7a (patch) | |
tree | 1747e1c0e42262d0169beacdba2a788cf2233ddb /PerformancePkg/Dp_App/Dp.inf | |
parent | 9ff904b04652a3a0b0a64847f22ff3b9ee1317f5 (diff) | |
download | edk2-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.inf | 7 |
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
|