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 /testsuites/sptests/spfatal07/testcase.h | |
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 '')
-rw-r--r-- | testsuites/sptests/spfatal07/testcase.h | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/testsuites/sptests/spfatal07/testcase.h b/testsuites/sptests/spfatal07/testcase.h deleted file mode 100644 index 156f9b55e2..0000000000 --- a/testsuites/sptests/spfatal07/testcase.h +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Classic API Init task create failure - * - * COPYRIGHT (c) 1989-2011. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may be - * found in the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - -#define FATAL_ERROR_TEST_NAME "7" -#define FATAL_ERROR_DESCRIPTION \ - "Core Configuration Invalid ISR stack size" -#define FATAL_ERROR_EXPECTED_SOURCE INTERNAL_ERROR_CORE -#define FATAL_ERROR_EXPECTED_ERROR \ - INTERNAL_ERROR_INTERRUPT_STACK_TOO_SMALL - -#define CONFIGURE_INTERRUPT_STACK_SIZE CPU_INTERRUPT_STACK_ALIGNMENT - -void force_error() -{ - /* we will not run this far */ -} |