mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-11-09 08:37:58 +08:00
1 parent
352332193c
commit
eba52fd39d
2 files changed
+5
No files matched your search
@@ -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.
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
Reference in new issue
Block a user