forked from Imagelibrary/rtems
2008-09-08 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/score/cpu.h: Remove extraneous spaces.
This commit is contained in:
@@ -1,3 +1,7 @@
|
|||||||
|
2008-09-08 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||||
|
|
||||||
|
* rtems/score/cpu.h: Remove extraneous spaces.
|
||||||
|
|
||||||
2008-08-21 Ralf Corsépius <ralf.corsepius@rtems.org>
|
2008-08-21 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||||
|
|
||||||
* rtems/score/types.h: Include stdbool.h.
|
* rtems/score/types.h: Include stdbool.h.
|
||||||
|
|||||||
@@ -777,7 +777,7 @@ uint32_t _CPU_ISR_Get_level( void );
|
|||||||
if ( (_isr) ) (_the_context)->ccr = CPU_CCR_INTERRUPTS_OFF; \
|
if ( (_isr) ) (_the_context)->ccr = CPU_CCR_INTERRUPTS_OFF; \
|
||||||
else (_the_context)->ccr = CPU_CCR_INTERRUPTS_ON; \
|
else (_the_context)->ccr = CPU_CCR_INTERRUPTS_ON; \
|
||||||
\
|
\
|
||||||
_stack = ((uint32_t )(_stack_base)) + (_size) - 4; \
|
_stack = ((uint32_t)(_stack_base)) + (_size) - 4; \
|
||||||
*((proc_ptr *)(_stack)) = (_entry_point); \
|
*((proc_ptr *)(_stack)) = (_entry_point); \
|
||||||
(_the_context)->er7 = (void *) _stack; \
|
(_the_context)->er7 = (void *) _stack; \
|
||||||
(_the_context)->er6 = (void *) _stack; \
|
(_the_context)->er6 = (void *) _stack; \
|
||||||
|
|||||||
@@ -1,3 +1,7 @@
|
|||||||
|
2008-09-08 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||||
|
|
||||||
|
* rtems/score/cpu.h: Remove extraneous spaces.
|
||||||
|
|
||||||
2008-09-05 Ralf Corsépius <ralf.corsepius@rtems.org>
|
2008-09-05 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||||
|
|
||||||
* cpu.c: Stop using old-style defs.
|
* cpu.c: Stop using old-style defs.
|
||||||
|
|||||||
@@ -300,7 +300,7 @@ uint32_t _CPU_ISR_Get_level( void );
|
|||||||
if ( (_isr) ) (_the_context)->eflags = CPU_EFLAGS_INTERRUPTS_OFF; \
|
if ( (_isr) ) (_the_context)->eflags = CPU_EFLAGS_INTERRUPTS_OFF; \
|
||||||
else (_the_context)->eflags = CPU_EFLAGS_INTERRUPTS_ON; \
|
else (_the_context)->eflags = CPU_EFLAGS_INTERRUPTS_ON; \
|
||||||
\
|
\
|
||||||
_stack = ((uint32_t )(_stack_base)) + (_size) - 4; \
|
_stack = ((uint32_t)(_stack_base)) + (_size) - 4; \
|
||||||
\
|
\
|
||||||
*((proc_ptr *)(_stack)) = (_entry_point); \
|
*((proc_ptr *)(_stack)) = (_entry_point); \
|
||||||
(_the_context)->ebp = (void *) _stack; \
|
(_the_context)->ebp = (void *) _stack; \
|
||||||
|
|||||||
@@ -1,3 +1,7 @@
|
|||||||
|
2008-09-08 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||||
|
|
||||||
|
* rtems/score/cpu.h: Remove extraneous spaces.
|
||||||
|
|
||||||
2008-08-21 Ralf Corsépius <ralf.corsepius@rtems.org>
|
2008-08-21 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||||
|
|
||||||
* rtems/score/types.h: Include stdbool.h.
|
* rtems/score/types.h: Include stdbool.h.
|
||||||
|
|||||||
@@ -899,7 +899,7 @@ uint32_t _CPU_ISR_Get_level( void );
|
|||||||
_isr, _entry_point, _is_fp ) \
|
_isr, _entry_point, _is_fp ) \
|
||||||
do { \
|
do { \
|
||||||
extern char _gp[]; \
|
extern char _gp[]; \
|
||||||
uint32_t _stack = (uint32_t )(_stack_base) + (_size) - 4; \
|
uint32_t _stack = (uint32_t)(_stack_base) + (_size) - 4; \
|
||||||
(_the_context)->gp = (void *)_gp; \
|
(_the_context)->gp = (void *)_gp; \
|
||||||
(_the_context)->fp = (void *)_stack; \
|
(_the_context)->fp = (void *)_stack; \
|
||||||
(_the_context)->sp = (void *)_stack; \
|
(_the_context)->sp = (void *)_stack; \
|
||||||
|
|||||||
Reference in New Issue
Block a user