#include <PiDxe.h>\r
\r
#include <IndustryStandard/Pci.h>\r
+#include <IndustryStandard/Q35MchIch9.h>\r
\r
#include <Protocol/PciHostBridgeResourceAllocation.h>\r
#include <Protocol/PciRootBridgeIo.h>\r
RootBus->Mem.Limit = PcdGet64 (PcdPciMmio32Base) +\r
(PcdGet64 (PcdPciMmio32Size) - 1);\r
\r
- RootBus->NoExtendedConfigSpace = TRUE;\r
+ RootBus->NoExtendedConfigSpace = (PcdGet16 (PcdOvmfHostBridgePciDevId) !=\r
+ INTEL_Q35_MCH_DEVICE_ID);\r
\r
DevicePath = AllocateCopyPool (sizeof mRootBridgeDevicePathTemplate,\r
&mRootBridgeDevicePathTemplate);\r