summaryrefslogtreecommitdiff
path: root/spec/if/acfg
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2020-09-10 15:21:24 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2020-09-11 17:25:23 +0200
commit51f9a65fce42a4d1cbed71738840d29f3a1257f6 (patch)
treeef67579c35733faea0207104b5134a0d0540202d /spec/if/acfg
parentfc32261c208546ed7af52aaba04354553080cccb (diff)
spec: Specify rtems_task_create_from_config()
Diffstat (limited to 'spec/if/acfg')
-rw-r--r--spec/if/acfg/max-thread-local-storage-size.yml30
-rw-r--r--spec/if/acfg/tasks-created-from-config.yml27
2 files changed, 57 insertions, 0 deletions
diff --git a/spec/if/acfg/max-thread-local-storage-size.yml b/spec/if/acfg/max-thread-local-storage-size.yml
new file mode 100644
index 00000000..1479bddc
--- /dev/null
+++ b/spec/if/acfg/max-thread-local-storage-size.yml
@@ -0,0 +1,30 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+appl-config-option-type: integer
+constraints:
+ max: ${../c/size_max:/name}
+ min: 0
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default-value: 0
+description: |
+ If the value of this configuration option is greater than zero, then it
+ defines the maximum thread-local storage size, otherwise the thread-local
+ storage size is defined by the linker depending on the thread-local storage
+ objects used by the application in the statically-linked executable.
+enabled-by: true
+index-entries: []
+interface-type: appl-config-option
+links:
+- role: appl-config-group-member
+ uid: group-classic
+name: CONFIGURE_MAXIMUM_THREAD_LOCAL_STORAGE_SIZE
+notes: |
+ This configuration option can be used to reserve space for the dynamic linking
+ of modules with thread-local storage objects.
+
+ If the thread-local storage size defined by the thread-local storage
+ objects used by the application in the statically-linked executable is greater
+ than a non-zero value of this configuration option, then a fatal error will
+ occur during system initialization.
+text: ''
+type: interface
diff --git a/spec/if/acfg/tasks-created-from-config.yml b/spec/if/acfg/tasks-created-from-config.yml
new file mode 100644
index 00000000..e8863ac8
--- /dev/null
+++ b/spec/if/acfg/tasks-created-from-config.yml
@@ -0,0 +1,27 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+appl-config-option-type: integer
+constraints:
+ max: ${max-tasks:/name}
+ min: 0
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default-value: 0
+description: |
+ The value of this configuration option defines the count of Classic API Tasks
+ which are created by ${../rtems/tasks/create-from-config:/name}.
+enabled-by: true
+index-entries: []
+interface-type: appl-config-option
+links:
+- role: appl-config-group-member
+ uid: group-classic
+name: CONFIGURE_TASKS_CREATED_FROM_CONFIG
+notes: |
+ By default, the calculation for the required memory in the RTEMS Workspace for
+ tasks assumes that all Classic API Tasks are created by
+ ${../rtems/tasks/create:/name}. This configuration option can be used to
+ reduce the required memory for the system-provided task storage
+ areas since tasks created by ${../rtems/tasks/create-from-config:/name} use a
+ user-provided task storage area.
+text: ''
+type: interface