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.asm | |
parent | 513aa3497afd3b84f6f20ed53a18534cb72b2180 (diff) | |
download | edk2-99565b88c1bdeae4836aab78db9c08e9511e4adc.tar.gz edk2-99565b88c1bdeae4836aab78db9c08e9511e4adc.tar.bz2 edk2-99565b88c1bdeae4836aab78db9c08e9511e4adc.zip |
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.asm')
-rw-r--r-- | ArmPlatformPkg/PrePi/ModuleEntryPoint.asm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ArmPlatformPkg/PrePi/ModuleEntryPoint.asm b/ArmPlatformPkg/PrePi/ModuleEntryPoint.asm index e402e2657f..1e3560eb30 100644 --- a/ArmPlatformPkg/PrePi/ModuleEntryPoint.asm +++ b/ArmPlatformPkg/PrePi/ModuleEntryPoint.asm @@ -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
|