]> git.proxmox.com Git - mirror_edk2.git/blob - OvmfPkg/Library/PlatformHasIoMmuLib/PlatformHasIoMmuLib.inf
OvmfPkg: Add PlatformHasIoMmuLib
[mirror_edk2.git] / OvmfPkg / Library / PlatformHasIoMmuLib / PlatformHasIoMmuLib.inf
1 ## @file
2 # A hook-in library for MdeModulePkg/Bus/Pci/PciHostBridgeDxe.
3 #
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).
7 #
8 # Copyright (C) 2017, Red Hat, Inc.
9 # Copyright (C) 2017, AMD, Inc.
10 #
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
15 #
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.
18 ##
19
20 [Defines]
21 INF_VERSION = 1.25
22 BASE_NAME = PlatformHasIoMmuLib
23 FILE_GUID = 49b4b018-0558-448b-1e1a-12226342877d
24 MODULE_TYPE = BASE
25 VERSION_STRING = 1.0
26 LIBRARY_CLASS = PlatformHasIoMmuLib|DXE_DRIVER
27 CONSTRUCTOR = PlatformHasIoMmuInitialize
28
29 [Sources]
30 PlatformHasIoMmuLib.c
31
32 [Packages]
33 MdeModulePkg/MdeModulePkg.dec
34 MdePkg/MdePkg.dec
35 OvmfPkg/OvmfPkg.dec
36
37 [Depex]
38 gEdkiiIoMmuProtocolGuid OR gIoMmuAbsentProtocolGuid