]> git.proxmox.com Git - mirror_edk2.git/blobdiff - OvmfPkg/Library/PciHostBridgeLib/XenSupport.c
OvmfPkg/PciHostBridgeLib: consolidate #includes and INF file sections
[mirror_edk2.git] / OvmfPkg / Library / PciHostBridgeLib / XenSupport.c
index 9ef39f01821b4bbaae209452787b0a9bb61ce5ea..07c498dd0ea284c85938c9fe891f6648cc9befea 100644 (file)
@@ -6,21 +6,19 @@
   SPDX-License-Identifier: BSD-2-Clause-Patent\r
 \r
 **/\r
-#include <PiDxe.h>\r
 \r
-#include <IndustryStandard/Pci.h>\r
-#include <IndustryStandard/Q35MchIch9.h>\r
+#include <IndustryStandard/Pci.h>            // EFI_PCI_COMMAND_IO_SPACE\r
+#include <IndustryStandard/Q35MchIch9.h>     // INTEL_Q35_MCH_DEVICE_ID\r
+#include <Library/BaseLib.h>                 // DisableInterrupts()\r
+#include <Library/BaseMemoryLib.h>           // ZeroMem()\r
+#include <Library/DebugLib.h>                // ASSERT()\r
+#include <Library/MemoryAllocationLib.h>     // ReallocatePool()\r
+#include <Library/PcdLib.h>                  // PcdGet16()\r
+#include <Library/PciHostBridgeLib.h>        // PCI_ROOT_BRIDGE_APERTURE\r
+#include <Library/PciHostBridgeUtilityLib.h> // PciHostBridgeUtilityInitRoot...\r
+#include <Library/PciLib.h>                  // PciRead32()\r
+#include <Protocol/PciRootBridgeIo.h>        // EFI_PCI_ATTRIBUTE_ISA_IO\r
 \r
-#include <Protocol/PciHostBridgeResourceAllocation.h>\r
-#include <Protocol/PciRootBridgeIo.h>\r
-\r
-#include <Library/BaseMemoryLib.h>\r
-#include <Library/DebugLib.h>\r
-#include <Library/MemoryAllocationLib.h>\r
-#include <Library/PcdLib.h>\r
-#include <Library/PciHostBridgeLib.h>\r
-#include <Library/PciHostBridgeUtilityLib.h>\r
-#include <Library/PciLib.h>\r
 #include "PciHostBridge.h"\r
 \r
 STATIC\r