2011-02-01 Joel Sherrill <joel.sherrill@oarcorp.com>

PR 1733/cpukit
	* score/src/isr.c: If target architecture does nto require stack
	initialization, then do not perform adjustment.
This commit is contained in:
Joel Sherrill
2011-02-01 20:22:08 +00:00
parent cdc056098d
commit c52c319ebf
2 changed files with 8 additions and 0 deletions

View File

@@ -1,3 +1,9 @@
2011-02-01 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1733/cpukit
* score/src/isr.c: If target architecture does nto require stack
initialization, then do not perform adjustment.
2011-02-01 Ralf Corsepius <ralf.corsepius@rtems.org> 2011-02-01 Ralf Corsepius <ralf.corsepius@rtems.org>
* libcsupport/src/printk.c: Fix typo. * libcsupport/src/printk.c: Fix typo.

View File

@@ -62,8 +62,10 @@ void _ISR_Handler_initialization( void )
Configuration.interrupt_stack_size Configuration.interrupt_stack_size
); );
#if (CPU_STACK_ALIGNMENT != 0)
_CPU_Interrupt_stack_high = (void *) _CPU_Interrupt_stack_high = (void *)
((uintptr_t) _CPU_Interrupt_stack_high & ~(CPU_STACK_ALIGNMENT - 1)); ((uintptr_t) _CPU_Interrupt_stack_high & ~(CPU_STACK_ALIGNMENT - 1));
#endif
/* Interrupt stack might have to be aligned and/or setup /* Interrupt stack might have to be aligned and/or setup
* in a specific way. * in a specific way.