[NTOS]: Seems like cpsr_c doesn't work in this case? Need to investigate. Put an...
authorSir Richard <sir_richard@svn.reactos.org>
Wed, 24 Nov 2010 18:56:35 +0000 (18:56 +0000)
committerSir Richard <sir_richard@svn.reactos.org>
Wed, 24 Nov 2010 18:56:35 +0000 (18:56 +0000)
svn path=/trunk/; revision=49786

reactos/ntoskrnl/ke/arm/boot.s

index eff065c..5bce735 100644 (file)
     PROLOG_END KiSystemStartup
     
     /* Put us in FIQ mode, set IRQ stack */
-    msr cpsr_c, #CPSR_FIQ_MODE
+    b .
+    mrs r3, cpsr
+    orr r3, r1, #CPSR_FIQ_MODE
+    msr cpsr, r3
     ldr sp, [a1, #LpbInterruptStack]
     
     /* Repeat for IRQ mode */