2002-07-30 Joel Sherrill <joel@OARcorp.com>

* stackchk/check.c: Don't reference the RTEMS allocated interrupt
	stack if the port doesn't configure using it.
This commit is contained in:
Joel Sherrill
2002-07-30 23:24:30 +00:00
parent f511ae2388
commit 57c6730273
4 changed files with 14 additions and 0 deletions

View File

@@ -1,3 +1,8 @@
2002-07-30 Joel Sherrill <joel@OARcorp.com>
* stackchk/check.c: Don't reference the RTEMS allocated interrupt
stack if the port doesn't configure using it.
2002-07-24 Joel Sherrill <joel@OARcorp.com>
* wrapup/Makefile.am: Temporarily don't include serdbg since it

View File

@@ -223,6 +223,7 @@ void Stack_check_Initialize( void )
* If appropriate, setup the interrupt stack for high water testing
* also.
*/
#if (CPU_ALLOCATE_INTERRUPT_STACK == TRUE)
if (_CPU_Interrupt_stack_low && _CPU_Interrupt_stack_high)
{
stack_check_interrupt_stack.area = _CPU_Interrupt_stack_low;
@@ -231,6 +232,7 @@ void Stack_check_Initialize( void )
stack_check_dope_stack(&stack_check_interrupt_stack);
}
#endif
#ifdef DONT_USE_FATAL_EXTENSION
#ifdef RTEMS_DEBUG

View File

@@ -1,3 +1,8 @@
2002-07-30 Joel Sherrill <joel@OARcorp.com>
* stackchk/check.c: Don't reference the RTEMS allocated interrupt
stack if the port doesn't configure using it.
2002-07-24 Joel Sherrill <joel@OARcorp.com>
* wrapup/Makefile.am: Temporarily don't include serdbg since it

View File

@@ -223,6 +223,7 @@ void Stack_check_Initialize( void )
* If appropriate, setup the interrupt stack for high water testing
* also.
*/
#if (CPU_ALLOCATE_INTERRUPT_STACK == TRUE)
if (_CPU_Interrupt_stack_low && _CPU_Interrupt_stack_high)
{
stack_check_interrupt_stack.area = _CPU_Interrupt_stack_low;
@@ -231,6 +232,7 @@ void Stack_check_Initialize( void )
stack_check_dope_stack(&stack_check_interrupt_stack);
}
#endif
#ifdef DONT_USE_FATAL_EXTENSION
#ifdef RTEMS_DEBUG