From 6942e5f99171d1cb38c2c573aba8cb9212d7efd8 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Thu, 9 Apr 2020 12:12:13 +0200 Subject: 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. --- spec/build/cpukit/librtemscpu.yml | 1 + 1 file changed, 1 insertion(+) (limited to 'spec') 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 -- cgit v1.2.3