forked from Imagelibrary/rtems
2006-08-30 Joel Sherrill <joel@OARcorp.com>
* rtems/score/cpu.h: Revert change. It did not appear to correct all warnings.
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
2006-08-30 Joel Sherrill <joel@OARcorp.com>
|
||||||
|
|
||||||
|
* rtems/score/cpu.h: Revert change. It did not appear to correct all
|
||||||
|
warnings.
|
||||||
|
|
||||||
2006-08-30 Joel Sherrill <joel@OARcorp.com>
|
2006-08-30 Joel Sherrill <joel@OARcorp.com>
|
||||||
|
|
||||||
* rtems/score/cpu.h:
|
* rtems/score/cpu.h:
|
||||||
|
|||||||
@@ -626,8 +626,7 @@ SCORE_EXTERN void (*_CPU_Thread_dispatch_pointer)();
|
|||||||
|
|
||||||
#define _CPU_ISR_Disable( _isr_cookie ) \
|
#define _CPU_ISR_Disable( _isr_cookie ) \
|
||||||
do { \
|
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) ); \
|
||||||
asm volatile( "stc.w ccr, @-er7 ;\n orc #0xC0,ccr ;\n mov.w @er7+,%0" : "=r" (_isr_cookie) : ); \
|
|
||||||
} while (0)
|
} while (0)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user