diff options
author | Till Straumann <strauman@slac.stanford.edu> | 2009-10-29 16:27:45 +0000 |
---|---|---|
committer | Till Straumann <strauman@slac.stanford.edu> | 2009-10-29 16:27:45 +0000 |
commit | 429978f437b518e284e7619964f1bb326322102c (patch) | |
tree | 18aa6be452bf61e2adc23c29aa626562b542f7ba /cpukit/score/src/isr.c | |
parent | 2009-10-29 Till Straumann <strauman@slac.stanford.edu> (diff) | |
download | rtems-429978f437b518e284e7619964f1bb326322102c.tar.bz2 |
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.
Diffstat (limited to '')
-rw-r--r-- | cpukit/score/src/isr.c | 7 |
1 files changed, 7 insertions, 0 deletions
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 ) |