summaryrefslogtreecommitdiff
path: root/OvmfPkg/PlatformPei/Platform.c
diff options
context:
space:
mode:
Diffstat (limited to 'OvmfPkg/PlatformPei/Platform.c')
-rw-r--r--OvmfPkg/PlatformPei/Platform.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/OvmfPkg/PlatformPei/Platform.c b/OvmfPkg/PlatformPei/Platform.c
index 7363702bee..10ae623ddd 100644
--- a/OvmfPkg/PlatformPei/Platform.c
+++ b/OvmfPkg/PlatformPei/Platform.c
@@ -420,8 +420,9 @@ InitializePlatform (
XenLeaf = XenDetect ();
+ PublishPeiMemory ();
+
if (XenLeaf != 0) {
- PublishPeiMemory ();
PcdSetBool (PcdPciDisableBusEnumeration, TRUE);
} else {
TopOfMemory = MemDetect ();