]> git.proxmox.com Git - mirror_edk2.git/commit - ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.c
ShellPkg/HandleParsingLib: Open LoadedImageProtocol first
authorJeff Westfahl <jeff.westfahl@ni.com>
Thu, 4 May 2017 21:53:03 +0000 (05:53 +0800)
committerRuiyu Ni <ruiyu.ni@intel.com>
Thu, 11 May 2017 11:14:43 +0000 (19:14 +0800)
commitbbb212afa0f8e33e0b686a1b6ffd85d353eed83d
treee2da5d8745e0e5e6c5ff2173d2d3ac272f1ee8bf
parentc15323ae2e79ee9b0779b030605d5d4c204d624a
ShellPkg/HandleParsingLib: Open LoadedImageProtocol first

This patch changes the order of operations to make sure we can open the
LoadedImageProtocol before getting the format string. This should not
affect functionality, and makes the next patch easier to review.

Cc: Ruiyu Ni <ruiyu.ni@intel.com>
Cc: Jaben Carsey <jaben.carsey@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jeff Westfahl <jeff.westfahl@ni.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.c