diff options
-rw-r--r-- | cpukit/ChangeLog | 5 | ||||
-rw-r--r-- | cpukit/score/cpu/mips/rtems/score/cpu.h | 6 |
2 files changed, 8 insertions, 3 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index 4ff0bcc2ae..747575bd85 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,3 +1,8 @@ +2007-08-04 Ralf Corsépius <ralf.corsepius@rtems.org> + + * score/cpu/mips/rtems/score/cpu.h: Use uintptr_t instead of + uint32_t. + 2007-07-31 Joel Sherrill <joel.sherrill@OARcorp.com> PR 1248/networking diff --git a/cpukit/score/cpu/mips/rtems/score/cpu.h b/cpukit/score/cpu/mips/rtems/score/cpu.h index 21cdb86902..856d8f8b6c 100644 --- a/cpukit/score/cpu/mips/rtems/score/cpu.h +++ b/cpukit/score/cpu/mips/rtems/score/cpu.h @@ -890,9 +890,9 @@ void _CPU_ISR_Set_level( uint32_t ); /* in cpu.c */ #define _CPU_Context_Initialize( _the_context, _stack_base, _size, _isr, _entry_point, _is_fp ) \ { \ - uint32_t _stack_tmp = \ - (uint32_t )(_stack_base) + (_size) - CPU_STACK_ALIGNMENT; \ - uint32_t _intlvl = _isr & 0xff; \ + uintptr_t _stack_tmp = \ + (uintptr_t)(_stack_base) + (_size) - CPU_STACK_ALIGNMENT; \ + uintptr_t _intlvl = _isr & 0xff; \ _stack_tmp &= ~(CPU_STACK_ALIGNMENT - 1); \ (_the_context)->sp = _stack_tmp; \ (_the_context)->fp = _stack_tmp; \ |