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