From 3291b2a7d558d2b4095cdb8abba84ff3ed0dc59b Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Fri, 17 Sep 2021 08:49:56 +0200 Subject: score: Ensure only one CPU if required Issue the new fatal SMP error SMP_FATAL_SCHEDULER_REQUIRES_EXACTLY_ONE_PROCESSOR if the system starts with not exactly one processor and an uniprocessor scheduler is configured. --- cpukit/include/rtems/score/smpimpl.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'cpukit/include/rtems/score/smpimpl.h') diff --git a/cpukit/include/rtems/score/smpimpl.h b/cpukit/include/rtems/score/smpimpl.h index 7c3e777299..e259105084 100644 --- a/cpukit/include/rtems/score/smpimpl.h +++ b/cpukit/include/rtems/score/smpimpl.h @@ -72,7 +72,8 @@ typedef enum { SMP_FATAL_SHUTDOWN_RESPONSE, 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_WRONG_CPU_STATE_TO_PERFORM_JOBS, + SMP_FATAL_SCHEDULER_REQUIRES_EXACTLY_ONE_PROCESSOR } SMP_Fatal_code; /** -- cgit v1.2.3