diff options
author | Qiu Shumin <shumin.qiu@intel.com> | 2016-04-25 10:08:30 +0800 |
---|---|---|
committer | Hao Wu <hao.a.wu@intel.com> | 2016-07-13 20:43:03 +0800 |
commit | b0465d483b5b1d5fabc5e2e6d1783a163f6a7380 (patch) | |
tree | 90dbbcd43470531d70f9fa545cd31c06dd8aec56 /MdeModulePkg | |
parent | 56cacefbfaa180a91bf6e82e2fb208d83ac7feb2 (diff) | |
download | edk2-platforms-b0465d483b5b1d5fabc5e2e6d1783a163f6a7380.tar.xz |
ShellPkg: Fix Shell treats every .EFI file as an executable application.
UEFI Shell 2.x cannot recognize whether a .EFI file is an application or
a driver. This means when we typed in a driver image in Shell command
line, Shell will load the driver image and try to run the entry point
function of the driver.
This patch check the ImageCodeType to fix the issue.
Cc: Jaben Carsey <jaben.carsey@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Qiu Shumin <shumin.qiu@intel.com>
(cherry picked from commit 91a92220f75c15950e5ba913c1f204ec73f2c2e9)
Diffstat (limited to 'MdeModulePkg')
0 files changed, 0 insertions, 0 deletions