diff options
-rw-r--r-- | cpukit/score/cpu/h8300/ChangeLog | 4 | ||||
-rw-r--r-- | cpukit/score/cpu/h8300/rtems/score/cpu.h | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/cpukit/score/cpu/h8300/ChangeLog b/cpukit/score/cpu/h8300/ChangeLog index f73f6a143e..47882e6d08 100644 --- a/cpukit/score/cpu/h8300/ChangeLog +++ b/cpukit/score/cpu/h8300/ChangeLog @@ -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. diff --git a/cpukit/score/cpu/h8300/rtems/score/cpu.h b/cpukit/score/cpu/h8300/rtems/score/cpu.h index 498304ad8f..4156225393 100644 --- a/cpukit/score/cpu/h8300/rtems/score/cpu.h +++ b/cpukit/score/cpu/h8300/rtems/score/cpu.h @@ -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) |