audk/ArmPkg/Library/ArmLib
Ard Biesheuvel 2cde2696f5 ArmLib/ArmV7Mmu: use 64-bit type for mapping region size
The way the v7 MMU code is invoked by the Xen port is somewhat of
a pathological case, since it describes its physical memory space
using a single cacheable region that covers the entire addressable
range. When clipping this region to the part that is 1:1 addressable,
we end up with a region of exactly 4 GB in size, which just exceeds
the range of the UINT32 variable we use in FillTranslationTable() to
track our progress while populating the page tables. So promote it
to UINT64 instead.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18930 6f19259b-4bc3-4df7-8a09-765794883524
2015-11-24 07:48:06 +00:00
..
AArch64 ArmPkg: ArmLib: purge incorrect ArmDrainWriteBuffer () alias 2015-11-20 13:14:59 +00:00
ArmV7 ArmLib/ArmV7Mmu: use 64-bit type for mapping region size 2015-11-24 07:48:06 +00:00
Common ArmPkg/ArmLib: add accessor function for Cache Writeback Granule 2015-11-09 13:28:17 +00:00
Null ArmPkg/ArmLib: remove CCSIDR based cache info routines 2015-11-09 13:26:32 +00:00