From 2146dbac19a234d4c3b269d82f05d53e0338a362 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Sun, 25 Apr 2010 15:06:32 +0000 Subject: 2010-04-25 Joel Sherrill * rtems/score/cpu.h: Remove warning in _CPU_Context_Initialize. --- cpukit/score/cpu/h8300/ChangeLog | 4 ++++ cpukit/score/cpu/h8300/rtems/score/cpu.h | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'cpukit/score/cpu/h8300') 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 + + * rtems/score/cpu.h: Remove warning in _CPU_Context_Initialize. + 2010-03-27 Joel Sherrill * 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; \ -- cgit v1.2.3