Skip to content

Commit

Permalink
OvmfPkg/PlatformPei: Don't allocate ACPI NVS memory
Browse files Browse the repository at this point in the history
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 <[email protected]>
Reviewed-by: Laszlo Ersek <[email protected]>
Reviewed-by: Bill Paul <[email protected]>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15198 6f19259b-4bc3-4df7-8a09-765794883524
  • Loading branch information
jljusten2 authored and jljusten committed Jan 30, 2014
1 parent c3cf8da commit 8d25bed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions OvmfPkg/PlatformPei/Fv.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
);

//
Expand Down

0 comments on commit 8d25bed

Please sign in to comment.