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 # SPDX-License-Identifier: BSD-2-Clause-Patent
16 BASE_NAME = PlatformHasIoMmuLib
17 FILE_GUID = 49b4b018-0558-448b-1e1a-12226342877d
20 LIBRARY_CLASS = PlatformHasIoMmuLib|DXE_DRIVER
21 CONSTRUCTOR = PlatformHasIoMmuInitialize
27 MdeModulePkg/MdeModulePkg.dec
32 gEdkiiIoMmuProtocolGuid OR gIoMmuAbsentProtocolGuid