]> git.proxmox.com Git - mirror_edk2.git/commit
ArmVirtPkg/ArmVirtGicArchLib: adapt ASSERT()s to 64-bit base addresses
authorDennis Chen <dennis.chen@arm.com>
Fri, 21 Oct 2016 05:50:24 +0000 (13:50 +0800)
committerArd Biesheuvel <ard.biesheuvel@linaro.org>
Fri, 21 Oct 2016 08:19:39 +0000 (09:19 +0100)
commit041e842ab7b3c163564ab7545e6de445ae0a2e09
treee9b45eaaf7d25f7d903ec9a883aa6e5d6011ca39
parent57419e679083420d2cbc32d4b4243b1ebaacf79b
ArmVirtPkg/ArmVirtGicArchLib: adapt ASSERT()s to 64-bit base addresses

Since All the GIC base address variables has been aligned to 64-bit, it
doesn't make sense to continue use MAX_UINT32 in ASSERT() statement, so
this patch uses MAX_UINTN to adapt to this kind of change.

Contributed-under: TianoCore Contribution Agreement 1.0
Cc: Leif Lindholm <leif.lindholm@linaro.org>
Signed-off-by: Dennis Chen <dennis.chen@arm.com>
Acked-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
ArmVirtPkg/Library/ArmVirtGicArchLib/ArmVirtGicArchLib.c