mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-08-31 12:27:50 +08:00
2006-08-29 Joel Sherrill <joel@OARcorp.com>
* rtems/score/cpu.h: Correct inline assembly constraints.
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
2006-08-29 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* rtems/score/cpu.h: Correct inline assembly constraints.
|
||||
|
||||
2006-01-16 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* rtems/score/cpu.h: Part of a large patch to improve Doxygen output.
|
||||
|
||||
@@ -626,7 +626,7 @@ SCORE_EXTERN void (*_CPU_Thread_dispatch_pointer)();
|
||||
|
||||
#define _CPU_ISR_Disable( _isr_cookie ) \
|
||||
do { \
|
||||
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)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user