diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2019-11-21 09:32:27 +0100 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2019-12-06 14:55:45 +0000 |
commit | 49054b6bb66d35484e92c65f27584c4283a60986 (patch) | |
tree | 4c4dac0dfcd0e12021e46fd7cbde3ef764e68999 /EmbeddedPkg/EmbeddedPkg.dsc | |
parent | 62a75650e4f918a7aed8e325b8beed37247e4513 (diff) | |
download | edk2-49054b6bb66d35484e92c65f27584c4283a60986.tar.gz edk2-49054b6bb66d35484e92c65f27584c4283a60986.tar.bz2 edk2-49054b6bb66d35484e92c65f27584c4283a60986.zip |
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>
Diffstat (limited to 'EmbeddedPkg/EmbeddedPkg.dsc')
-rw-r--r-- | EmbeddedPkg/EmbeddedPkg.dsc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/EmbeddedPkg/EmbeddedPkg.dsc b/EmbeddedPkg/EmbeddedPkg.dsc index a8a151eb40..8842acc4cb 100644 --- a/EmbeddedPkg/EmbeddedPkg.dsc +++ b/EmbeddedPkg/EmbeddedPkg.dsc @@ -238,6 +238,11 @@ EmbeddedPkg/Drivers/ConsolePrefDxe/ConsolePrefDxe.inf
EmbeddedPkg/Drivers/DtPlatformDxe/DtPlatformDxe.inf
+ EmbeddedPkg/Drivers/NonCoherentIoMmuDxe/NonCoherentIoMmuDxe.inf {
+ <LibraryClasses>
+ DmaLib|EmbeddedPkg/Library/NonCoherentDmaLib/NonCoherentDmaLib.inf
+ }
+
[Components.ARM]
EmbeddedPkg/Drivers/Isp1761UsbDxe/Isp1761UsbDxe.inf
|