]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridge.h
MdeModulePkg/PciHostBridge: Move declaration of mIoMmu to header file
[mirror_edk2.git] / MdeModulePkg / Bus / Pci / PciHostBridgeDxe / PciHostBridge.h
index c2791ea5c2a4fb74465354a693ed7b7e60002d4d..e0ed39eebc8a87ebc2656805c47c4613724513a2 100644 (file)
@@ -2,7 +2,7 @@
 \r
   The Header file of the Pci Host Bridge Driver.\r
 \r
-Copyright (c) 1999 - 2016, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 1999 - 2018, Intel Corporation. All rights reserved.<BR>\r
 This program and the accompanying materials\r
 are licensed and made available under the terms and conditions of the BSD License\r
 which accompanies this distribution.  The full text of the license may be found at\r
@@ -23,6 +23,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 #include <Library/MemoryAllocationLib.h>\r
 #include <Library/PciHostBridgeLib.h>\r
 #include <Protocol/PciHostBridgeResourceAllocation.h>\r
+#include <Protocol/IoMmu.h>\r
 \r
 #include "PciRootBridge.h"\r
 \r
@@ -268,6 +269,7 @@ GetTranslationByResourceType (
   IN  PCI_RESOURCE_TYPE            ResourceType\r
   );\r
 \r
-extern EFI_METRONOME_ARCH_PROTOCOL *mMetronome;\r
 extern EFI_CPU_IO2_PROTOCOL        *mCpuIo;\r
+extern EDKII_IOMMU_PROTOCOL        *mIoMmu;\r
+\r
 #endif\r