summaryrefslogtreecommitdiffstats
path: root/cpukit/include/rtems/sysinit.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2021-09-17 08:49:56 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2021-09-21 07:39:09 +0200
commit3291b2a7d558d2b4095cdb8abba84ff3ed0dc59b (patch)
tree0e59b5c5dc01cb1295fda33d1afdccf92f8b6533 /cpukit/include/rtems/sysinit.h
parentscore: Provide two thread pin/unpin defaults (diff)
downloadrtems-3291b2a7d558d2b4095cdb8abba84ff3ed0dc59b.tar.bz2
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.
Diffstat (limited to 'cpukit/include/rtems/sysinit.h')
-rw-r--r--cpukit/include/rtems/sysinit.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpukit/include/rtems/sysinit.h b/cpukit/include/rtems/sysinit.h
index 3e85aa9a2b..e3d70230c7 100644
--- a/cpukit/include/rtems/sysinit.h
+++ b/cpukit/include/rtems/sysinit.h
@@ -43,6 +43,7 @@ extern "C" {
#define RTEMS_SYSINIT_INITIAL_EXTENSIONS 000500
#define RTEMS_SYSINIT_MP_EARLY 000600
#define RTEMS_SYSINIT_DATA_STRUCTURES 000700
+#define RTEMS_SYSINIT_SCHEDULER 000780
#define RTEMS_SYSINIT_MP 000800
#define RTEMS_SYSINIT_USER_EXTENSIONS 000900
#define RTEMS_SYSINIT_CLASSIC_TASKS 000a00