Commit ba18651b authored by Oliver Horst's avatar Oliver Horst
Browse files

[chg] Enabled applications to signal that a higher priority task was woken

parent b6435ca7
...@@ -134,6 +134,8 @@ void vApplicationIRQHandler( uint32_t ulICCIAR ) ...@@ -134,6 +134,8 @@ void vApplicationIRQHandler( uint32_t ulICCIAR )
const XScuGic_VectorTableEntry *pxVectorTable; const XScuGic_VectorTableEntry *pxVectorTable;
const XScuGic_VectorTableEntry *pxVectorEntry; const XScuGic_VectorTableEntry *pxVectorEntry;
uint32_t ulInterruptID; uint32_t ulInterruptID;
BaseType_t xSwitchRequired;
extern uint64_t ullPortYieldRequired;
configASSERT( xInterruptController.Config ); configASSERT( xInterruptController.Config );
...@@ -149,7 +151,11 @@ uint32_t ulInterruptID; ...@@ -149,7 +151,11 @@ uint32_t ulInterruptID;
functions. */ functions. */
pxVectorEntry = &( pxVectorTable[ ulInterruptID ] ); pxVectorEntry = &( pxVectorTable[ ulInterruptID ] );
configASSERT( pxVectorEntry ); configASSERT( pxVectorEntry );
pxVectorEntry->Handler( pxVectorEntry->CallBackRef ); xSwitchRequired = pxVectorEntry->Handler( pxVectorEntry->CallBackRef );
if( xSwitchRequired != pdFALSE )
{
ullPortYieldRequired = pdTRUE;
}
} }
} }
/*-----------------------------------------------------------*/ /*-----------------------------------------------------------*/
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment