]> git.proxmox.com Git - mirror_edk2.git/commit
ArmPkg/Mmu: Fix bug of aligning new allocated page table
authorHeyi Guo <heyi.guo@linaro.org>
Wed, 9 Sep 2015 13:37:13 +0000 (13:37 +0000)
committerabiesheuvel <abiesheuvel@Edk2>
Wed, 9 Sep 2015 13:37:13 +0000 (13:37 +0000)
commit7d189f99d81cd136a33074c66cdabb8ce66118ce
treee950e9e33d0189affed05d1bc7eb23e90141cfdb
parentddd097e33f6e6829dc0413820e9971f3bf025f87
ArmPkg/Mmu: Fix bug of aligning new allocated page table

The code has a simple bug on calculating aligned page table address.
We can just use AllocateAlignedPages in MemoryAllocationLib instead.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Heyi Guo <heyi.guo@linaro.org>
Cc: Leif Lindholm <leif.lindholm@linaro.org>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18421 6f19259b-4bc3-4df7-8a09-765794883524
ArmPkg/Library/ArmLib/AArch64/AArch64Mmu.c