OvmfPkg: Add PlatformHasIoMmuLib
authorBrijesh Singh <brijesh.singh@amd.com>
Thu, 6 Jul 2017 13:27:58 +0000 (09:27 -0400)
committerJordan Justen <jordan.l.justen@intel.com>
Tue, 11 Jul 2017 04:17:28 +0000 (21:17 -0700)
commit6c22e534beaabad5856609a86d009f3818989a4b
tree4b72d86ef39ad316c330003f0016260eea988780
parentc5d736eb6770ef80ab585aaf81fdf36ba5fd7607
OvmfPkg: Add PlatformHasIoMmuLib

Add the shorter-term library instance outlined in the previous patch to
OvmfPkg, so that we can imbue PciHostBridgeDxe with a protocol dependency
on gEdkiiIoMmuProtocolGuid OR gIoMmuAbsentProtocolGuid.

Cc: Jordan Justen <jordan.l.justen@intel.com>
Cc: Laszlo Ersek <lersek@redhat.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Suggested-by: Laszlo Ersek <lersek@redhat.com>
Signed-off-by: Brijesh Singh <brijesh.singh@amd.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
OvmfPkg/Library/PlatformHasIoMmuLib/PlatformHasIoMmuLib.c [new file with mode: 0644]
OvmfPkg/Library/PlatformHasIoMmuLib/PlatformHasIoMmuLib.inf [new file with mode: 0644]