diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2007-08-04 06:06:26 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2007-08-04 06:06:26 +0000 |
commit | 11f2bf591f5af593735120a6bb8577a5945b806c (patch) | |
tree | d2b52acfd8cb64aff2f295dd070e804443837f0e /cpukit/score | |
parent | Update to newlib-1.15.0-rtems4.8-20070804.diff (diff) | |
download | rtems-11f2bf591f5af593735120a6bb8577a5945b806c.tar.bz2 |
2007-08-04 Ralf Corsépius <ralf.corsepius@rtems.org>
* score/cpu/mips/rtems/score/cpu.h: Use uintptr_t instead of
uint32_t.
Diffstat (limited to 'cpukit/score')
-rw-r--r-- | cpukit/score/cpu/mips/rtems/score/cpu.h | 6 |
1 files changed, 3 insertions, 3 deletions
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; \ |