Author: sir_richard
Date: Wed Nov 24 18:56:35 2010
New Revision: 49786
URL: http://svn.reactos.org/svn/reactos?rev=49786&view=rev
Log:
[NTOS]: Seems like cpsr_c doesn't work in this case? Need to investigate. Put an infinite loop in the entrypoint on ARM.
Modified:
trunk/reactos/ntoskrnl/ke/arm/boot.s
Modified: trunk/reactos/ntoskrnl/ke/arm/boot.s
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/ke/arm/boot.s?rev…
==============================================================================
--- trunk/reactos/ntoskrnl/ke/arm/boot.s [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/ke/arm/boot.s [iso-8859-1] Wed Nov 24 18:56:35 2010
@@ -15,7 +15,10 @@
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 */