diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-09-20 07:57:08 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-09-21 07:19:29 +0200 |
commit | 56e61e24bd8cada5b25f6d4fdf433eed84f25204 (patch) | |
tree | c7eadd8eb5af389c61aa730251cad8392d6290b9 /cpukit/score | |
parent | clang: Keep -qrtems and -B for compilers without -specs support (diff) | |
download | rtems-56e61e24bd8cada5b25f6d4fdf433eed84f25204.tar.bz2 |
Remove INTERNAL_ERROR_INTERRUPT_STACK_TOO_SMALL
The configured interrupt stack size (CONFIGURE_INTERRUPT_STACK_SIZE) is
checked against the minimum task stack size. The minium tasks task
stack size is also a configuration option
(CONFIGURE_MINIMUM_TASK_STACK_SIZE). So, this check does not really
help in case of configuration errors. In addition, the interrupt stack
is also re-used as the initialization stack in most BSPs. It is
probably better to use a stack checker to detect problems.
Update #3459.
Diffstat (limited to 'cpukit/score')
-rw-r--r-- | cpukit/score/src/isr.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/cpukit/score/src/isr.c b/cpukit/score/src/isr.c index 3bda275b07..6a1b307f42 100644 --- a/cpukit/score/src/isr.c +++ b/cpukit/score/src/isr.c @@ -47,10 +47,6 @@ void _ISR_Handler_initialization( void ) #endif stack_size = rtems_configuration_get_interrupt_stack_size(); - - if ( !_Stack_Is_enough( stack_size ) ) - _Internal_error( INTERNAL_ERROR_INTERRUPT_STACK_TOO_SMALL ); - cpu_max = rtems_configuration_get_maximum_processors(); stack_low = _Configuration_Interrupt_stack_area_begin; |