]> git.proxmox.com Git - mirror_edk2.git/commit
ArmPkg: remove UncachedMemoryAllocationLib
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Thu, 24 Aug 2017 19:37:01 +0000 (20:37 +0100)
committerArd Biesheuvel <ard.biesheuvel@linaro.org>
Thu, 31 Aug 2017 07:59:37 +0000 (08:59 +0100)
commitdcd48d2db4eb2d3d93106ad788a0f67d2ca5495c
treede08509fc408f1ebe1444f316d0a23e05a379e5d
parentf29ca8e8b96adc2539f44d41ed8521ef6d29c14c
ArmPkg: remove UncachedMemoryAllocationLib

Now that ArmDmaLib can take care of its own memory allocation needs,
let's get rid of UncachedMemoryAllocationLib entirely. This forces
platforms to declare the required semantics (non-cache coherent DMA,
whichever way it is implemented), rather than using uncached memory
allocations directly, which may not always be the right choice, and
prevents sharing of drivers between platforms if one is cache coherent
and the other is not.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
ArmPkg/ArmPkg.dec
ArmPkg/ArmPkg.dsc
ArmPkg/Include/Library/UncachedMemoryAllocationLib.h [deleted file]
ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.c [deleted file]
ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.inf [deleted file]