edk2/MdeModulePkg/Library/SmmLockBoxLib
Star Zeng 03c41ca1a3 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 738df706c1)
2016-07-06 16:43:13 +08:00
..
SmmLockBoxDxeLib.c MdeModulePkg: Add SMM LockBox 2011-07-19 20:47:28 +00:00
SmmLockBoxDxeLib.inf MdeModulePkg: INF/DEC file updates to EDK II packages 2014-08-28 06:34:06 +00:00
SmmLockBoxDxeLib.uni MdeModulePkg: Convert non DOS format files to DOS format and remove unused module UNI files. 2014-09-03 08:39:12 +00:00
SmmLockBoxLibPrivate.h MdeModulePkg: Fix build error for UNIXGCC with IPF 2011-07-28 17:47:22 +00:00
SmmLockBoxPeiLib.c MdeModulePkg: Add SmmLockBox PEI implementation 2011-08-02 21:06:13 +00:00
SmmLockBoxPeiLib.inf MdeModulePkg: INF/DEC file updates to EDK II packages 2014-08-28 06:34:06 +00:00
SmmLockBoxPeiLib.uni MdeModulePkg: Convert non DOS format files to DOS format and remove unused module UNI files. 2014-09-03 08:39:12 +00:00
SmmLockBoxSmmLib.c MdeModulePkg SmmLockBoxSmmLib: Add DESTRUCTOR SmmLockBoxSmmDestructor 2016-07-06 16:43:13 +08:00
SmmLockBoxSmmLib.inf MdeModulePkg SmmLockBoxSmmLib: Add DESTRUCTOR SmmLockBoxSmmDestructor 2016-07-06 16:43:13 +08:00
SmmLockBoxSmmLib.uni MdeModulePkg: Convert non DOS format files to DOS format and remove unused module UNI files. 2014-09-03 08:39:12 +00:00