]> git.proxmox.com Git - mirror_edk2.git/commit - MdeModulePkg/Core/PiSmmCore/Dispatcher.c
Uninstall LoadedImage protocol if SMM driver returns error and is unloaded.
authorYao, Jiewen <jiewen.yao@intel.com>
Wed, 25 Nov 2015 04:05:49 +0000 (04:05 +0000)
committerjyao1 <jyao1@Edk2>
Wed, 25 Nov 2015 04:05:49 +0000 (04:05 +0000)
commit02f02b16e268d4e62676b69d2eaedf18e792d002
tree735125e6e8093e812c918c427c6147645eafea0a
parent20ab326972339d16d7e95d94f9d7710cae1ae75f
Uninstall LoadedImage protocol if SMM driver returns error and is unloaded.

Original code does not uninstall LoadedImage protocol if SMM driver returns error and is unloaded.
It causes a wrong LoadedImage protocol existing in system.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: "Yao, Jiewen" <jiewen.yao@intel.com>
Reviewed-by: "Zeng, Star" <star.zeng@intel.com>
Reviewed-by: "Kinney, Michael D" <michael.d.kinney@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18936 6f19259b-4bc3-4df7-8a09-765794883524
MdeModulePkg/Core/PiSmmCore/Dispatcher.c