]>
git.proxmox.com Git - mirror_edk2.git/blob - OvmfPkg/Library/PlatformHasIoMmuLib/PlatformHasIoMmuLib.c
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
18 PlatformHasIoMmuInitialize (
23 // Do nothing, just imbue PciHostBridgeDxe with a protocol dependency on
24 // gIoMmuAbsentProtocolGuid OR gEdkiiIoMmuProtocolGuid.
26 return RETURN_SUCCESS
;