LoadConstantToReg (FixedPcdGet32(PcdCPUCoreSecPrimaryStackSize), r2)\r
add r1, r1, r2\r
\r
- LoadConstantToReg (FixedPcdGet32(PcdSecGlobalVariableSize), r2)\r
-\r
- // The reserved space for global variable must be 8-bytes aligned for pushing\r
- // 64-bit variable on the stack\r
- SetPrimaryStack (r1, r2, r3)\r
+ mov sp, r1\r
b _PrepareArguments\r
\r
_SetupSecondaryCoreStack\r