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 /ArmPkg/Library/ArmMmuLib/ArmMmuPeiLib.inf | |
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 'ArmPkg/Library/ArmMmuLib/ArmMmuPeiLib.inf')
-rw-r--r-- | ArmPkg/Library/ArmMmuLib/ArmMmuPeiLib.inf | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/ArmPkg/Library/ArmMmuLib/ArmMmuPeiLib.inf b/ArmPkg/Library/ArmMmuLib/ArmMmuPeiLib.inf index ecf13f7907..f689c193b8 100644 --- a/ArmPkg/Library/ArmMmuLib/ArmMmuPeiLib.inf +++ b/ArmPkg/Library/ArmMmuLib/ArmMmuPeiLib.inf @@ -35,6 +35,3 @@ ArmLib
CacheMaintenanceLib
MemoryAllocationLib
-
-[Pcd.AARCH64]
- gEmbeddedTokenSpaceGuid.PcdPrePiCpuMemorySize
|