summaryrefslogtreecommitdiff
path: root/EmulatorPkg/FlashMapPei
diff options
context:
space:
mode:
authorLaszlo Ersek <lersek@redhat.com>2014-03-04 08:03:23 +0000
committerjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>2014-03-04 08:03:23 +0000
commit6a7cba79b7b6d58f79a01bf29c900cb3ca6b5187 (patch)
treee9b46938100fd90096639dc2963b205e117e28f4 /EmulatorPkg/FlashMapPei
parent5fb6fc0f0538af2927905090c26a72d4de4112a4 (diff)
downloadedk2-platforms-6a7cba79b7b6d58f79a01bf29c900cb3ca6b5187.tar.xz
OvmfPkg: implement LockBoxLib
The S3 suspend/resume infrastructure depends on the LockBox library class. The edk2 tree currently contains Null and SMM instances. The Null instance is useless, and the SMM instance would require SMM emulation by including the SMM core and adding several new drivers, which is deemed too complex. Hence add a simple LockBoxLib instance for OVMF. jordan.l.justen@intel.com: * use PCDs instead of EmuNvramLib - clear memory in PlatformPei on non S3 boots * allocate NVS memory and store a pointer to that memory - reduces memory use at fixed locations Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Laszlo Ersek <lersek@redhat.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15301 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'EmulatorPkg/FlashMapPei')
0 files changed, 0 insertions, 0 deletions