]> git.proxmox.com Git - mirror_edk2.git/blame - OvmfPkg/Library/PlatformHasIoMmuLib/PlatformHasIoMmuLib.c
OvmfPkg: remove handling of properties table
[mirror_edk2.git] / OvmfPkg / Library / PlatformHasIoMmuLib / PlatformHasIoMmuLib.c
CommitLineData
6c22e534
BS
1/** @file\r
2 A hook-in library for MdeModulePkg/Bus/Pci/PciHostBridgeDxe.\r
3\r
4 Plugging this library instance into PciHostBridgeDxe makes\r
5 PciHostBridgeDxe depend on the platform's dynamic decision whether\r
6 to provide IOMMU implementation (usually through IoMmuDxe driver).\r
7\r
8 Copyright (C) 2017, Red Hat, Inc.\r
9 Copyright (C) 2017, AMD, Inc.\r
10\r
b26f0cf9 11 SPDX-License-Identifier: BSD-2-Clause-Patent\r
6c22e534
BS
12**/\r
13\r
14#include <Base.h>\r
15\r
16RETURN_STATUS\r
17EFIAPI\r
18PlatformHasIoMmuInitialize (\r
19 VOID\r
20 )\r
21{\r
22 //\r
23 // Do nothing, just imbue PciHostBridgeDxe with a protocol dependency on\r
24 // gIoMmuAbsentProtocolGuid OR gEdkiiIoMmuProtocolGuid.\r
25 //\r
26 return RETURN_SUCCESS;\r
27}\r