]> git.proxmox.com Git - mirror_edk2.git/commit - MdeModulePkg/Core/Dxe/Image/Image.c
MdeModulePkg/Dxe/Image: Restore mCurrentImage on all paths
authorHao Wu <hao.a.wu@intel.com>
Mon, 20 Mar 2017 08:24:09 +0000 (16:24 +0800)
committerHao Wu <hao.a.wu@intel.com>
Thu, 13 Apr 2017 00:51:53 +0000 (08:51 +0800)
commit7a14d54f6c50a1ff73351e4aaee8570ec5f8a476
tree0a65ca6e5c4e9dcc17c09ec3a91d67d483b02b0a
parent36a0d5cab8c9a6ad628ca8e6ccb5d63ed87a53dd
MdeModulePkg/Dxe/Image: Restore mCurrentImage on all paths

This commit makes sure that in function CoreStartImage(), module
variable 'mCurrentImage' is restored to the current start image context
on all code paths.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Hao Wu <hao.a.wu@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
MdeModulePkg/Core/Dxe/Image/Image.c