OvmfPkg/Sec: Don't decompress the FV on S3 resume
authorJordan Justen <jordan.l.justen@intel.com>
Tue, 4 Mar 2014 08:02:37 +0000 (08:02 +0000)
committerjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 4 Mar 2014 08:02:37 +0000 (08:02 +0000)
commita781f7099bc2584fd065f1947bedd49adfea0fa5
tree39673698749efc4903e717d557cc9aba9f81eb7d
parentbd386eaf86f1f55dd28d2c5b26a8c80b2a9002a8
OvmfPkg/Sec: Don't decompress the FV on S3 resume

Since we marked the FV at PcdOvmfPeiMemFvBase as ACPI NVS memory,
we can use it on S3 resume.

The FV at PcdOvmfDxeMemFvBase may have been overwritten by the OS,
but we do not use it's contents on S3 resume.

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@15296 6f19259b-4bc3-4df7-8a09-765794883524
OvmfPkg/Sec/SecMain.c