cmp x0, #1\r
bne _PrepareArguments\r
\r
-_ReserveGlobalVariable:\r
- LoadConstantToReg (FixedPcdGet32(PcdPeiGlobalVariableSize), x0)\r
- // InitializePrimaryStack($GlobalVariableSize, $Tmp1, $Tmp2)\r
- InitializePrimaryStack(x0, x1, x2)\r
-\r
_PrepareArguments:\r
mov x0, x10\r
mov x1, x11\r
mov x2, x12\r
- mov x3, sp\r
\r
// Move sec startup address into a data register\r
// Ensure we're jumping to FV version of the code (not boot remapped alias)\r
// x0 = MpId\r
// x1 = UefiMemoryBase\r
// x2 = StacksBase\r
- // x3 = GlobalVariableBase\r
blr x4\r
\r
_NeverReturn:\r