]> git.proxmox.com Git - mirror_edk2.git/blame - OvmfPkg/Library/PlatformHasIoMmuLib/PlatformHasIoMmuLib.inf
OvmfPkg: Add PlatformHasIoMmuLib
[mirror_edk2.git] / OvmfPkg / Library / PlatformHasIoMmuLib / PlatformHasIoMmuLib.inf
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
11# This program and the accompanying materials are licensed and made available\r
12# under the terms and conditions of the BSD License which accompanies this\r
13# distribution. The full text of the license may be found at\r
14# http://opensource.org/licenses/bsd-license.php\r
15#\r
16# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT\r
17# WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
18##\r
19\r
20[Defines]\r
21 INF_VERSION = 1.25\r
22 BASE_NAME = PlatformHasIoMmuLib\r
23 FILE_GUID = 49b4b018-0558-448b-1e1a-12226342877d\r
24 MODULE_TYPE = BASE\r
25 VERSION_STRING = 1.0\r
26 LIBRARY_CLASS = PlatformHasIoMmuLib|DXE_DRIVER\r
27 CONSTRUCTOR = PlatformHasIoMmuInitialize\r
28\r
29[Sources]\r
30 PlatformHasIoMmuLib.c\r
31\r
32[Packages]\r
33 MdeModulePkg/MdeModulePkg.dec\r
34 MdePkg/MdePkg.dec\r
35 OvmfPkg/OvmfPkg.dec\r
36\r
37[Depex]\r
38 gEdkiiIoMmuProtocolGuid OR gIoMmuAbsentProtocolGuid\r