]> git.proxmox.com Git - mirror_edk2.git/commit
EmbeddedPkg: implement EDK2 IoMmu protocol wrapping DmaLib
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Thu, 21 Nov 2019 08:32:27 +0000 (09:32 +0100)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Fri, 6 Dec 2019 14:55:45 +0000 (14:55 +0000)
commit49054b6bb66d35484e92c65f27584c4283a60986
tree4c4dac0dfcd0e12021e46fd7cbde3ef764e68999
parent62a75650e4f918a7aed8e325b8beed37247e4513
EmbeddedPkg: implement EDK2 IoMmu protocol wrapping DmaLib

Implement a version of the EDK2 IoMmu protocol that is a simple wrapper
around DmaLib. This is intended to be used to wrap NonCoherentDmaLib so
that the generic PCI infrastructure can be used to implement support for
non cache-coherent DMA.

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
Reviewed-by: Philippe Mathieu-Daude <philmd@redhat.com>
Tested-by: Pete Batard <pete@akeo.ie>
EmbeddedPkg/Drivers/NonCoherentIoMmuDxe/NonCoherentIoMmuDxe.c [new file with mode: 0644]
EmbeddedPkg/Drivers/NonCoherentIoMmuDxe/NonCoherentIoMmuDxe.inf [new file with mode: 0644]
EmbeddedPkg/EmbeddedPkg.dsc