audk/ArmPkg
Ard Biesheuvel dd82465a9f ArmPkg/ArmMmuLib: base page table VA size on GCD memory map size
As reported by Eugene, the practice of sizing the address space in the
virtual memory system based on the maximum address in the table passed
to ArmConfigureMmu() is problematic, since it fails to take into account
the fact that the GCD memory space may be extended at a later time, both
for memory and for MMIO. So instead, choose the VA size identical to the
GCD memory map size, which is based on PcdPrePiCpuMemorySize on ARM
systems.

Reported-by: Eugene Cohen <eugene@hp.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Eugene Cohen <eugene@hp.com>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
2016-09-13 13:43:34 +01:00
..
Application/LinuxLoader ArmPkg ArmPlatformPkg ArmVirtPkg: ARM GICv2/v3 Base Address width fix-up 2016-09-08 09:16:01 +01:00
Drivers ArmPkg/ArmGicLib: use correct loop variable 2016-09-09 16:56:38 +01:00
Filesystem/SemihostFs
Include ArmPkg: introduce ASM_FUNC, MOV32/MOV64 and ADRL/LDRL macros 2016-08-11 12:29:31 +02:00
Library ArmPkg/ArmMmuLib: base page table VA size on GCD memory map size 2016-09-13 13:43:34 +01:00
ArmPkg.dec ArmPkg ArmPlatformPkg ArmVirtPkg: ARM GICv2/v3 Base Address width fix-up 2016-09-08 09:16:01 +01:00
ArmPkg.dsc ArmPkg/ArmLib: remove all ArmLib flavors except ArmBaseLib 2016-09-08 10:02:45 +01:00
Contributions.txt */Contributions.txt: Update example email address 2015-02-03 17:29:14 +00:00
License.txt ArmPkg: Rectify file modes 2016-01-30 12:25:59 +00:00