]> git.sur5r.net Git - freertos/commitdiff
Minor updates only.
authorrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Sat, 6 Dec 2008 15:02:32 +0000 (15:02 +0000)
committerrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Sat, 6 Dec 2008 15:02:32 +0000 (15:02 +0000)
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@597 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

Demo/Common/drivers/Atmel/at91lib/boards/at91sam9xe-ek/board_cstartup_iar.s

index fabc1d1942baa62a1f00b40ddb945e19bd5b5215..5e4e1470460a758f1f782be2398c61ec86f0b8b4 100644 (file)
@@ -113,13 +113,9 @@ irqHandler:
         LDR     r0, [r14, #AIC_IVR]\r
         STR     lr, [r14, #AIC_IVR]\r
 \r
-        /* Branch to interrupt handler in Supervisor mode */\r
-        MSR     CPSR_c, #ARM_MODE_SVC\r
-        STMFD   sp!, {r1-r3, r12, lr}\r
+        /* Branch to C portion of the interrupt handler */\r
         MOV     lr, pc\r
         BX      r0\r
-        LDMIA   sp!, {r1-r3, r12, lr}\r
-        MSR     CPSR_c, #ARM_MODE_IRQ | I_BIT\r
 \r
         /* Acknowledge interrupt */\r
         LDR     lr, =AT91C_BASE_AIC\r