[NTOS]: Seems like cpsr_c doesn't work in this case? Need to investigate. Put an infinite loop in the entrypoint on ARM.

svn path=/trunk/; revision=49786
This commit is contained in:
Sir Richard 2010-11-24 18:56:35 +00:00
parent a5dbee0b8f
commit 5f47e1ddd0

View file

@ -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 */