diff options
author | oliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-11-01 23:41:52 +0000 |
---|---|---|
committer | oliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-11-01 23:41:52 +0000 |
commit | 99565b88c1bdeae4836aab78db9c08e9511e4adc (patch) | |
tree | fccd1cf6143872a7214e385cfa3b46c2cd688eb2 /ArmPlatformPkg/PrePi/ModuleEntryPoint.S | |
parent | 513aa3497afd3b84f6f20ed53a18534cb72b2180 (diff) | |
download | edk2-platforms-99565b88c1bdeae4836aab78db9c08e9511e4adc.tar.xz |
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
Diffstat (limited to 'ArmPlatformPkg/PrePi/ModuleEntryPoint.S')
-rwxr-xr-x | ArmPlatformPkg/PrePi/ModuleEntryPoint.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ArmPlatformPkg/PrePi/ModuleEntryPoint.S b/ArmPlatformPkg/PrePi/ModuleEntryPoint.S index bb1d99449f..4b7ef1be3e 100755 --- a/ArmPlatformPkg/PrePi/ModuleEntryPoint.S +++ b/ArmPlatformPkg/PrePi/ModuleEntryPoint.S @@ -34,7 +34,7 @@ ASM_PFX(_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
@@ -98,7 +98,7 @@ _GetStackBaseMpCore: // Is it the Primary Core ?
LoadConstantToReg (FixedPcdGet32(PcdArmPrimaryCore), r4)
- cmp r0, r4
+ cmp r5, r4
beq _SetupPrimaryCoreStack
_SetupSecondaryCoreStack:
|