audk/ArmPkg/Library/ArmMmuLib
Ard Biesheuvel 1c36f028fa ArmPkg/ArmMmuLib: take MAX_ALLOC_ADDRESS into account
When creating the page tables for the 1:1 mapping, ensure that we don't
attempt to map more than what is architecturally permitted when running
with 4 KB pages, which is 48 bits of VA. This will be reflected in the
value of MAX_ALLOC_ADDRESS once we override it for AArch64, so use that
macro instead of MAX_ADDRESS.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
2018-12-20 11:02:07 +01:00
..
AArch64 ArmPkg/ArmMmuLib: take MAX_ALLOC_ADDRESS into account 2018-12-20 11:02:07 +01:00
Arm ArmPkg/ArmMmuLib ARM: handle unmapped sections when updating permissions 2018-12-03 15:55:35 +01:00
ArmMmuBaseLib.inf ArmPkg/ArmMmuLib: take the CPU supported maximum PA space into account 2018-11-29 18:54:59 +01:00
ArmMmuPeiLib.inf ArmPkg/ArmMmuLib: take the CPU supported maximum PA space into account 2018-11-29 18:54:59 +01:00