summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJordan Justen <jordan.l.justen@intel.com>2014-01-30 01:06:47 +0000
committerjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>2014-01-30 01:06:47 +0000
commit8d25bed4bd18daff0b7151e47542b5edd0467fd7 (patch)
treee6fb571d7103f8c3b1d347c71405b7398abd2dc0
parentc3cf8daa0f5091ce13e4c20252d5f3fb2a1a193d (diff)
downloadedk2-8d25bed4bd18daff0b7151e47542b5edd0467fd7.tar.gz
edk2-8d25bed4bd18daff0b7151e47542b5edd0467fd7.tar.bz2
edk2-8d25bed4bd18daff0b7151e47542b5edd0467fd7.zip
OvmfPkg/PlatformPei: Don't allocate ACPI NVS memory
Once we support ACPI S3, then we can restore this to being allocated as ACPI NVS memory. At that time we should also have a way to disable S3 support in QEMU. When we detect that S3 is disabled in QEMU, then we can allocate this as regular Boot Services Data memory. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Bill Paul <wpaul@windriver.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15198 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r--OvmfPkg/PlatformPei/Fv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/OvmfPkg/PlatformPei/Fv.c b/OvmfPkg/PlatformPei/Fv.c
index fbdb597043..1ee417a091 100644
--- a/OvmfPkg/PlatformPei/Fv.c
+++ b/OvmfPkg/PlatformPei/Fv.c
@@ -36,12 +36,12 @@ PeiFvInitialization (
//
// Create a memory allocation HOB for the PEI FV.
//
- // This is marked as ACPI NVS so it will still be available on S3 resume.
+ // Note: This should be changed to ACPI NVS when S3 resume is enabled.
//
BuildMemoryAllocationHob (
PcdGet32 (PcdOvmfPeiMemFvBase),
PcdGet32 (PcdOvmfPeiMemFvSize),
- EfiACPIMemoryNVS
+ EfiBootServicesData
);
//