From 11f2bf591f5af593735120a6bb8577a5945b806c Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Sat, 4 Aug 2007 06:06:26 +0000 Subject: =?UTF-8?q?2007-08-04=09Ralf=20Cors=C3=A9pius=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * score/cpu/mips/rtems/score/cpu.h: Use uintptr_t instead of uint32_t. --- cpukit/score/cpu/mips/rtems/score/cpu.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'cpukit/score/cpu/mips/rtems/score/cpu.h') 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; \ -- cgit v1.2.3