summaryrefslogtreecommitdiffstats
path: root/spec/acfg/if/max-processors.yml
diff options
context:
space:
mode:
Diffstat (limited to 'spec/acfg/if/max-processors.yml')
-rw-r--r--spec/acfg/if/max-processors.yml30
1 files changed, 30 insertions, 0 deletions
diff --git a/spec/acfg/if/max-processors.yml b/spec/acfg/if/max-processors.yml
new file mode 100644
index 00000000..ff4d5d41
--- /dev/null
+++ b/spec/acfg/if/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: ${/score/cpu/if/maximum-processors:/name}
+ 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