mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-25 19:47:29 +08:00
smp: Add fatal error
Add SMP-specifc SMP_FATAL_MULTITASKING_START_ON_NOT_ONLINE_PROCESSOR fatal error. This fatal error helps to diagnose a broken SMP startup sequence. Without this error a context switch using the NULL pointer for the thread control block happens which may be difficult to debug.
This commit is contained in:
@@ -92,7 +92,8 @@ typedef enum {
|
||||
SMP_FATAL_START_OF_MANDATORY_PROCESSOR_FAILED,
|
||||
SMP_FATAL_SCHEDULER_PIN_OR_UNPIN_NOT_SUPPORTED,
|
||||
SMP_FATAL_WRONG_CPU_STATE_TO_PERFORM_JOBS,
|
||||
SMP_FATAL_SCHEDULER_REQUIRES_EXACTLY_ONE_PROCESSOR
|
||||
SMP_FATAL_SCHEDULER_REQUIRES_EXACTLY_ONE_PROCESSOR,
|
||||
SMP_FATAL_MULTITASKING_START_ON_NOT_ONLINE_PROCESSOR
|
||||
} SMP_Fatal_code;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user