blr x3\r
\r
_SetupPrimaryCoreStack:\r
- // x1 contains the top of the primary stack\r
- LoadConstantToReg (FixedPcdGet32(PcdPeiGlobalVariableSize), x2)\r
-\r
- // The reserved space for global variable must be 16-bytes aligned for pushing\r
- // 128-bit variable on the stack\r
- SetPrimaryStack (x1, x2, x3, x4)\r
+ mov sp, x1\r
b _PrepareArguments\r