diff options
-rw-r--r-- | cpukit/include/rtems/sysinit.h | 1 | ||||
-rw-r--r-- | cpukit/libmisc/stackchk/check.c | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/cpukit/include/rtems/sysinit.h b/cpukit/include/rtems/sysinit.h index a5aa328f10..087de59099 100644 --- a/cpukit/include/rtems/sysinit.h +++ b/cpukit/include/rtems/sysinit.h @@ -28,6 +28,7 @@ extern "C" { */ #define RTEMS_SYSINIT_RECORD 000100 #define RTEMS_SYSINIT_BSP_EARLY 000140 +#define RTEMS_SYSINIT_ISR_STACK 000200 #define RTEMS_SYSINIT_BSP_WORK_AREAS 000200 #define RTEMS_SYSINIT_BSP_START 000300 #define RTEMS_SYSINIT_CPU_COUNTER 000400 diff --git a/cpukit/libmisc/stackchk/check.c b/cpukit/libmisc/stackchk/check.c index 3b8cf69a12..eec3a911aa 100644 --- a/cpukit/libmisc/stackchk/check.c +++ b/cpukit/libmisc/stackchk/check.c @@ -513,6 +513,6 @@ static void Stack_check_Prepare_interrupt_stacks( void ) RTEMS_SYSINIT_ITEM( Stack_check_Prepare_interrupt_stacks, - RTEMS_SYSINIT_BSP_WORK_AREAS, - RTEMS_SYSINIT_ORDER_SECOND + RTEMS_SYSINIT_ISR_STACK, + RTEMS_SYSINIT_ORDER_MIDDLE ); |