2010-04-25 Joel Sherrill <joel.sherrilL@OARcorp.com>

* rtems/score/cpu.h: Remove warning in _CPU_Context_Initialize.
This commit is contained in:
Joel Sherrill
2010-04-25 15:06:32 +00:00
parent 524055a909
commit 2146dbac19
2 changed files with 6 additions and 2 deletions
+4
View File
@@ -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
+2 -2
View File
@@ -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; \