mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-04-20 05:21:59 -04:00
Add additional NOP after EINT instruction in MSP430 ports.
This commit is contained in:
parent
a20e75082e
commit
f01bf9fdc3
|
@ -110,7 +110,7 @@ typedef unsigned short UBaseType_t;
|
||||||
|
|
||||||
/* Interrupt control macros. */
|
/* Interrupt control macros. */
|
||||||
#define portDISABLE_INTERRUPTS() _disable_interrupt(); _nop()
|
#define portDISABLE_INTERRUPTS() _disable_interrupt(); _nop()
|
||||||
#define portENABLE_INTERRUPTS() _enable_interrupt()
|
#define portENABLE_INTERRUPTS() _enable_interrupt(); _nop()
|
||||||
/*-----------------------------------------------------------*/
|
/*-----------------------------------------------------------*/
|
||||||
|
|
||||||
/* Critical section control macros. */
|
/* Critical section control macros. */
|
||||||
|
|
|
@ -104,7 +104,7 @@ typedef unsigned short UBaseType_t;
|
||||||
|
|
||||||
/* Interrupt control macros. */
|
/* Interrupt control macros. */
|
||||||
#define portDISABLE_INTERRUPTS() asm volatile ( "DINT" ); asm volatile ( "NOP" )
|
#define portDISABLE_INTERRUPTS() asm volatile ( "DINT" ); asm volatile ( "NOP" )
|
||||||
#define portENABLE_INTERRUPTS() asm volatile ( "EINT" )
|
#define portENABLE_INTERRUPTS() asm volatile ( "EINT" ); asm volatile ( "NOP" )
|
||||||
/*-----------------------------------------------------------*/
|
/*-----------------------------------------------------------*/
|
||||||
|
|
||||||
/* Critical section control macros. */
|
/* Critical section control macros. */
|
||||||
|
|
|
@ -102,7 +102,7 @@ typedef unsigned short UBaseType_t;
|
||||||
|
|
||||||
/* Interrupt control macros. */
|
/* Interrupt control macros. */
|
||||||
#define portDISABLE_INTERRUPTS() _DINT(); _NOP()
|
#define portDISABLE_INTERRUPTS() _DINT(); _NOP()
|
||||||
#define portENABLE_INTERRUPTS() _EINT();
|
#define portENABLE_INTERRUPTS() _EINT(); _NOP()
|
||||||
/*-----------------------------------------------------------*/
|
/*-----------------------------------------------------------*/
|
||||||
|
|
||||||
/* Critical section control macros. */
|
/* Critical section control macros. */
|
||||||
|
|
|
@ -110,7 +110,7 @@ typedef unsigned short UBaseType_t;
|
||||||
|
|
||||||
/* Interrupt control macros. */
|
/* Interrupt control macros. */
|
||||||
#define portDISABLE_INTERRUPTS() _DINT();_NOP()
|
#define portDISABLE_INTERRUPTS() _DINT();_NOP()
|
||||||
#define portENABLE_INTERRUPTS() _EINT()
|
#define portENABLE_INTERRUPTS() _EINT(); _NOP()
|
||||||
/*-----------------------------------------------------------*/
|
/*-----------------------------------------------------------*/
|
||||||
|
|
||||||
/* Critical section control macros. */
|
/* Critical section control macros. */
|
||||||
|
|
Loading…
Reference in a new issue