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.
This commit is contained in:
Till Straumann
2009-10-29 16:27:45 +00:00
parent 287e4a8b6b
commit 429978f437
2 changed files with 13 additions and 0 deletions

View File

@@ -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

View File

@@ -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 )