]> git.proxmox.com Git - mirror_edk2.git/blobdiff - OvmfPkg/PlatformPei/Platform.c
OvmfPkg/PlatformPei: Refactor InitializeRamRegions
[mirror_edk2.git] / OvmfPkg / PlatformPei / Platform.c
index 20e38a098d5282d57258246edb2ae83c445f7851..f89d14493ecf16a3ae151342fdd642936aca91ce 100644 (file)
@@ -79,7 +79,7 @@ MemMapInitialization (
     return;\r
   }\r
 \r
-  TopOfLowRam  = GetSystemMemorySizeBelow4gb (PlatformInfoHob);\r
+  TopOfLowRam  = PlatformGetSystemMemorySizeBelow4gb (PlatformInfoHob);\r
   PciExBarBase = 0;\r
   if (PlatformInfoHob->HostBridgeDevId == INTEL_Q35_MCH_DEVICE_ID) {\r
     //\r
@@ -780,7 +780,7 @@ InitializePlatform (
 \r
   PublishPeiMemory ();\r
 \r
-  QemuUc32BaseInitialization (&mPlatformInfoHob);\r
+  PlatformQemuUc32BaseInitialization (&mPlatformInfoHob);\r
 \r
   InitializeRamRegions (&mPlatformInfoHob);\r
 \r