diff options
Diffstat (limited to 'cpukit/score/cpu/lm32/rtems/score/cpu.h')
-rw-r--r-- | cpukit/score/cpu/lm32/rtems/score/cpu.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cpukit/score/cpu/lm32/rtems/score/cpu.h b/cpukit/score/cpu/lm32/rtems/score/cpu.h index 9cf0ec389f..973fad29b8 100644 --- a/cpukit/score/cpu/lm32/rtems/score/cpu.h +++ b/cpukit/score/cpu/lm32/rtems/score/cpu.h @@ -846,10 +846,10 @@ extern char _gp[]; _isr, _entry_point, _is_fp ) \ do { \ uint32_t _stack = (uint32_t)(_stack_base) + (_size) - 4; \ - (_the_context)->gp = (void *)_gp; \ - (_the_context)->fp = (void *)_stack; \ - (_the_context)->sp = (void *)_stack; \ - (_the_context)->ra = (void *)(_entry_point); \ + (_the_context)->gp = (uint32_t)_gp; \ + (_the_context)->fp = (uint32_t)_stack; \ + (_the_context)->sp = (uint32_t)_stack; \ + (_the_context)->ra = (uint32_t)(_entry_point); \ } while ( 0 ) /** |