summaryrefslogtreecommitdiffstats
path: root/OvmfPkg/Library/PlatformHasIoMmuLib/PlatformHasIoMmuLib.inf
blob: 61a15998713b1c078f029ed7a6855c02ac0b1d12 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
## @file
# A hook-in library for MdeModulePkg/Bus/Pci/PciHostBridgeDxe.
#
#  Plugging this library instance into PciHostBridgeDxe makes
#  PciHostBridgeDxe depend on the platform's dynamic decision whether
#  to provide IOMMU implementation (usually through IoMmuDxe driver).
#
# Copyright (C) 2017, Red Hat, Inc.
# Copyright (C) 2017, AMD, Inc.
#
# SPDX-License-Identifier: BSD-2-Clause-Patent
##

[Defines]
  INF_VERSION                    = 1.25
  BASE_NAME                      = PlatformHasIoMmuLib
  FILE_GUID                      = 49b4b018-0558-448b-1e1a-12226342877d
  MODULE_TYPE                    = BASE
  VERSION_STRING                 = 1.0
  LIBRARY_CLASS                  = PlatformHasIoMmuLib|DXE_DRIVER
  CONSTRUCTOR                    = PlatformHasIoMmuInitialize

[Sources]
  PlatformHasIoMmuLib.c

[Packages]
  MdeModulePkg/MdeModulePkg.dec
  MdePkg/MdePkg.dec
  OvmfPkg/OvmfPkg.dec

[Depex]
  gEdkiiIoMmuProtocolGuid OR gIoMmuAbsentProtocolGuid