2006-08-30 Joel Sherrill <joel@OARcorp.com>

* rtems/score/cpu.h:
This commit is contained in:
Joel Sherrill
2006-08-30 17:16:50 +00:00
parent 352332193c
commit eba52fd39d
2 changed files with 5 additions and 0 deletions

View File

@@ -1,3 +1,7 @@
2006-08-30 Joel Sherrill <joel@OARcorp.com>
* rtems/score/cpu.h:
2006-08-29 Joel Sherrill <joel@OARcorp.com>
* rtems/score/cpu.h: Correct inline assembly constraints.

View File

@@ -626,6 +626,7 @@ SCORE_EXTERN void (*_CPU_Thread_dispatch_pointer)();
#define _CPU_ISR_Disable( _isr_cookie ) \
do { \
_isr_cookie = 0; /* to avoid warnings */; \
asm volatile( "stc.w ccr, @-er7 ;\n orc #0xC0,ccr ;\n mov.w @er7+,%0" : "=r" (_isr_cookie) : ); \
} while (0)