]> git.proxmox.com Git - mirror_edk2.git/blobdiff - OvmfPkg/PlatformPei/Platform.c
OvmfPkg/PlatformPei: Call PublishPeiMemory in one place
[mirror_edk2.git] / OvmfPkg / PlatformPei / Platform.c
index 7363702beecb2f0d0d55276a5a17f302ca36d052..10ae623dddbc4b9c09440a740c31d010bc9463dd 100644 (file)
@@ -420,8 +420,9 @@ InitializePlatform (
 \r
   XenLeaf = XenDetect ();\r
 \r
+  PublishPeiMemory ();\r
+\r
   if (XenLeaf != 0) {\r
-    PublishPeiMemory ();\r
     PcdSetBool (PcdPciDisableBusEnumeration, TRUE);\r
   } else {\r
     TopOfMemory = MemDetect ();\r