ArmPlatform/PrePi: Fixed PrePi for MP Cores platform and Global Variable region settings
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12638 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -35,7 +35,7 @@ _ModuleEntryPoint
|
||||
and r5, r0, r1
|
||||
|
||||
_SetSVCMode
|
||||
// Enter SVC mode
|
||||
// Enter SVC mode, Disable FIQ and IRQ
|
||||
mov r1, #0x13|0x80|0x40
|
||||
msr CPSR_c, r1
|
||||
|
||||
@@ -99,7 +99,7 @@ _GetStackBaseMpCore
|
||||
|
||||
// Is it the Primary Core ?
|
||||
LoadConstantToReg (FixedPcdGet32(PcdArmPrimaryCore), r4)
|
||||
cmp r0, r4
|
||||
cmp r5, r4
|
||||
beq _SetupPrimaryCoreStack
|
||||
|
||||
_SetupSecondaryCoreStack
|
||||
|
Reference in New Issue
Block a user