X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=OvmfPkg%2FPlatformPei%2FPlatform.c;h=10ae623dddbc4b9c09440a740c31d010bc9463dd;hb=f76e9eba9deded0a2a25987256ccd5ca7b828927;hp=7363702beecb2f0d0d55276a5a17f302ca36d052;hpb=c2fcbc853f92c5a52d868be3eb3b33161c127eab;p=mirror_edk2.git 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 ();