]> git.proxmox.com Git - mirror_edk2.git/commit
PerformancePkg Dp_App: Use Image->FilePath to get name for SMM drivers
authorStar Zeng <star.zeng@intel.com>
Tue, 19 Jan 2016 09:19:28 +0000 (09:19 +0000)
committerlzeng14 <lzeng14@Edk2>
Tue, 19 Jan 2016 09:19:28 +0000 (09:19 +0000)
commit5d2afd44bbdc8e24f9d33865561cab93c36b8656
tree0b380a118821f9e7a807b295c1bfb2f896659dfb
parenta7bd6695c5b3e4c4d5daa0ba05cf6b518811fb8e
PerformancePkg Dp_App: Use Image->FilePath to get name for SMM drivers

This enhancement is to use the FilePath field in the loaded image
protocol to find the name of an image as a fallback for when the
loaded image device path protocol is not installed on the image handle.
This is necessary because the SMM core does not install the loaded
image device path protocol, so DP was displaying "Unknown Driver Name"
for every SMM driver.

Cc: Liming Gao <liming.gao@intel.com>
Cc: Daryl McDaniel <edk2-lists@mc2research.org>
Cc: Jaben Carsey <jaben.carsey@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19682 6f19259b-4bc3-4df7-8a09-765794883524
PerformancePkg/Dp_App/DpUtilities.c