summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptSave.c
diff options
context:
space:
mode:
authorStar Zeng <star.zeng@intel.com>2016-05-26 13:21:08 +0800
committerStar Zeng <star.zeng@intel.com>2016-06-07 10:01:09 +0800
commit738df706c1192a546bd88f017dc00d263f2bc1c2 (patch)
tree2d57e65721266ecb460b49255924e7f791b9fe70 /MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptSave.c
parentda9d39c28ee24dde172616fe05ce3c252223b01c (diff)
downloadedk2-platforms-738df706c1192a546bd88f017dc00d263f2bc1c2.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>
Diffstat (limited to 'MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptSave.c')
0 files changed, 0 insertions, 0 deletions