On 2016/1/19 18:04, Laszlo Ersek wrote:
On 01/18/16 07:02, Star Zeng wrote:
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.

Star Zeng (2):
   PerformancePkg Dp_App: Use Image->FilePath to get name for SMM drivers
   ShellPkg UefiDpLib: Use Image->FilePath to get name for SMM drivers

  PerformancePkg/Dp_App/DpUtilities.c      | 13 ++++++++++---
  ShellPkg/Library/UefiDpLib/DpUtilities.c | 14 +++++++++++---
  2 files changed, 21 insertions(+), 6 deletions(-)


Out of interest, which are the UEFI shell commands whose output is
improved by patch #2? Is it the DRIVERS command, perchance?

As I know, UefiDpLib can be linked with shell application, then the built out shell binary could have an integrated "dp" command.
You can also see the usage of build flag INCLUDE_DP in ShellPkg.dsc.


Thanks,
Star


Thanks!
Laszlo


_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to