]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Source/portable/GCC/ARM_CRx_No_GIC/portASM.S
Common source code:
[freertos] / FreeRTOS / Source / portable / GCC / ARM_CRx_No_GIC / portASM.S
index b21c91dd71292ca6f8d1e919513407eb411220ce..9f91560a2a9a8c033e311ce676fa7feb934a2262 100644 (file)
@@ -68,6 +68,7 @@
        .extern ulPortInterruptNesting\r
        .extern ulPortTaskHasFPUContext\r
        .extern ulICCEOIR\r
+       .extern ulPortYieldRequired\r
 \r
        .global FreeRTOS_IRQ_Handler\r
        .global FreeRTOS_SVC_Handler\r
 \r
 \r
 /******************************************************************************\r
- * SVC handler is used to start the scheduler.\r
+ * SVC handler is used to yield.\r
  *****************************************************************************/\r
 .align 4\r
 .type FreeRTOS_SVC_Handler, %function\r
@@ -189,7 +190,6 @@ FreeRTOS_IRQ_Handler:
        PUSH    {lr}\r
 \r
        /* Change to supervisor mode to allow reentry. */\r
-       CPS             #SVC_MODE\r
 \r
        /* Push used registers. */\r
        PUSH    {r0-r4, r12}\r