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:
Till Straumann
2007-11-08 03:03:11 +00:00
parent f2e4e67160
commit 42bb3a028f
2 changed files with 11 additions and 1 deletions
+5
View File
@@ -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,
+6 -1
View File
@@ -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