// r1 = The top of the Mpcore Stacks\r
// Stack for the primary core = PrimaryCoreStack\r
LoadConstantToReg (FixedPcdGet32(PcdCPUCorePrimaryStackSize), r2)\r
- sub r12, r1, r2\r
+ sub r9, r1, r2\r
\r
// Stack for the secondary core = Number of Cores - 1\r
LoadConstantToReg (FixedPcdGet32(PcdCoreCount), r0)\r
sub r0, r0, #1\r
LoadConstantToReg (FixedPcdGet32(PcdCPUCoreSecondaryStackSize), r1)\r
mul r1, r1, r0\r
- sub r12, r12, r1\r
+ sub r9, r9, r1\r
\r
- // r12 = The base of the MpCore Stacks (primary stack & secondary stacks)\r
- mov r0, r12\r
+ // r9 = The base of the MpCore Stacks (primary stack & secondary stacks)\r
+ mov r0, r9\r
mov r1, r10\r
//ArmPlatformStackSet(StackBase, MpId, PrimaryStackSize, SecondaryStackSize)\r
LoadConstantToReg (FixedPcdGet32(PcdCPUCorePrimaryStackSize), r2)\r
_PrepareArguments:\r
mov r0, r10\r
mov r1, r11\r
- mov r2, r12\r
+ mov r2, r9\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