diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2016-11-12 14:02:25 +0100 |
---|---|---|
committer | Leif Lindholm <leif.lindholm@linaro.org> | 2016-11-30 16:41:55 +0000 |
commit | de2ec785e2b11798a3ca7aaf653bc76576d947b0 (patch) | |
tree | ea855078327d06291e6adc6fd09d126e3f4a1847 /BaseTools/Source/Python | |
parent | 35718840efe3a29c981b5b0f4d2f617f9a1f2c2e (diff) | |
download | edk2-platforms-de2ec785e2b11798a3ca7aaf653bc76576d947b0.tar.xz |
ArmPkg/ArmDmaLib: use DMA buffer alignment from CPU arch protocol
Instead of depending on ArmLib to retrieve the CWG directly, use
the DMA buffer alignment exposed by the CPU arch protocol. This
removes our dependency on ArmLib, which makes the library a bit
more architecture independent.
While we're in there, rename gCpu to mCpu to better reflect its
local scope, and reflow some lines that we're modifying anyway.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Tested-by: Ryan Harkin <ryan.harkin@linaro.org>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
Diffstat (limited to 'BaseTools/Source/Python')
0 files changed, 0 insertions, 0 deletions