summaryrefslogtreecommitdiff
path: root/OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.c
diff options
context:
space:
mode:
authorjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>2011-01-16 03:32:47 +0000
committerjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>2011-01-16 03:32:47 +0000
commite313026824819e31cfea7bc09f91abe2abc1e7db (patch)
tree1d11c14613df40667691434bd42292b832b5e36f /OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.c
parent7ca30a6ac74e0e4435a5f3c94fb59e8d14d0594b (diff)
downloadedk2-platforms-e313026824819e31cfea7bc09f91abe2abc1e7db.tar.xz
OvmfPkg EmuVariableFvb: Use 64-bit NV storage PCD
Change from using PcdFlashNvStorageVariableBase to PcdFlashNvStorageVariableBase64. This will make sure the EMU Variable FVB will function in systems with more than 4GB of memory. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11252 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.c')
-rw-r--r--OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.c b/OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.c
index 4d01ec75da..742c98a03e 100644
--- a/OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.c
+++ b/OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.c
@@ -818,7 +818,7 @@ FvbInitialize (
SetMem (Ptr, EMU_FVB_SIZE, ERASED_UINT8);
InitializeFvAndVariableStoreHeaders (Ptr);
}
- PcdSet32 (PcdFlashNvStorageVariableBase, (UINT32)(UINTN) Ptr);
+ PcdSet64 (PcdFlashNvStorageVariableBase64, (UINT32)(UINTN) Ptr);
//
// Initialize the Fault Tolerant Write data area