]> git.proxmox.com Git - mirror_edk2.git/blobdiff - OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.c
1) Call ProcessNotifyList() to process all Dispatch Notifications after the Memory...
[mirror_edk2.git] / OvmfPkg / EmuVariableFvbRuntimeDxe / Fvb.c
index ed17bdb41a7f22997a54410d7b730c17c8514d5f..4229110719975ef1a59f7ffc04908439bec36d59 100644 (file)
@@ -2,8 +2,8 @@
   Firmware Block Services to support emulating non-volatile variables\r
   by pretending that a memory buffer is storage for the NV variables.\r
 \r
-  Copyright (c) 2006 - 2009, Intel Corporation\r
-  All rights reserved. This program and the accompanying materials\r
+  Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>\r
+  This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
   which accompanies this distribution.  The full text of the license may be found at\r
   http://opensource.org/licenses/bsd-license.php\r
@@ -769,8 +769,8 @@ FvbInitialize (
   // Verify that the PCD's are set correctly.\r
   //\r
   if (\r
-       (FixedPcdGet32 (PcdVariableStoreSize) +\r
-        FixedPcdGet32 (PcdFlashNvStorageFtwWorkingSize)\r
+       (PcdGet32 (PcdVariableStoreSize) +\r
+        PcdGet32 (PcdFlashNvStorageFtwWorkingSize)\r
        ) >\r
        EMU_FVB_BLOCK_SIZE\r
      ) {\r
@@ -820,7 +820,7 @@ FvbInitialize (
   //\r
   // Initialize the Fault Tolerant Write data area\r
   //\r
-  SubPtr = (VOID*) ((UINT8*) Ptr + FixedPcdGet32 (PcdVariableStoreSize));\r
+  SubPtr = (VOID*) ((UINT8*) Ptr + PcdGet32 (PcdVariableStoreSize));\r
   if (Initialize) {\r
     InitializeFtwState (SubPtr);\r
   }\r