]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciRootBridge.h
MdeModulePkg/PciHostBridge: Add IOMMU support.
[mirror_edk2.git] / MdeModulePkg / Bus / Pci / PciHostBridgeDxe / PciRootBridge.h
index b1e83f1c9089f4f703101eb14b6738aea4543a77..1fec88b2f91343e4d5409dd63cdbff535acfb35d 100644 (file)
@@ -27,6 +27,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 #include <Protocol/CpuIo2.h>\r
 #include <Protocol/DevicePath.h>\r
 #include <Protocol/PciRootBridgeIo.h>\r
+#include <Protocol/IoMmu.h>\r
 #include <Library/DebugLib.h>\r
 #include <Library/DevicePathLib.h>\r
 #include <Library/BaseMemoryLib.h>\r
@@ -34,6 +35,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 #include <Library/UefiBootServicesTableLib.h>\r
 #include <Library/BaseLib.h>\r
 #include <Library/PciSegmentLib.h>\r
+#include <Library/UefiLib.h>\r
 #include "PciHostResource.h"\r
 \r
 \r
@@ -72,6 +74,7 @@ typedef struct {
   PCI_ROOT_BRIDGE_APERTURE          MemAbove4G;\r
   PCI_ROOT_BRIDGE_APERTURE          PMemAbove4G;\r
   BOOLEAN                           DmaAbove4G;\r
+  BOOLEAN                           NoExtendedConfigSpace;\r
   VOID                              *ConfigBuffer;\r
   EFI_DEVICE_PATH_PROTOCOL          *DevicePath;\r
   CHAR16                            *DevicePathStr;\r
@@ -89,15 +92,13 @@ typedef struct {
   Construct the Pci Root Bridge instance.\r
 \r
   @param Bridge            The root bridge instance.\r
-  @param HostBridgeHandle  Handle to the HostBridge.\r
 \r
   @return The pointer to PCI_ROOT_BRIDGE_INSTANCE just created\r
           or NULL if creation fails.\r
 **/\r
 PCI_ROOT_BRIDGE_INSTANCE *\r
 CreateRootBridge (\r
-  IN PCI_ROOT_BRIDGE       *Bridge,\r
-  IN EFI_HANDLE            HostBridgeHandle\r
+  IN PCI_ROOT_BRIDGE       *Bridge\r
   );\r
 \r
 //\r