summaryrefslogtreecommitdiff
path: root/spec/if/acfg/max-processors.yml
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2020-07-06 09:23:27 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2020-07-07 12:58:52 +0200
commit518d8c3763f4ab0e3cac33d643b968f5e868e9c4 (patch)
tree63b8ca1334ab7c71956214ab17a81d5bef04aaac /spec/if/acfg/max-processors.yml
parent813f520674faf874a74fe8cf28423da9a564feb7 (diff)
spec: Move application configuration items
Diffstat (limited to 'spec/if/acfg/max-processors.yml')
-rw-r--r--spec/if/acfg/max-processors.yml30
1 files changed, 30 insertions, 0 deletions
diff --git a/spec/if/acfg/max-processors.yml b/spec/if/acfg/max-processors.yml
new file mode 100644
index 00000000..9341c97c
--- /dev/null
+++ b/spec/if/acfg/max-processors.yml
@@ -0,0 +1,30 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+appl-config-option-type: integer
+constraints:
+ max: '``CPU_MAXIMUM_PROCESSORS``'
+ min: 1
+copyrights:
+- Copyright (C) 1988, 2008 On-Line Applications Research Corporation (OAR)
+default-value: 1
+description: |
+ The value of this configuration option defines the maximum number of
+ processors an application intends to use. The number of actually available
+ processors depends on the hardware and may be less. It is recommended to use
+ the smallest value suitable for the application in order to save memory.
+ Each processor needs an IDLE task stack and interrupt stack for example.
+enabled-by: true
+index-entries: []
+interface-type: appl-config-option
+links:
+- role: appl-config-group-member
+ uid: group-general
+name: CONFIGURE_MAXIMUM_PROCESSORS
+notes: |
+ If there are more processors available than configured, the rest will be
+ ignored.
+
+ This configuration option is only evaluated in SMP configurations (e.g. RTEMS
+ was built with the ``--enable-smp`` build configuration option). In all
+ other configurations it has no effect.
+text: ''
+type: interface