mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-26 06:08:20 +00:00
2008-09-08 Joel Sherrill <joel.sherrill@oarcorp.com>
* cpu.c, 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>
|
||||
|
||||
* cpu.c, rtems/score/cpu.h: Remove extraneous spaces.
|
||||
|
||||
2008-08-21 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* rtems/score/types.h: Include stdbool.h.
|
||||
|
||||
@@ -39,7 +39,7 @@ void _CPU_Initialize(
|
||||
_CPU_ISR_jump_table[slot].move_a7 = M68K_MOVE_A7;
|
||||
_CPU_ISR_jump_table[slot].format_id = slot << 2;
|
||||
_CPU_ISR_jump_table[slot].jmp = M68K_JMP;
|
||||
_CPU_ISR_jump_table[slot].isr_handler = (uint32_t ) 0xDEADDEAD;
|
||||
_CPU_ISR_jump_table[slot].isr_handler = (uint32_t) 0xDEADDEAD;
|
||||
}
|
||||
#endif /* M68K_HAS_VBR */
|
||||
}
|
||||
@@ -104,8 +104,8 @@ void _CPU_ISR_install_raw_handler(
|
||||
*/
|
||||
|
||||
*old_handler = (proc_ptr) _CPU_ISR_jump_table[vector].isr_handler;
|
||||
_CPU_ISR_jump_table[vector].isr_handler = (uint32_t ) new_handler;
|
||||
if ( (uint32_t ) interrupt_table != 0xFFFFFFFF )
|
||||
_CPU_ISR_jump_table[vector].isr_handler = (uint32_t) new_handler;
|
||||
if ( (uint32_t) interrupt_table != 0xFFFFFFFF )
|
||||
interrupt_table[ vector ] = (proc_ptr) &_CPU_ISR_jump_table[vector];
|
||||
#endif /* M68K_HAS_VBR */
|
||||
}
|
||||
|
||||
@@ -378,7 +378,7 @@ uint32_t _CPU_ISR_Get_level( void );
|
||||
uint32_t _stack; \
|
||||
\
|
||||
(_the_context)->sr = 0x3000 | ((_isr) << 8); \
|
||||
_stack = (uint32_t )(_stack_base) + (_size) - 4; \
|
||||
_stack = (uint32_t)(_stack_base) + (_size) - 4; \
|
||||
(_the_context)->a7_msp = (void *)_stack; \
|
||||
*(void **)_stack = (void *)(_entry_point); \
|
||||
(_the_context)->fpu_dis = (_is_fp == TRUE) ? 0x00 : 0x10; \
|
||||
|
||||
Reference in New Issue
Block a user