]> git.proxmox.com Git - mirror_edk2.git/commit - ArmPkg/Include/Chipset/AArch64Mmu.h
ArmPkg/Include/Chipset: Fix translation table address calculations for AARCH64
authorGarrett Kirkendall <garrett.kirkendall@amd.com>
Tue, 15 Oct 2013 09:25:38 +0000 (09:25 +0000)
committeroliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 15 Oct 2013 09:25:38 +0000 (09:25 +0000)
commit8833370303d3bf3153760ee42760ef1b9b5c562b
treed70f7506a56570d0585b5771ca587cef8aa09d34
parent74b04490da9dcb90de61e31db51b8e137f9e6e3d
ArmPkg/Include/Chipset: Fix translation table address calculations for AARCH64

TT_ADDRESS_* macros were not casting immediate values to UINTN.
This causes shift operations to be off by 32-bits when calculating
addresses above 4GB.  Any address above 4GB was being improperly calculated.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Garrett Kirkendall <garrett.kirkendall@amd.com>
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14777 6f19259b-4bc3-4df7-8a09-765794883524
ArmPkg/Include/Chipset/AArch64Mmu.h