diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2018-11-23 13:14:28 +0100 |
---|---|---|
committer | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2018-11-29 18:54:59 +0100 |
commit | e36b243c7178f2693fc2ddd9d673c0614c80cab0 (patch) | |
tree | 54816fc44acb49de2808f6f128d1510d1f83378a /BaseTools/Source/Python/Ecc/CLexer.py | |
parent | 2f9b248af82073aed40c0b86d9f9d7074f5fa36a (diff) | |
download | edk2-e36b243c7178f2693fc2ddd9d673c0614c80cab0.tar.gz edk2-e36b243c7178f2693fc2ddd9d673c0614c80cab0.tar.bz2 edk2-e36b243c7178f2693fc2ddd9d673c0614c80cab0.zip |
ArmPkg/ArmMmuLib: take the CPU supported maximum PA space into account
In preparation of dropping PcdPrePiCpuMemorySize entirely, base the
maximum size of the identity map on the capabilities of the CPU.
Since that may exceed what is architecturally permitted when using
4 KB pages, take MAX_ADDRESS into account as well.
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
Diffstat (limited to 'BaseTools/Source/Python/Ecc/CLexer.py')
0 files changed, 0 insertions, 0 deletions