diff options
-rw-r--r-- | cpukit/ChangeLog | 6 | ||||
-rw-r--r-- | cpukit/score/src/isr.c | 7 |
2 files changed, 13 insertions, 0 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index 6f8ee8d016..67c222b23c 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,3 +1,9 @@ +2009-10-29 Till Straumann <strauman@slac.stanford.edu> + + * score/src/isr.c: Check if CPU defined _CPU_Interrupt_stack_setup() + macro hook for setting up the interrupt stack (alignment, reserving + space etc.) after the framework allocates it. + 2009-10-28 Sebastian Huber <sebastian.huber@embedded-brains.de> * libblock/include/rtems/bdbuf.h: Reorderd AVL node fields to save diff --git a/cpukit/score/src/isr.c b/cpukit/score/src/isr.c index 2b498f4870..0c6956fb19 100644 --- a/cpukit/score/src/isr.c +++ b/cpukit/score/src/isr.c @@ -64,6 +64,13 @@ void _ISR_Handler_initialization( void ) Configuration.interrupt_stack_size ); + /* Interrupt stack might have to be aligned and/or setup + * in a specific way. + */ +#if defined(_CPU_Interrupt_stack_setup) + _CPU_Interrupt_stack_setup(_CPU_Interrupt_stack_low, _CPU_Interrupt_stack_high); +#endif + #endif #if ( CPU_HAS_HARDWARE_INTERRUPT_STACK == TRUE ) |