diff options
author | Star Zeng <star.zeng@intel.com> | 2016-05-26 13:21:08 +0800 |
---|---|---|
committer | Hao Wu <hao.a.wu@intel.com> | 2016-07-06 16:43:13 +0800 |
commit | 03c41ca1a3308766e3d4aa8e30f1b7bb18ea45a4 (patch) | |
tree | 007c6753146057e26f0dc3bb7d4eb83f9c902b00 /MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptSave.c | |
parent | 558b76905298a822e58ba2b96c3d0eaa8edb8fad (diff) | |
download | edk2-platforms-03c41ca1a3308766e3d4aa8e30f1b7bb18ea45a4.tar.xz |
MdeModulePkg SmmLockBoxSmmLib: Add DESTRUCTOR SmmLockBoxSmmDestructor
SmmLockBoxSmmLib is linked to SMM modules. If the module entry-point
function returns error, the module will be unloaded and the global
variables will point to undefined memory.
This patch is to add DESTRUCTOR SmmLockBoxSmmDestructor to uninstall
SmmLockBoxCommunication configuration table if it has been installed
in Constructor.
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Laszlo Ersek <lersek@redhat.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Tested-by: Laszlo Ersek <lersek@redhat.com>
(cherry picked from commit 738df706c1192a546bd88f017dc00d263f2bc1c2)
Diffstat (limited to 'MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptSave.c')
0 files changed, 0 insertions, 0 deletions