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:
Sebastian Huber
2022-03-24 11:10:49 +01:00
parent 14de245d05
commit 36615183d6
7 changed files with 363 additions and 1 deletions
+2 -1
View File
@@ -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;
/**