mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-08-31 05:27:18 +08:00
2007-11-07 Till Straumann <strauman@slac.stanford.edu>
* score/include/rtems/score/isr.h: added RTEMS_COMPILER_MEMORY_BARRIER around _CPU_ISR_Set_level().
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2007-11-07 Till Straumann <strauman@slac.stanford.edu>
|
||||
|
||||
* score/include/rtems/score/isr.h: added RTEMS_COMPILER_MEMORY_BARRIER
|
||||
around _CPU_ISR_Set_level().
|
||||
|
||||
2007-11-07 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||
|
||||
* score/inline/rtems/score/object.inl: During test coverage analysis,
|
||||
|
||||
@@ -159,7 +159,12 @@ void _ISR_Handler_initialization ( void );
|
||||
* routine exits.
|
||||
*/
|
||||
#define _ISR_Set_level( _new_level ) \
|
||||
_CPU_ISR_Set_level( _new_level )
|
||||
do { \
|
||||
RTEMS_COMPILER_MEMORY_BARRIER(); \
|
||||
_CPU_ISR_Set_level( _new_level ); \
|
||||
RTEMS_COMPILER_MEMORY_BARRIER(); \
|
||||
} while (0)
|
||||
|
||||
|
||||
/**
|
||||
* This routine is the interrupt dispatcher. ALL interrupts
|
||||
|
||||
Reference in New Issue
Block a user