]> git.sur5r.net Git - freertos/blobdiff - Demo/ARM7_AT91SAM7X256_Eclipse/RTOSDemo/webserver/EMAC_ISR.c
Update to use the latest Yagarto and change the C handler part of the interrupt routi...
[freertos] / Demo / ARM7_AT91SAM7X256_Eclipse / RTOSDemo / webserver / EMAC_ISR.c
index 1d88c2f5b0d2e61ed29eea702f2876aad17ff372..f399b0e4d51fc52f03df6d039de27cb50d334cc9 100644 (file)
@@ -54,7 +54,7 @@ void vEMACISR_Wrapper( void ) __attribute__((naked));
 \r
 /* Handler called by the ISR wrapper.  This must be kept a separate\r
 function to ensure the stack frame is correctly set up. */\r
-void vEMACISR_Handler( void );\r
+void vEMACISR_Handler( void ) __attribute__((noinline));\r
 \r
 static xSemaphoreHandle xEMACSemaphore;\r
 \r
@@ -103,7 +103,7 @@ void vEMACISR_Wrapper( void )
        \r
        /* Call the handler task to do the actual work.  This must be a separate\r
        function to ensure the stack frame is correctly set up. */\r
-       vEMACISR_Handler();\r
+       __asm volatile ("bl vEMACISR_Handler");\r
        \r
        /* Restore the context of whichever task is the next to run. */\r
        portRESTORE_CONTEXT();\r