ArmPlatformPkg: Increase more ARM address Pcd entries to 64-bit.
Some AArch64 platforms have RAM and flash devices >4GB. Update some additional Pcd entries to 64-bit, and change the corresponding PcdGet32 calls to PcdGet64. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org> Signed-off-by: Olivier Martin <olivier.martin@arm.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16325 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
committed by
oliviermartin
parent
2a7e98a8cc
commit
bb5420bb2b
@@ -181,9 +181,9 @@ ArmPlatformInitializeSystemMemory (
|
||||
//
|
||||
ASSERT (NewSize >= SIZE_128MB);
|
||||
ASSERT (
|
||||
(((UINT64)PcdGet32 (PcdFdBaseAddress) +
|
||||
(((UINT64)PcdGet64 (PcdFdBaseAddress) +
|
||||
(UINT64)PcdGet32 (PcdFdSize)) <= NewBase) ||
|
||||
((UINT64)PcdGet32 (PcdFdBaseAddress) >= (NewBase + NewSize)));
|
||||
((UINT64)PcdGet64 (PcdFdBaseAddress) >= (NewBase + NewSize)));
|
||||
}
|
||||
|
||||
VOID
|
||||
|
Reference in New Issue
Block a user