Add some missing volatiles to __asm statements in the CA9 GCC port.

This commit is contained in:
Richard Barry 2014-05-19 13:14:02 +00:00
parent 0bb794301a
commit b215310e63
3 changed files with 52 additions and 52 deletions

View file

@ -119,7 +119,7 @@ extern uint32_t ulPortYieldRequired; \
}
#define portYIELD_FROM_ISR( x ) portEND_SWITCHING_ISR( x )
#define portYIELD() __asm( "SWI 0" );
#define portYIELD() __asm volatile ( "SWI 0" );
/*-----------------------------------------------------------