]> git.proxmox.com Git - mirror_edk2.git/commit
SecurityPkg OpalPasswordSmm: Fix S3 resume failure.
authorEric Dong <eric.dong@intel.com>
Tue, 11 Oct 2016 08:00:21 +0000 (16:00 +0800)
committerStar Zeng <star.zeng@intel.com>
Wed, 12 Oct 2016 05:19:47 +0000 (13:19 +0800)
commit0acd8df45f24a1d6c2b7635691ce4d3f994cfba8
tree695b610b5d42b500681d6cb7db7aebd71bc88ec0
parent19e3aa7a8a8dcd661e0c2c45d139c5a6bda57dbb
SecurityPkg OpalPasswordSmm: Fix S3 resume failure.

Changes includes:
1.Check SMM device list before update it to avoid duplicate creation.
2.Clean up the configuration buffer before use it in S3 resume phase.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Feng Tian <feng.tian@intel.com>
SecurityPkg/Tcg/Opal/OpalPasswordSmm/OpalNvmeMode.c
SecurityPkg/Tcg/Opal/OpalPasswordSmm/OpalPasswordSmm.c