ArmPlatformGetPlatformPpiList (&PlatformPpiListSize, &PlatformPpiList);\r
\r
// Copy the Common and Platform PPis in Temporrary Memory\r
- ListBase = PcdGet32 (PcdCPUCoresStackBase);\r
+ ListBase = PcdGet64 (PcdCPUCoresStackBase);\r
CopyMem ((VOID*)ListBase, gCommonPpiTable, sizeof(gCommonPpiTable));\r
CopyMem ((VOID*)(ListBase + sizeof(gCommonPpiTable)), PlatformPpiList, PlatformPpiListSize);\r
\r
{\r
ASSERT (GlobalVariableBase != NULL);\r
\r
- *GlobalVariableBase = (UINTN)PcdGet32 (PcdCPUCoresStackBase) +\r
+ *GlobalVariableBase = (UINTN)PcdGet64 (PcdCPUCoresStackBase) +\r
(UINTN)PcdGet32 (PcdCPUCorePrimaryStackSize) -\r
(UINTN)PcdGet32 (PcdPeiGlobalVariableSize);\r
\r