mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-11-05 19:22:31 -05:00
Update to use the latest Yagarto and change the C handler part of the interrupt routines to use the noinline attribute.
This commit is contained in:
parent
7ff79ca26b
commit
531faedf63
5 changed files with 172 additions and 5 deletions
|
|
@ -6,7 +6,7 @@
|
|||
void vEMAC_ISR_Wrapper( void ) __attribute__((naked));
|
||||
|
||||
/* The handler that does the actual work. */
|
||||
void vEMAC_ISR_Handler( void );
|
||||
void vEMAC_ISR_Handler( void ) __attribute__((noinline));
|
||||
|
||||
extern xSemaphoreHandle xEMACSemaphore;
|
||||
|
||||
|
|
@ -37,7 +37,7 @@ void vEMAC_ISR_Wrapper( void )
|
|||
|
||||
/* Call the handler. This must be a separate function unless you can
|
||||
guarantee that no stack will be used. */
|
||||
vEMAC_ISR_Handler();
|
||||
__asm volatile ( "bl vEMAC_ISR_Handler" );
|
||||
|
||||
/* Restore the context of whichever task is going to run next. */
|
||||
portRESTORE_CONTEXT();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue