summaryrefslogtreecommitdiffstats
path: root/BaseTools/Source/Python/Ecc/ParserWarning.py
diff options
context:
space:
mode:
authorArd Biesheuvel <ard.biesheuvel@linaro.org>2020-03-05 10:42:15 +0100
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2020-03-05 21:08:30 +0000
commit825c3e2c1b5d61c2b290c0dfc9a7d6a1ff0e8e4c (patch)
tree750ca673b868d8583dc7c1cf49206bd9555fa644 /BaseTools/Source/Python/Ecc/ParserWarning.py
parenteaaaece4ad455aca9bac3f719b8280f52f9d1893 (diff)
downloadedk2-825c3e2c1b5d61c2b290c0dfc9a7d6a1ff0e8e4c.tar.gz
edk2-825c3e2c1b5d61c2b290c0dfc9a7d6a1ff0e8e4c.tar.bz2
edk2-825c3e2c1b5d61c2b290c0dfc9a7d6a1ff0e8e4c.zip
ArmPkg/ArmMmuLib ARM: use AllocateAlignedPages() for alignment
Instead of overallocating memory and align the resulting base address manually, use the AllocateAlignedPages () helper, which achieves the same, and might even manage that without leaking a chunk of memory of the same size as the allocation itself. While at it, fix up a variable declaration in the same hunk, and drop a comment whose contents add nothing to the following line of code. Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Diffstat (limited to 'BaseTools/Source/Python/Ecc/ParserWarning.py')
0 files changed, 0 insertions, 0 deletions