]> git.proxmox.com Git - mirror_edk2.git/blobdiff - OvmfPkg/Library/PciHostBridgeLib/PciHostBridgeLib.c
OvmfPkg/PciHostBridgeLib: consolidate #includes and INF file sections
[mirror_edk2.git] / OvmfPkg / Library / PciHostBridgeLib / PciHostBridgeLib.c
index 7d9fb0fb293a72917c67aeb15fb642d1bd809212..6db91fb7e20c6e0765dda8044f77fdba08837e5b 100644 (file)
@@ -7,23 +7,17 @@
   SPDX-License-Identifier: BSD-2-Clause-Patent\r
 \r
 **/\r
-#include <PiDxe.h>\r
+#include <IndustryStandard/Pci.h>                     // PCI_MAX_BUS\r
+#include <IndustryStandard/Q35MchIch9.h>              // INTEL_Q35_MCH_DEVIC...\r
+#include <Library/BaseMemoryLib.h>                    // ZeroMem()\r
+#include <Library/PcdLib.h>                           // PcdGet64()\r
+#include <Library/PciHostBridgeLib.h>                 // PCI_ROOT_BRIDGE_APE...\r
+#include <Library/PciHostBridgeUtilityLib.h>          // PciHostBridgeUtilit...\r
+#include <Protocol/PciHostBridgeResourceAllocation.h> // EFI_PCI_HOST_BRIDGE...\r
+#include <Protocol/PciRootBridgeIo.h>                 // EFI_PCI_ATTRIBUTE_I...\r
 \r
-#include <IndustryStandard/Pci.h>\r
-#include <IndustryStandard/Q35MchIch9.h>\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 "PciHostBridge.h"\r
 \r
-\r
 STATIC PCI_ROOT_BRIDGE_APERTURE mNonExistAperture = { MAX_UINT64, 0 };\r
 \r
 \r