summaryrefslogtreecommitdiff
path: root/BaseTools/Source/Python/Table/TableQuery.py
diff options
context:
space:
mode:
authorArd Biesheuvel <ard.biesheuvel@linaro.org>2017-08-24 19:57:05 +0300
committerArd Biesheuvel <ard.biesheuvel@linaro.org>2017-08-24 20:18:14 +0300
commit6650d78558eb567aaeb8a6509fb7d4e4ed621433 (patch)
tree15eb38003e907f78dfbe09e6999d7d0e432b5612 /BaseTools/Source/Python/Table/TableQuery.py
parentbfb0ee0adbb1838a371e9f5b1c1b49e1f354447a (diff)
downloadedk2-6650d78558eb567aaeb8a6509fb7d4e4ed621433.tar.xz
ArmPkg/ArmDmaLib: remove dependency on UncachedMemoryAllocationLib
Now that ArmDmaLib no longer uses uncached mappings for short-lived bounce buffers used for streaming DMA, the only place we allocate uncached memory is in DmaAllocateBuffer (), which is used for static mappings shared between the host and the device, e.g., for packet descriptor rings etc. There is no performance concern around such long lived mappings, and so we can really do without the overhead of UncachedMemoryAllocationLib, which is a sizable chunk of poorly maintained code that never actually releases any memory, and despite the fact that it implements pool based routines, it always performs page based allocations anyway. So let's invoke the DXE services directly to manage memory attributes on allocations, and keep track of the allocations in a linked list so we can restore the attributes and free the memory properly after use. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Diffstat (limited to 'BaseTools/Source/Python/Table/TableQuery.py')
0 files changed, 0 insertions, 0 deletions