Changeset 56e61e24 in rtems


Ignore:
Timestamp:
Sep 20, 2018, 5:57:08 AM (15 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
a75a7d3
Parents:
5cbc9c5
git-author:
Sebastian Huber <sebastian.huber@…> (09/20/18 05:57:08)
git-committer:
Sebastian Huber <sebastian.huber@…> (09/21/18 05:19:29)
Message:

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.

Files:
3 deleted
4 edited

Legend:

Unmodified
Added
Removed
  • cpukit/include/rtems/score/interr.h

    r5cbc9c5 r56e61e24  
    159159  INTERNAL_ERROR_TOO_LITTLE_WORKSPACE = 2,
    160160  INTERNAL_ERROR_WORKSPACE_ALLOCATION = 3,
    161   INTERNAL_ERROR_INTERRUPT_STACK_TOO_SMALL = 4,
     161  /* INTERNAL_ERROR_INTERRUPT_STACK_TOO_SMALL = 4, */
    162162  INTERNAL_ERROR_THREAD_EXITTED = 5,
    163163  INTERNAL_ERROR_INCONSISTENT_MP_INFORMATION = 6,
  • cpukit/score/src/isr.c

    r5cbc9c5 r56e61e24  
    4848
    4949  stack_size = rtems_configuration_get_interrupt_stack_size();
    50 
    51   if ( !_Stack_Is_enough( stack_size ) )
    52     _Internal_error( INTERNAL_ERROR_INTERRUPT_STACK_TOO_SMALL );
    53 
    5450  cpu_max = rtems_configuration_get_maximum_processors();
    5551  stack_low = _Configuration_Interrupt_stack_area_begin;
  • testsuites/sptests/Makefile.am

    r5cbc9c5 r56e61e24  
    925925spfatal06_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spfatal06) \
    926926        $(support_includes) -I$(top_srcdir)/spfatal06
    927 endif
    928 
    929 if TEST_spfatal07
    930 sp_tests += spfatal07
    931 sp_screens += spfatal07/spfatal07.scn
    932 sp_docs += spfatal07/spfatal07.doc
    933 spfatal07_SOURCES = spfatal_support/init.c spfatal_support/system.h \
    934         spfatal07/testcase.h
    935 spfatal07_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spfatal07) \
    936         $(support_includes) -I$(top_srcdir)/spfatal07
    937927endif
    938928
  • testsuites/sptests/configure.ac

    r5cbc9c5 r56e61e24  
    141141RTEMS_TEST_CHECK([spfatal05])
    142142RTEMS_TEST_CHECK([spfatal06])
    143 RTEMS_TEST_CHECK([spfatal07])
    144143RTEMS_TEST_CHECK([spfatal08])
    145144RTEMS_TEST_CHECK([spfatal09])
Note: See TracChangeset for help on using the changeset viewer.