summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/h8300
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2010-04-25 15:06:32 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2010-04-25 15:06:32 +0000
commit2146dbac19a234d4c3b269d82f05d53e0338a362 (patch)
tree649ec5c0d2707a59df8af973941965b1cce9e22d /cpukit/score/cpu/h8300
parent524055a90924a150246a4cc5e01837e0530de6ce (diff)
downloadrtems-2146dbac19a234d4c3b269d82f05d53e0338a362.tar.bz2
2010-04-25 Joel Sherrill <joel.sherrilL@OARcorp.com>
* rtems/score/cpu.h: Remove warning in _CPU_Context_Initialize.
Diffstat (limited to 'cpukit/score/cpu/h8300')
-rw-r--r--cpukit/score/cpu/h8300/ChangeLog4
-rw-r--r--cpukit/score/cpu/h8300/rtems/score/cpu.h4
2 files changed, 6 insertions, 2 deletions
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 <joel.sherrilL@OARcorp.com>
+
+ * rtems/score/cpu.h: Remove warning in _CPU_Context_Initialize.
+
2010-03-27 Joel Sherrill <joel.sherrill@oarcorp.com>
* 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; \