]> git.proxmox.com Git - mirror_edk2.git/commitdiff
due to EmuVariable driver only uses volatile memory to simulate the variable region...
authoreric_tian <eric_tian@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 27 Aug 2009 06:24:26 +0000 (06:24 +0000)
committereric_tian <eric_tian@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 27 Aug 2009 06:24:26 +0000 (06:24 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9204 6f19259b-4bc3-4df7-8a09-765794883524

MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariable.c

index 2da9a7c3084eb5da687cd55fb47b768d765a2633..d2f4d6723b770bd9bf7b166284eed53e68751247 100644 (file)
@@ -1317,9 +1317,9 @@ InitializeVariableStore (
   // Note that in EdkII variable driver implementation, Hardware Error Record type variable\r
   // is stored with common variable in the same NV region. So the platform integrator should\r
   // ensure that the value of PcdHwErrStorageSize is less than or equal to the value of \r
-  // PcdFlashNvStorageVariableSize.\r
+  // PcdVariableStoreSize.\r
   //\r
-  ASSERT (FixedPcdGet32(PcdHwErrStorageSize) <= FixedPcdGet32(PcdFlashNvStorageVariableSize));\r
+  ASSERT (FixedPcdGet32(PcdHwErrStorageSize) <= FixedPcdGet32(PcdVariableStoreSize));\r
 \r
   //\r
   // Allocate memory for volatile variable store\r