blx r3\r
\r
_SetupPrimaryCoreStack:\r
- // r1 contains the top of the primary stack\r
- LoadConstantToReg (FixedPcdGet32(PcdPeiGlobalVariableSize), 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
_NeverReturn:\r