audk/ArmPkg/Library/ArmLib/AArch64
Garrett Kirkendall 7017c2699d ArmPkg/ArmLib: Fix AARCH64 page table entry filling overrun
Update the LastBlockEntry return value when allocating a new page table block
and the parent page table entry is not valid.  Discovered when producing page
table entries for a memory region that spans multiple page table entries of a
parent page table block.  Not very memory space efficient because the rest of
the code could calculate a required page level that is deeper than some blocks
of the memory region might require.  Case that found the problem:
MemoryRegion->VirtualBase = 0
MemoryRegion->Length = 0x7F000000
This fix will create an un-needed level of page table for address
range 0 -> 0x40000000

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Garrett Kirkendall <garrett.kirkendall@amd.com>
Reviewed-By: Olivier Martin <olivier.martin@arm.com>


git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15177 6f19259b-4bc3-4df7-8a09-765794883524
2014-01-24 13:10:54 +00:00
..
AArch64ArchTimer.c ArmPkg: Added Aarch64 support 2013-07-18 18:07:46 +00:00
AArch64ArchTimerSupport.S ArmPkg: Added Aarch64 support 2013-07-18 18:07:46 +00:00
AArch64Lib.c ArmPkg: Added Aarch64 support 2013-07-18 18:07:46 +00:00
AArch64Lib.h ArmPkg: Added Aarch64 support 2013-07-18 18:07:46 +00:00
AArch64Lib.inf ArmPkg: Added Aarch64 support 2013-07-18 18:07:46 +00:00
AArch64LibPrePi.inf ArmPkg: Added Aarch64 support 2013-07-18 18:07:46 +00:00
AArch64LibSec.inf ArmPkg: Added Aarch64 support 2013-07-18 18:07:46 +00:00
AArch64Mmu.c ArmPkg/ArmLib: Fix AARCH64 page table entry filling overrun 2014-01-24 13:10:54 +00:00
AArch64Support.S ArmPkg/ArmLib: Revert change 'Fixed field shifting in CLIDR_EL1 (AArch64)' 2013-09-23 09:42:05 +00:00
ArmLib.c ArmPkg: Added Aarch64 support 2013-07-18 18:07:46 +00:00
ArmLibPrivate.h ArmPkg: Added Aarch64 support 2013-07-18 18:07:46 +00:00
ArmLibSupportV8.S ArmPkg: Added Aarch64 support 2013-07-18 18:07:46 +00:00