Patches for NSH disable background, and ARMv7M assembly from Freddie Chopin

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5398 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo
2012-11-29 13:58:53 +00:00
parent 372c910446
commit 8ff65a24b2
+2 -2
View File
@@ -134,9 +134,9 @@ exception_common:
#if CONFIG_ARCH_INTERRUPTSTACK > 3 #if CONFIG_ARCH_INTERRUPTSTACK > 3
ldr sp, =g_intstackbase ldr sp, =g_intstackbase
push r1 /* Save the MSP on the interrupt stack */ push {r1} /* Save the MSP on the interrupt stack */
bl up_doirq /* R0=IRQ, R1=register save area on stack */ bl up_doirq /* R0=IRQ, R1=register save area on stack */
pop r1 /* Recover R1=main stack pointer */ pop {r1} /* Recover R1=main stack pointer */
#else #else
msr msp, r1 /* We are using the main stack pointer */ msr msp, r1 /* We are using the main stack pointer */
bl up_doirq /* R0=IRQ, R1=register save area on stack */ bl up_doirq /* R0=IRQ, R1=register save area on stack */