Change "SWI" to "SWI 0".

pull/4/head
Richard Barry 15 years ago
parent ac94fdddf1
commit bf9b20e6b8

@ -113,7 +113,7 @@ extern "C" {
#define portSTACK_GROWTH ( -1 )
#define portTICK_RATE_MS ( ( portTickType ) 1000 / configTICK_RATE_HZ )
#define portBYTE_ALIGNMENT 8
#define portYIELD() asm volatile ( "SWI" )
#define portYIELD() asm volatile ( "SWI 0" )
#define portNOP() asm volatile ( "NOP" )
/*

@ -211,7 +211,7 @@ extern volatile unsigned portLONG ulCriticalNesting; \
#define portYIELD_FROM_ISR() vTaskSwitchContext()
#define portYIELD() asm volatile ( "SWI" )
#define portYIELD() asm volatile ( "SWI 0" )
/*-----------------------------------------------------------*/

@ -188,7 +188,7 @@ extern volatile unsigned portLONG ulCriticalNesting; \
extern void vTaskSwitchContext( void );
#define portYIELD_FROM_ISR() vTaskSwitchContext()
#define portYIELD() __asm volatile ( "SWI" )
#define portYIELD() __asm volatile ( "SWI 0" )
/*-----------------------------------------------------------*/

@ -211,7 +211,7 @@ extern volatile unsigned portLONG ulCriticalNesting; \
#define portYIELD_FROM_ISR() vTaskSwitchContext()
#define portYIELD() __asm volatile ( "SWI" )
#define portYIELD() __asm volatile ( "SWI 0" )
/*-----------------------------------------------------------*/

Loading…
Cancel
Save