]> git.proxmox.com Git - mirror_edk2.git/commit
ArmPkg/ArmMmuLib AARCH64: use helpers to determine table entry types
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Sat, 7 Mar 2020 11:44:16 +0000 (12:44 +0100)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Thu, 26 Mar 2020 10:34:14 +0000 (10:34 +0000)
commit5fc899535e5195247258aac3f43e93967543d34d
tree1cf4fa0916a7bae9d179263b526f2e5ed9382ec0
parentd390920ed41ebdf78402288416a284cf8bcde620
ArmPkg/ArmMmuLib AARCH64: use helpers to determine table entry types

Given how the meaning of the attribute bits for page table entry types
is slightly awkward, and changes between levels, add some helpers to
abstract from this.

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Leif Lindholm <leif@nuviainc.com>
Reviewed-by: Ashish Singhal <ashishsingha@nvidia.com>
Tested-by: Ashish Singhal <ashishsingha@nvidia.com>
Tested-by: Laszlo Ersek <lersek@redhat.com>
ArmPkg/Library/ArmMmuLib/AArch64/ArmMmuLibCore.c