OvmfPkg: remove USE_OLD_PCI_HOST build option
It's been a month since the following commits appeared in the repo:4014885ffdOvmfPkg: switch to MdeModulePkg/Bus/Pci/PciHostBridgeDxec47ed6fcb5OvmfPkg: match PCI config access to machine type (if not USE_OLD_PCI_HOST) in which we introduced the USE_OLD_PCI_HOST fallback, and made other work depend on it. I have not heard of any problems (primarily from the vfio-users group that uses Gerd's daily / hourly OVMF builds), so it's time to drop the fallback. Cc: Jordan Justen <jordan.l.justen@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
This commit is contained in:
		@@ -37,7 +37,6 @@
 | 
				
			|||||||
  DEFINE NETWORK_IP6_ENABLE      = FALSE
 | 
					  DEFINE NETWORK_IP6_ENABLE      = FALSE
 | 
				
			||||||
  DEFINE HTTP_BOOT_ENABLE        = FALSE
 | 
					  DEFINE HTTP_BOOT_ENABLE        = FALSE
 | 
				
			||||||
  DEFINE SMM_REQUIRE             = FALSE
 | 
					  DEFINE SMM_REQUIRE             = FALSE
 | 
				
			||||||
  DEFINE USE_OLD_PCI_HOST        = FALSE
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
[BuildOptions]
 | 
					[BuildOptions]
 | 
				
			||||||
  GCC:*_UNIXGCC_*_CC_FLAGS             = -DMDEPKG_NDEBUG
 | 
					  GCC:*_UNIXGCC_*_CC_FLAGS             = -DMDEPKG_NDEBUG
 | 
				
			||||||
@@ -82,9 +81,7 @@
 | 
				
			|||||||
  DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
 | 
					  DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
 | 
				
			||||||
  PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
 | 
					  PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
 | 
				
			||||||
  PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
 | 
					  PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
 | 
				
			||||||
!if $(USE_OLD_PCI_HOST) == FALSE
 | 
					 | 
				
			||||||
  PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf
 | 
					  PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf
 | 
				
			||||||
!endif
 | 
					 | 
				
			||||||
  PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
 | 
					  PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
 | 
				
			||||||
  PciSegmentLib|MdePkg/Library/BasePciSegmentLibPci/BasePciSegmentLibPci.inf
 | 
					  PciSegmentLib|MdePkg/Library/BasePciSegmentLibPci/BasePciSegmentLibPci.inf
 | 
				
			||||||
  IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
 | 
					  IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
 | 
				
			||||||
@@ -245,9 +242,7 @@
 | 
				
			|||||||
!if $(SECURE_BOOT_ENABLE) == TRUE
 | 
					!if $(SECURE_BOOT_ENABLE) == TRUE
 | 
				
			||||||
  BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
 | 
					  BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
 | 
				
			||||||
!endif
 | 
					!endif
 | 
				
			||||||
!if $(USE_OLD_PCI_HOST) == FALSE
 | 
					 | 
				
			||||||
  PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
 | 
					  PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
 | 
				
			||||||
!endif
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
[LibraryClasses.common.UEFI_DRIVER]
 | 
					[LibraryClasses.common.UEFI_DRIVER]
 | 
				
			||||||
  PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
 | 
					  PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
 | 
				
			||||||
@@ -262,9 +257,7 @@
 | 
				
			|||||||
  DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
 | 
					  DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
 | 
				
			||||||
!endif
 | 
					!endif
 | 
				
			||||||
  UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
 | 
					  UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
 | 
				
			||||||
!if $(USE_OLD_PCI_HOST) == FALSE
 | 
					 | 
				
			||||||
  PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
 | 
					  PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
 | 
				
			||||||
!endif
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
[LibraryClasses.common.DXE_DRIVER]
 | 
					[LibraryClasses.common.DXE_DRIVER]
 | 
				
			||||||
  PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
 | 
					  PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
 | 
				
			||||||
@@ -294,9 +287,7 @@
 | 
				
			|||||||
!endif
 | 
					!endif
 | 
				
			||||||
  QemuBootOrderLib|OvmfPkg/Library/QemuBootOrderLib/QemuBootOrderLib.inf
 | 
					  QemuBootOrderLib|OvmfPkg/Library/QemuBootOrderLib/QemuBootOrderLib.inf
 | 
				
			||||||
  FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf
 | 
					  FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf
 | 
				
			||||||
!if $(USE_OLD_PCI_HOST) == FALSE
 | 
					 | 
				
			||||||
  PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
 | 
					  PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
 | 
				
			||||||
!endif
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
[LibraryClasses.common.UEFI_APPLICATION]
 | 
					[LibraryClasses.common.UEFI_APPLICATION]
 | 
				
			||||||
  PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
 | 
					  PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
 | 
				
			||||||
@@ -308,9 +299,7 @@
 | 
				
			|||||||
!else
 | 
					!else
 | 
				
			||||||
  DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
 | 
					  DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
 | 
				
			||||||
!endif
 | 
					!endif
 | 
				
			||||||
!if $(USE_OLD_PCI_HOST) == FALSE
 | 
					 | 
				
			||||||
  PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
 | 
					  PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
 | 
				
			||||||
!endif
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
[LibraryClasses.common.DXE_SMM_DRIVER]
 | 
					[LibraryClasses.common.DXE_SMM_DRIVER]
 | 
				
			||||||
  PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
 | 
					  PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
 | 
				
			||||||
@@ -330,9 +319,7 @@
 | 
				
			|||||||
  DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SmmDebugAgentLib.inf
 | 
					  DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SmmDebugAgentLib.inf
 | 
				
			||||||
!endif
 | 
					!endif
 | 
				
			||||||
  BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
 | 
					  BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
 | 
				
			||||||
!if $(USE_OLD_PCI_HOST) == FALSE
 | 
					 | 
				
			||||||
  PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
 | 
					  PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
 | 
				
			||||||
!endif
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
[LibraryClasses.common.SMM_CORE]
 | 
					[LibraryClasses.common.SMM_CORE]
 | 
				
			||||||
  PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
 | 
					  PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
 | 
				
			||||||
@@ -348,9 +335,7 @@
 | 
				
			|||||||
!else
 | 
					!else
 | 
				
			||||||
  DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
 | 
					  DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
 | 
				
			||||||
!endif
 | 
					!endif
 | 
				
			||||||
!if $(USE_OLD_PCI_HOST) == FALSE
 | 
					 | 
				
			||||||
  PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
 | 
					  PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
 | 
				
			||||||
!endif
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
################################################################################
 | 
					################################################################################
 | 
				
			||||||
#
 | 
					#
 | 
				
			||||||
@@ -555,14 +540,10 @@
 | 
				
			|||||||
  UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
 | 
					  UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
 | 
				
			||||||
  UefiCpuPkg/CpuDxe/CpuDxe.inf
 | 
					  UefiCpuPkg/CpuDxe/CpuDxe.inf
 | 
				
			||||||
  PcAtChipsetPkg/8254TimerDxe/8254Timer.inf
 | 
					  PcAtChipsetPkg/8254TimerDxe/8254Timer.inf
 | 
				
			||||||
!if $(USE_OLD_PCI_HOST) == TRUE
 | 
					 | 
				
			||||||
  OvmfPkg/PciHostBridgeDxe/PciHostBridgeDxe.inf
 | 
					 | 
				
			||||||
!else
 | 
					 | 
				
			||||||
  MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf {
 | 
					  MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf {
 | 
				
			||||||
    <LibraryClasses>
 | 
					    <LibraryClasses>
 | 
				
			||||||
      PciHostBridgeLib|OvmfPkg/Library/PciHostBridgeLib/PciHostBridgeLib.inf
 | 
					      PciHostBridgeLib|OvmfPkg/Library/PciHostBridgeLib/PciHostBridgeLib.inf
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
!endif
 | 
					 | 
				
			||||||
  MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {
 | 
					  MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {
 | 
				
			||||||
    <LibraryClasses>
 | 
					    <LibraryClasses>
 | 
				
			||||||
      PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
 | 
					      PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -207,11 +207,7 @@ INF  PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf
 | 
				
			|||||||
INF  UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
 | 
					INF  UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
 | 
				
			||||||
INF  UefiCpuPkg/CpuDxe/CpuDxe.inf
 | 
					INF  UefiCpuPkg/CpuDxe/CpuDxe.inf
 | 
				
			||||||
INF  PcAtChipsetPkg/8254TimerDxe/8254Timer.inf
 | 
					INF  PcAtChipsetPkg/8254TimerDxe/8254Timer.inf
 | 
				
			||||||
!if $(USE_OLD_PCI_HOST) == TRUE
 | 
					 | 
				
			||||||
INF  OvmfPkg/PciHostBridgeDxe/PciHostBridgeDxe.inf
 | 
					 | 
				
			||||||
!else
 | 
					 | 
				
			||||||
INF  MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf
 | 
					INF  MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf
 | 
				
			||||||
!endif
 | 
					 | 
				
			||||||
INF  MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
 | 
					INF  MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
 | 
				
			||||||
INF  PcAtChipsetPkg/KbcResetDxe/Reset.inf
 | 
					INF  PcAtChipsetPkg/KbcResetDxe/Reset.inf
 | 
				
			||||||
INF  MdeModulePkg/Universal/Metronome/Metronome.inf
 | 
					INF  MdeModulePkg/Universal/Metronome/Metronome.inf
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -37,7 +37,6 @@
 | 
				
			|||||||
  DEFINE NETWORK_IP6_ENABLE      = FALSE
 | 
					  DEFINE NETWORK_IP6_ENABLE      = FALSE
 | 
				
			||||||
  DEFINE HTTP_BOOT_ENABLE        = FALSE
 | 
					  DEFINE HTTP_BOOT_ENABLE        = FALSE
 | 
				
			||||||
  DEFINE SMM_REQUIRE             = FALSE
 | 
					  DEFINE SMM_REQUIRE             = FALSE
 | 
				
			||||||
  DEFINE USE_OLD_PCI_HOST        = FALSE
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
[BuildOptions]
 | 
					[BuildOptions]
 | 
				
			||||||
  GCC:*_UNIXGCC_*_CC_FLAGS             = -DMDEPKG_NDEBUG
 | 
					  GCC:*_UNIXGCC_*_CC_FLAGS             = -DMDEPKG_NDEBUG
 | 
				
			||||||
@@ -87,9 +86,7 @@
 | 
				
			|||||||
  DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
 | 
					  DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
 | 
				
			||||||
  PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
 | 
					  PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
 | 
				
			||||||
  PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
 | 
					  PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
 | 
				
			||||||
!if $(USE_OLD_PCI_HOST) == FALSE
 | 
					 | 
				
			||||||
  PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf
 | 
					  PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf
 | 
				
			||||||
!endif
 | 
					 | 
				
			||||||
  PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
 | 
					  PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
 | 
				
			||||||
  PciSegmentLib|MdePkg/Library/BasePciSegmentLibPci/BasePciSegmentLibPci.inf
 | 
					  PciSegmentLib|MdePkg/Library/BasePciSegmentLibPci/BasePciSegmentLibPci.inf
 | 
				
			||||||
  IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
 | 
					  IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
 | 
				
			||||||
@@ -250,9 +247,7 @@
 | 
				
			|||||||
!if $(SECURE_BOOT_ENABLE) == TRUE
 | 
					!if $(SECURE_BOOT_ENABLE) == TRUE
 | 
				
			||||||
  BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
 | 
					  BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
 | 
				
			||||||
!endif
 | 
					!endif
 | 
				
			||||||
!if $(USE_OLD_PCI_HOST) == FALSE
 | 
					 | 
				
			||||||
  PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
 | 
					  PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
 | 
				
			||||||
!endif
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
[LibraryClasses.common.UEFI_DRIVER]
 | 
					[LibraryClasses.common.UEFI_DRIVER]
 | 
				
			||||||
  PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
 | 
					  PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
 | 
				
			||||||
@@ -267,9 +262,7 @@
 | 
				
			|||||||
  DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
 | 
					  DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
 | 
				
			||||||
!endif
 | 
					!endif
 | 
				
			||||||
  UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
 | 
					  UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
 | 
				
			||||||
!if $(USE_OLD_PCI_HOST) == FALSE
 | 
					 | 
				
			||||||
  PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
 | 
					  PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
 | 
				
			||||||
!endif
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
[LibraryClasses.common.DXE_DRIVER]
 | 
					[LibraryClasses.common.DXE_DRIVER]
 | 
				
			||||||
  PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
 | 
					  PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
 | 
				
			||||||
@@ -299,9 +292,7 @@
 | 
				
			|||||||
!endif
 | 
					!endif
 | 
				
			||||||
  QemuBootOrderLib|OvmfPkg/Library/QemuBootOrderLib/QemuBootOrderLib.inf
 | 
					  QemuBootOrderLib|OvmfPkg/Library/QemuBootOrderLib/QemuBootOrderLib.inf
 | 
				
			||||||
  FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf
 | 
					  FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf
 | 
				
			||||||
!if $(USE_OLD_PCI_HOST) == FALSE
 | 
					 | 
				
			||||||
  PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
 | 
					  PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
 | 
				
			||||||
!endif
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
[LibraryClasses.common.UEFI_APPLICATION]
 | 
					[LibraryClasses.common.UEFI_APPLICATION]
 | 
				
			||||||
  PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
 | 
					  PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
 | 
				
			||||||
@@ -313,9 +304,7 @@
 | 
				
			|||||||
!else
 | 
					!else
 | 
				
			||||||
  DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
 | 
					  DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
 | 
				
			||||||
!endif
 | 
					!endif
 | 
				
			||||||
!if $(USE_OLD_PCI_HOST) == FALSE
 | 
					 | 
				
			||||||
  PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
 | 
					  PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
 | 
				
			||||||
!endif
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
[LibraryClasses.common.DXE_SMM_DRIVER]
 | 
					[LibraryClasses.common.DXE_SMM_DRIVER]
 | 
				
			||||||
  PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
 | 
					  PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
 | 
				
			||||||
@@ -335,9 +324,7 @@
 | 
				
			|||||||
  DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SmmDebugAgentLib.inf
 | 
					  DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SmmDebugAgentLib.inf
 | 
				
			||||||
!endif
 | 
					!endif
 | 
				
			||||||
  BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
 | 
					  BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
 | 
				
			||||||
!if $(USE_OLD_PCI_HOST) == FALSE
 | 
					 | 
				
			||||||
  PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
 | 
					  PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
 | 
				
			||||||
!endif
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
[LibraryClasses.common.SMM_CORE]
 | 
					[LibraryClasses.common.SMM_CORE]
 | 
				
			||||||
  PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
 | 
					  PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
 | 
				
			||||||
@@ -353,9 +340,7 @@
 | 
				
			|||||||
!else
 | 
					!else
 | 
				
			||||||
  DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
 | 
					  DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
 | 
				
			||||||
!endif
 | 
					!endif
 | 
				
			||||||
!if $(USE_OLD_PCI_HOST) == FALSE
 | 
					 | 
				
			||||||
  PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
 | 
					  PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
 | 
				
			||||||
!endif
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
################################################################################
 | 
					################################################################################
 | 
				
			||||||
#
 | 
					#
 | 
				
			||||||
@@ -564,14 +549,10 @@
 | 
				
			|||||||
  UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
 | 
					  UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
 | 
				
			||||||
  UefiCpuPkg/CpuDxe/CpuDxe.inf
 | 
					  UefiCpuPkg/CpuDxe/CpuDxe.inf
 | 
				
			||||||
  PcAtChipsetPkg/8254TimerDxe/8254Timer.inf
 | 
					  PcAtChipsetPkg/8254TimerDxe/8254Timer.inf
 | 
				
			||||||
!if $(USE_OLD_PCI_HOST) == TRUE
 | 
					 | 
				
			||||||
  OvmfPkg/PciHostBridgeDxe/PciHostBridgeDxe.inf
 | 
					 | 
				
			||||||
!else
 | 
					 | 
				
			||||||
  MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf {
 | 
					  MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf {
 | 
				
			||||||
    <LibraryClasses>
 | 
					    <LibraryClasses>
 | 
				
			||||||
      PciHostBridgeLib|OvmfPkg/Library/PciHostBridgeLib/PciHostBridgeLib.inf
 | 
					      PciHostBridgeLib|OvmfPkg/Library/PciHostBridgeLib/PciHostBridgeLib.inf
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
!endif
 | 
					 | 
				
			||||||
  MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {
 | 
					  MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {
 | 
				
			||||||
    <LibraryClasses>
 | 
					    <LibraryClasses>
 | 
				
			||||||
      PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
 | 
					      PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -207,11 +207,7 @@ INF  PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf
 | 
				
			|||||||
INF  UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
 | 
					INF  UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
 | 
				
			||||||
INF  UefiCpuPkg/CpuDxe/CpuDxe.inf
 | 
					INF  UefiCpuPkg/CpuDxe/CpuDxe.inf
 | 
				
			||||||
INF  PcAtChipsetPkg/8254TimerDxe/8254Timer.inf
 | 
					INF  PcAtChipsetPkg/8254TimerDxe/8254Timer.inf
 | 
				
			||||||
!if $(USE_OLD_PCI_HOST) == TRUE
 | 
					 | 
				
			||||||
INF  OvmfPkg/PciHostBridgeDxe/PciHostBridgeDxe.inf
 | 
					 | 
				
			||||||
!else
 | 
					 | 
				
			||||||
INF  MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf
 | 
					INF  MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf
 | 
				
			||||||
!endif
 | 
					 | 
				
			||||||
INF  MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
 | 
					INF  MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
 | 
				
			||||||
INF  PcAtChipsetPkg/KbcResetDxe/Reset.inf
 | 
					INF  PcAtChipsetPkg/KbcResetDxe/Reset.inf
 | 
				
			||||||
INF  MdeModulePkg/Universal/Metronome/Metronome.inf
 | 
					INF  MdeModulePkg/Universal/Metronome/Metronome.inf
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -37,7 +37,6 @@
 | 
				
			|||||||
  DEFINE NETWORK_IP6_ENABLE      = FALSE
 | 
					  DEFINE NETWORK_IP6_ENABLE      = FALSE
 | 
				
			||||||
  DEFINE HTTP_BOOT_ENABLE        = FALSE
 | 
					  DEFINE HTTP_BOOT_ENABLE        = FALSE
 | 
				
			||||||
  DEFINE SMM_REQUIRE             = FALSE
 | 
					  DEFINE SMM_REQUIRE             = FALSE
 | 
				
			||||||
  DEFINE USE_OLD_PCI_HOST        = FALSE
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
[BuildOptions]
 | 
					[BuildOptions]
 | 
				
			||||||
  GCC:*_UNIXGCC_*_CC_FLAGS             = -DMDEPKG_NDEBUG
 | 
					  GCC:*_UNIXGCC_*_CC_FLAGS             = -DMDEPKG_NDEBUG
 | 
				
			||||||
@@ -87,9 +86,7 @@
 | 
				
			|||||||
  DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
 | 
					  DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
 | 
				
			||||||
  PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
 | 
					  PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
 | 
				
			||||||
  PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
 | 
					  PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
 | 
				
			||||||
!if $(USE_OLD_PCI_HOST) == FALSE
 | 
					 | 
				
			||||||
  PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf
 | 
					  PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf
 | 
				
			||||||
!endif
 | 
					 | 
				
			||||||
  PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
 | 
					  PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
 | 
				
			||||||
  PciSegmentLib|MdePkg/Library/BasePciSegmentLibPci/BasePciSegmentLibPci.inf
 | 
					  PciSegmentLib|MdePkg/Library/BasePciSegmentLibPci/BasePciSegmentLibPci.inf
 | 
				
			||||||
  IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
 | 
					  IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
 | 
				
			||||||
@@ -250,9 +247,7 @@
 | 
				
			|||||||
!if $(SECURE_BOOT_ENABLE) == TRUE
 | 
					!if $(SECURE_BOOT_ENABLE) == TRUE
 | 
				
			||||||
  BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
 | 
					  BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
 | 
				
			||||||
!endif
 | 
					!endif
 | 
				
			||||||
!if $(USE_OLD_PCI_HOST) == FALSE
 | 
					 | 
				
			||||||
  PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
 | 
					  PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
 | 
				
			||||||
!endif
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
[LibraryClasses.common.UEFI_DRIVER]
 | 
					[LibraryClasses.common.UEFI_DRIVER]
 | 
				
			||||||
  PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
 | 
					  PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
 | 
				
			||||||
@@ -267,9 +262,7 @@
 | 
				
			|||||||
  DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
 | 
					  DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
 | 
				
			||||||
!endif
 | 
					!endif
 | 
				
			||||||
  UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
 | 
					  UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
 | 
				
			||||||
!if $(USE_OLD_PCI_HOST) == FALSE
 | 
					 | 
				
			||||||
  PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
 | 
					  PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
 | 
				
			||||||
!endif
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
[LibraryClasses.common.DXE_DRIVER]
 | 
					[LibraryClasses.common.DXE_DRIVER]
 | 
				
			||||||
  PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
 | 
					  PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
 | 
				
			||||||
@@ -299,9 +292,7 @@
 | 
				
			|||||||
!endif
 | 
					!endif
 | 
				
			||||||
  QemuBootOrderLib|OvmfPkg/Library/QemuBootOrderLib/QemuBootOrderLib.inf
 | 
					  QemuBootOrderLib|OvmfPkg/Library/QemuBootOrderLib/QemuBootOrderLib.inf
 | 
				
			||||||
  FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf
 | 
					  FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf
 | 
				
			||||||
!if $(USE_OLD_PCI_HOST) == FALSE
 | 
					 | 
				
			||||||
  PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
 | 
					  PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
 | 
				
			||||||
!endif
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
[LibraryClasses.common.UEFI_APPLICATION]
 | 
					[LibraryClasses.common.UEFI_APPLICATION]
 | 
				
			||||||
  PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
 | 
					  PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
 | 
				
			||||||
@@ -313,9 +304,7 @@
 | 
				
			|||||||
!else
 | 
					!else
 | 
				
			||||||
  DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
 | 
					  DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
 | 
				
			||||||
!endif
 | 
					!endif
 | 
				
			||||||
!if $(USE_OLD_PCI_HOST) == FALSE
 | 
					 | 
				
			||||||
  PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
 | 
					  PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
 | 
				
			||||||
!endif
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
[LibraryClasses.common.DXE_SMM_DRIVER]
 | 
					[LibraryClasses.common.DXE_SMM_DRIVER]
 | 
				
			||||||
  PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
 | 
					  PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
 | 
				
			||||||
@@ -335,9 +324,7 @@
 | 
				
			|||||||
  DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SmmDebugAgentLib.inf
 | 
					  DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SmmDebugAgentLib.inf
 | 
				
			||||||
!endif
 | 
					!endif
 | 
				
			||||||
  BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
 | 
					  BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
 | 
				
			||||||
!if $(USE_OLD_PCI_HOST) == FALSE
 | 
					 | 
				
			||||||
  PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
 | 
					  PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
 | 
				
			||||||
!endif
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
[LibraryClasses.common.SMM_CORE]
 | 
					[LibraryClasses.common.SMM_CORE]
 | 
				
			||||||
  PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
 | 
					  PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
 | 
				
			||||||
@@ -353,9 +340,7 @@
 | 
				
			|||||||
!else
 | 
					!else
 | 
				
			||||||
  DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
 | 
					  DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
 | 
				
			||||||
!endif
 | 
					!endif
 | 
				
			||||||
!if $(USE_OLD_PCI_HOST) == FALSE
 | 
					 | 
				
			||||||
  PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
 | 
					  PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
 | 
				
			||||||
!endif
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
################################################################################
 | 
					################################################################################
 | 
				
			||||||
#
 | 
					#
 | 
				
			||||||
@@ -562,14 +547,10 @@
 | 
				
			|||||||
  UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
 | 
					  UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
 | 
				
			||||||
  UefiCpuPkg/CpuDxe/CpuDxe.inf
 | 
					  UefiCpuPkg/CpuDxe/CpuDxe.inf
 | 
				
			||||||
  PcAtChipsetPkg/8254TimerDxe/8254Timer.inf
 | 
					  PcAtChipsetPkg/8254TimerDxe/8254Timer.inf
 | 
				
			||||||
!if $(USE_OLD_PCI_HOST) == TRUE
 | 
					 | 
				
			||||||
  OvmfPkg/PciHostBridgeDxe/PciHostBridgeDxe.inf
 | 
					 | 
				
			||||||
!else
 | 
					 | 
				
			||||||
  MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf {
 | 
					  MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf {
 | 
				
			||||||
    <LibraryClasses>
 | 
					    <LibraryClasses>
 | 
				
			||||||
      PciHostBridgeLib|OvmfPkg/Library/PciHostBridgeLib/PciHostBridgeLib.inf
 | 
					      PciHostBridgeLib|OvmfPkg/Library/PciHostBridgeLib/PciHostBridgeLib.inf
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
!endif
 | 
					 | 
				
			||||||
  MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {
 | 
					  MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {
 | 
				
			||||||
    <LibraryClasses>
 | 
					    <LibraryClasses>
 | 
				
			||||||
      PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
 | 
					      PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -207,11 +207,7 @@ INF  PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf
 | 
				
			|||||||
INF  UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
 | 
					INF  UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
 | 
				
			||||||
INF  UefiCpuPkg/CpuDxe/CpuDxe.inf
 | 
					INF  UefiCpuPkg/CpuDxe/CpuDxe.inf
 | 
				
			||||||
INF  PcAtChipsetPkg/8254TimerDxe/8254Timer.inf
 | 
					INF  PcAtChipsetPkg/8254TimerDxe/8254Timer.inf
 | 
				
			||||||
!if $(USE_OLD_PCI_HOST) == TRUE
 | 
					 | 
				
			||||||
INF  OvmfPkg/PciHostBridgeDxe/PciHostBridgeDxe.inf
 | 
					 | 
				
			||||||
!else
 | 
					 | 
				
			||||||
INF  MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf
 | 
					INF  MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf
 | 
				
			||||||
!endif
 | 
					 | 
				
			||||||
INF  MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
 | 
					INF  MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
 | 
				
			||||||
INF  PcAtChipsetPkg/KbcResetDxe/Reset.inf
 | 
					INF  PcAtChipsetPkg/KbcResetDxe/Reset.inf
 | 
				
			||||||
INF  MdeModulePkg/Universal/Metronome/Metronome.inf
 | 
					INF  MdeModulePkg/Universal/Metronome/Metronome.inf
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user