summaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2020-04-09 12:12:13 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2020-09-17 17:42:25 +0200
commit6942e5f99171d1cb38c2c573aba8cb9212d7efd8 (patch)
treef49a2afc076013602f4d437784391415cb6ed6a6 /spec
parentCONFIGURE_MAXIMUM_THREAD_LOCAL_STORAGE_SIZE (diff)
downloadrtems-6942e5f99171d1cb38c2c573aba8cb9212d7efd8.tar.bz2
rtems: Add rtems_task_construct()
In contrast to rtems_task_create() this function constructs a task with a user-provided task storage area. The new directive uses a configuration structure instead of individual parameters. Add RTEMS_TASK_STORAGE_SIZE() to calculate the recommended size of a task storage area based on the task attributes and the size dedicated to the task stack and thread-local storage. This macro may allow future extensions without breaking the API. Add application configuration option CONFIGURE_MINIMUM_TASKS_WITH_USER_PROVIDED_STORAGE to adjust RTEMS Workspace size estimate. Update #3959.
Diffstat (limited to 'spec')
-rw-r--r--spec/build/cpukit/librtemscpu.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/build/cpukit/librtemscpu.yml b/spec/build/cpukit/librtemscpu.yml
index fa456b1db6..95322e027a 100644
--- a/spec/build/cpukit/librtemscpu.yml
+++ b/spec/build/cpukit/librtemscpu.yml
@@ -1276,6 +1276,7 @@ source:
- cpukit/rtems/src/statustoerrno.c
- cpukit/rtems/src/systemeventreceive.c
- cpukit/rtems/src/systemeventsend.c
+- cpukit/rtems/src/taskconstruct.c
- cpukit/rtems/src/taskcreate.c
- cpukit/rtems/src/taskdelete.c
- cpukit/rtems/src/taskexit.c