]> git.proxmox.com Git - mirror_edk2.git/blobdiff - OvmfPkg/PlatformPei/MemDetect.c
OvmfPkg: Split MAINFV into a separate PEI and DXE FVs
[mirror_edk2.git] / OvmfPkg / PlatformPei / MemDetect.c
index a1de7626814c794eeedcb94225e41a4a93f48930..bd57b7792e212e37263b11fa878fe474d16d11f9 100644 (file)
@@ -1,7 +1,7 @@
 /**@file\r
   Memory Detection for Virtual Machines.\r
 \r
-  Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2006 - 2013, 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
@@ -104,7 +104,7 @@ PublishPeiMemory (
   //\r
   // Determine the range of memory to use during PEI\r
   //\r
-  MemoryBase = PcdGet32 (PcdOvmfMemFvBase) + PcdGet32 (PcdOvmfMemFvSize);\r
+  MemoryBase = PcdGet32 (PcdOvmfDxeMemFvBase) + PcdGet32 (PcdOvmfDxeMemFvSize);\r
   MemorySize = LowerMemorySize - MemoryBase;\r
   if (MemorySize > SIZE_64MB) {\r
     MemoryBase = LowerMemorySize - SIZE_64MB;\r