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
@@ -53,7 +53,7 @@ CreatePpiList (
|
||||
ArmPlatformGetPlatformPpiList (&PlatformPpiListSize, &PlatformPpiList);
|
||||
|
||||
// Copy the Common and Platform PPis in Temporrary Memory
|
||||
ListBase = PcdGet32 (PcdCPUCoresStackBase);
|
||||
ListBase = PcdGet64 (PcdCPUCoresStackBase);
|
||||
CopyMem ((VOID*)ListBase, gCommonPpiTable, sizeof(gCommonPpiTable));
|
||||
CopyMem ((VOID*)(ListBase + sizeof(gCommonPpiTable)), PlatformPpiList, PlatformPpiListSize);
|
||||
|
||||
@@ -154,7 +154,7 @@ PrePeiCoreGetGlobalVariableMemory (
|
||||
{
|
||||
ASSERT (GlobalVariableBase != NULL);
|
||||
|
||||
*GlobalVariableBase = (UINTN)PcdGet32 (PcdCPUCoresStackBase) +
|
||||
*GlobalVariableBase = (UINTN)PcdGet64 (PcdCPUCoresStackBase) +
|
||||
(UINTN)PcdGet32 (PcdCPUCorePrimaryStackSize) -
|
||||
(UINTN)PcdGet32 (PcdPeiGlobalVariableSize);
|
||||
|
||||
|
Reference in New Issue
Block a user