summaryrefslogtreecommitdiff
path: root/BaseTools/Source/Python/Common
diff options
context:
space:
mode:
authorArd Biesheuvel <ard.biesheuvel@linaro.org>2016-09-09 11:19:18 +0100
committerArd Biesheuvel <ard.biesheuvel@linaro.org>2016-09-13 13:43:08 +0100
commit674e127ef64b07a1e6e6bcc5ecbaead50ea81134 (patch)
tree12b148e154cece8dd350a5b4f16a8569c4e1cd33 /BaseTools/Source/Python/Common
parente93cb72e597df7b37aad7910787b8ecaeac31382 (diff)
downloadedk2-platforms-674e127ef64b07a1e6e6bcc5ecbaead50ea81134.tar.xz
ArmPkg/ArmMmuLib: remove bogus alignment of page allocations
In commit 7d189f99d81c ("ArmPkg/Mmu: Fix bug of aligning new allocated page table"), we fixed a flaw in the logic regarding alignment of newly allocated translation table pages. However, we all failed to spot that aligning page based allocations to page size is rather pointless to begin with, so simply allocate a single page each time we add new pages to the translation tables. Also, drop the unnecessary cast. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
Diffstat (limited to 'BaseTools/Source/Python/Common')
0 files changed, 0 insertions, 0 deletions