2 # A hook-in library for MdeModulePkg/Bus/Pci/PciHostBridgeDxe.
4 # Plugging this library instance into PciHostBridgeDxe makes
5 # PciHostBridgeDxe depend on the platform's dynamic decision whether
6 # to provide IOMMU implementation (usually through IoMmuDxe driver).
8 # Copyright (C) 2017, Red Hat, Inc.
9 # Copyright (C) 2017, AMD, Inc.
11 # This program and the accompanying materials are licensed and made available
12 # under the terms and conditions of the BSD License which accompanies this
13 # distribution. The full text of the license may be found at
14 # http://opensource.org/licenses/bsd-license.php
16 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT
17 # WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
22 BASE_NAME = PlatformHasIoMmuLib
23 FILE_GUID = 49b4b018-0558-448b-1e1a-12226342877d
26 LIBRARY_CLASS = PlatformHasIoMmuLib|DXE_DRIVER
27 CONSTRUCTOR = PlatformHasIoMmuInitialize
33 MdeModulePkg/MdeModulePkg.dec
38 gEdkiiIoMmuProtocolGuid OR gIoMmuAbsentProtocolGuid