summaryrefslogtreecommitdiff
path: root/BaseTools/Source/Python/Workspace/WorkspaceCommon.py
diff options
context:
space:
mode:
authorArd Biesheuvel <ard.biesheuvel@linaro.org>2016-09-09 09:01:56 +0100
committerArd Biesheuvel <ard.biesheuvel@linaro.org>2016-09-13 13:43:34 +0100
commitdd82465a9f0f0beff0e4d74c6e3192b966853332 (patch)
tree5bb8c1aa39b134a058b568c53a7ebe59e30ad297 /BaseTools/Source/Python/Workspace/WorkspaceCommon.py
parentd32702d2c2aa23e828363a7f88829b78ce36c3af (diff)
downloadedk2-platforms-dd82465a9f0f0beff0e4d74c6e3192b966853332.tar.xz
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>
Diffstat (limited to 'BaseTools/Source/Python/Workspace/WorkspaceCommon.py')
0 files changed, 0 insertions, 0 deletions