]> git.proxmox.com Git - mirror_edk2.git/commit - EmbeddedPkg/EmbeddedPkg.dsc
EmbeddedPkg: rename NullDmaLib to CoherentDmaLib
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Wed, 30 Aug 2017 06:57:40 +0000 (07:57 +0100)
committerArd Biesheuvel <ard.biesheuvel@linaro.org>
Wed, 30 Aug 2017 13:12:34 +0000 (14:12 +0100)
commit7385d2543e2a0c9b601673f244a75635d7ff90da
treeb0c15923721e00fad8f8f07c8e8d7d5586b86c40
parent5202e6c907e5769ac8ecb024b7a07509bdba6181
EmbeddedPkg: rename NullDmaLib to CoherentDmaLib

The name NullDmaLib suggests that this library is a placeholder that
only exists to fulfil formal dependencies on the DmaLib library class
without providing an actual implementation. This is not the case, though:
NullDmaLib does implement DmaLib fully, but doing so simply requires very
little effort on a cache coherent platform. So let's rename it to
CoherentDmaLib instead.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
EmbeddedPkg/EmbeddedPkg.dsc
EmbeddedPkg/Library/CoherentDmaLib/CoherentDmaLib.c [new file with mode: 0644]
EmbeddedPkg/Library/CoherentDmaLib/CoherentDmaLib.inf [new file with mode: 0644]
EmbeddedPkg/Library/NullDmaLib/NullDmaLib.c [deleted file]
EmbeddedPkg/Library/NullDmaLib/NullDmaLib.inf [deleted file]