]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Source/portable/RVDS/ARM_CA9/portASM.s
Add configCLEAR_TICK_INTERRUPT() to the IAR and RVDS Cortex-A9 ports.
[freertos] / FreeRTOS / Source / portable / RVDS / ARM_CA9 / portASM.s
index e3058d088c4a5b913e573840bff13ee9ee18635e..0dff19e0b47f69045a55943f58e66bf27ff674ca 100644 (file)
@@ -126,7 +126,8 @@ FreeRTOS_IRQ_Handler
 \r
        ; Call the interrupt handler\r
        PUSH    {r0-r3, lr}\r
-       BL              vApplicationIRQHandler\r
+       LDR             r1, =vApplicationIRQHandler\r
+       BLX             r1\r
        POP             {r0-r3, lr}\r
        ADD             sp, sp, r2\r
 \r
@@ -180,7 +181,8 @@ switch_before_exit
        ; vTaskSwitchContext() if vTaskSwitchContext() uses LDRD or STRD\r
        ; instructions, or 8 byte aligned stack allocated data.  LR does not need\r
        ; saving as a new LR will be loaded by portRESTORE_CONTEXT anyway.\r
-       BL              vTaskSwitchContext\r
+       LDR             r0, =vTaskSwitchContext\r
+       BLX             r0\r
 \r
        ; Restore the context of, and branch to, the task selected to execute next.\r
        portRESTORE_CONTEXT\r