]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Demo/CORTEX_R4F_RZ_T_GCC_IAR/System/IAR/Interrupt_Entry_Stubs.asm
Add FreeRTOS+CLI examples to the Renesas RZ/T demos.
[freertos] / FreeRTOS / Demo / CORTEX_R4F_RZ_T_GCC_IAR / System / IAR / Interrupt_Entry_Stubs.asm
index 4668654ac3e296984e1f5ce4f744243fdaed2bef..2c85e509df42461fb6f7840b38c733a9414b2595 100644 (file)
        EXTERN FreeRTOS_IRQ_Handler\r
        EXTERN vCMT_1_Channel_0_ISR\r
        EXTERN vCMT_1_Channel_1_ISR\r
+       EXTERN r_scifa2_txif2_interrupt\r
+       EXTERN r_scifa2_rxif2_interrupt\r
+       EXTERN r_scifa2_drif2_interrupt\r
+       EXTERN r_scifa2_brif2_interrupt\r
 \r
        PUBLIC FreeRTOS_Tick_Handler_Entry\r
        PUBLIC vCMT_1_Channel_0_ISR_Entry\r
        PUBLIC vCMT_1_Channel_1_ISR_Entry\r
+       PUBLIC r_scifa2_txif2_interrupt_entry\r
+       PUBLIC r_scifa2_rxif2_interrupt_entry\r
+       PUBLIC r_scifa2_drif2_interrupt_entry\r
+       PUBLIC r_scifa2_brif2_interrupt_entry\r
 \r
 FreeRTOS_Tick_Handler_Entry:\r
        /* Save used registers (probably not necessary). */\r
@@ -113,5 +121,53 @@ vCMT_1_Channel_1_ISR_Entry:
        /* Restore used registers then branch to the FreeRTOS IRQ handler. */\r
        POP             {r0-r1}\r
        B               FreeRTOS_IRQ_Handler\r
+/*-----------------------------------------------------------*/\r
+\r
+r_scifa2_txif2_interrupt_entry:\r
+       /* Save used registers (probably not necessary). */\r
+       PUSH    {r0-r1}\r
+       /* Save the address of the C portion of this handler in pxISRFunction. */\r
+       LDR             r0, =pxISRFunction\r
+       LDR             R1, =r_scifa2_txif2_interrupt\r
+       STR             R1, [r0]\r
+       /* Restore used registers then branch to the FreeRTOS IRQ handler. */\r
+       POP             {r0-r1}\r
+       B               FreeRTOS_IRQ_Handler\r
+/*-----------------------------------------------------------*/\r
+\r
+r_scifa2_rxif2_interrupt_entry:\r
+       /* Save used registers (probably not necessary). */\r
+       PUSH    {r0-r1}\r
+       /* Save the address of the C portion of this handler in pxISRFunction. */\r
+       LDR             r0, =pxISRFunction\r
+       LDR             R1, =r_scifa2_rxif2_interrupt\r
+       STR             R1, [r0]\r
+       /* Restore used registers then branch to the FreeRTOS IRQ handler. */\r
+       POP             {r0-r1}\r
+       B               FreeRTOS_IRQ_Handler\r
+/*-----------------------------------------------------------*/\r
+\r
+r_scifa2_drif2_interrupt_entry:\r
+       /* Save used registers (probably not necessary). */\r
+       PUSH    {r0-r1}\r
+       /* Save the address of the C portion of this handler in pxISRFunction. */\r
+       LDR             r0, =pxISRFunction\r
+       LDR             R1, =r_scifa2_drif2_interrupt\r
+       STR             R1, [r0]\r
+       /* Restore used registers then branch to the FreeRTOS IRQ handler. */\r
+       POP             {r0-r1}\r
+       B               FreeRTOS_IRQ_Handler\r
+/*-----------------------------------------------------------*/\r
+\r
+r_scifa2_brif2_interrupt_entry:\r
+       /* Save used registers (probably not necessary). */\r
+       PUSH    {r0-r1}\r
+       /* Save the address of the C portion of this handler in pxISRFunction. */\r
+       LDR             r0, =pxISRFunction\r
+       LDR             R1, =r_scifa2_brif2_interrupt\r
+       STR             R1, [r0]\r
+       /* Restore used registers then branch to the FreeRTOS IRQ handler. */\r
+       POP             {r0-r1}\r
+       B               FreeRTOS_IRQ_Handler\r
 \r
-    END\r
+       END\r