diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2010-04-25 15:06:32 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2010-04-25 15:06:32 +0000 |
commit | 2146dbac19a234d4c3b269d82f05d53e0338a362 (patch) | |
tree | 649ec5c0d2707a59df8af973941965b1cce9e22d /cpukit | |
parent | 2010-04-25 Joel Sherrill <joel.sherrilL@OARcorp.com> (diff) | |
download | rtems-2146dbac19a234d4c3b269d82f05d53e0338a362.tar.bz2 |
2010-04-25 Joel Sherrill <joel.sherrilL@OARcorp.com>
* rtems/score/cpu.h: Remove warning in _CPU_Context_Initialize.
Diffstat (limited to 'cpukit')
-rw-r--r-- | cpukit/score/cpu/h8300/ChangeLog | 4 | ||||
-rw-r--r-- | cpukit/score/cpu/h8300/rtems/score/cpu.h | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/cpukit/score/cpu/h8300/ChangeLog b/cpukit/score/cpu/h8300/ChangeLog index bd70879504..4e0292c0ba 100644 --- a/cpukit/score/cpu/h8300/ChangeLog +++ b/cpukit/score/cpu/h8300/ChangeLog @@ -1,3 +1,7 @@ +2010-04-25 Joel Sherrill <joel.sherrilL@OARcorp.com> + + * rtems/score/cpu.h: Remove warning in _CPU_Context_Initialize. + 2010-03-27 Joel Sherrill <joel.sherrill@oarcorp.com> * cpu.c, cpu_asm.S: Add include of config.h diff --git a/cpukit/score/cpu/h8300/rtems/score/cpu.h b/cpukit/score/cpu/h8300/rtems/score/cpu.h index f684e0e5f1..b787d65da4 100644 --- a/cpukit/score/cpu/h8300/rtems/score/cpu.h +++ b/cpukit/score/cpu/h8300/rtems/score/cpu.h @@ -762,12 +762,12 @@ uint32_t _CPU_ISR_Get_level( void ); _isr, _entry_point, _is_fp ) \ /* Locate Me */ \ do { \ - uint32_t _stack; \ + uintptr_t _stack; \ \ if ( (_isr) ) (_the_context)->ccr = CPU_CCR_INTERRUPTS_OFF; \ else (_the_context)->ccr = CPU_CCR_INTERRUPTS_ON; \ \ - _stack = ((uint32_t)(_stack_base)) + (_size) - 4; \ + _stack = ((uintptr_t)(_stack_base)) + (_size) - 4; \ *((proc_ptr *)(_stack)) = (_entry_point); \ (_the_context)->er7 = (void *) _stack; \ (_the_context)->er6 = (void *) _stack; \ |