stackchk: Add RTEMS_SYSINIT_ISR_STACK

Use a dedicated system initialization step for the stack checker
interrupt stack support.

Update #3838.
This commit is contained in:
Sebastian Huber
2019-12-14 14:39:29 +01:00
parent 34a7a12f48
commit c184b0cf31
2 changed files with 3 additions and 2 deletions

View File

@@ -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

View File

@@ -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
);