[PATCH v3 0/5] Add CONFIGURE_INIT_TASK_CONSTRUCT_STORAGE_SIZE
Sebastian Huber
sebastian.huber at embedded-brains.de
Wed Nov 25 07:12:18 UTC 2020
Currently, the Classic API initialization task is created with
rtems_task_create(). In order to better support applications which use
the new rtems_task_construct() directive add the
CONFIGURE_INIT_TASK_CONSTRUCT_STORAGE_SIZE configuration option which constructs
the Classic API initialization task with rtems_task_construct().
v2:
* Do not mention rtems_task_construct() in the
CONFIGURE_INIT_TASK_STORAGE_SIZE documentation.
* Ensure that CONFIGURE_INIT_TASK_STACK_SIZE is greater than or equal to
CONFIGURE_MINIMUM_TASK_STACK_SIZE.
v3:
* Clarify use of pragmas.
* Rename CONFIGURE_INIT_TASK_STORAGE_SIZE in
CONFIGURE_INIT_TASK_CONSTRUCT_STORAGE_SIZE.
Sebastian Huber (5):
config: Clarify the use of pragmas
Avoid INTERNAL_ERROR_RTEMS_INIT_TASK_ENTRY_IS_NULL
config: CONFIGURE_INIT_TASK_CONSTRUCT_STORAGE_SIZE
config: Check CONFIGURE_INIT_TASK_STACK_SIZE
Use CONFIGURE_INIT_TASK_CONSTRUCT_STORAGE_SIZE
cpukit/Makefile.am | 1 +
cpukit/doxygen/appl-config.h | 63 ++++++++++
cpukit/include/rtems/confdefs/inittask.h | 81 +++++++++++--
cpukit/include/rtems/confdefs/wkspace.h | 10 +-
cpukit/include/rtems/rtems/tasksdata.h | 45 +++++++-
cpukit/include/rtems/score/interr.h | 5 +-
cpukit/rtems/src/taskconstructuser.c | 65 +++++++++++
cpukit/rtems/src/taskinitusers.c | 8 +-
cpukit/sapi/src/interrtext.c | 3 +-
spec/build/cpukit/librtemscpu.yml | 1 +
spec/build/testsuites/sptests/grp.yml | 4 +-
.../sptests/{spfatal02.yml => spfatal34.yml} | 4 +-
testsuites/sptests/Makefile.am | 9 --
testsuites/sptests/configure.ac | 1 -
testsuites/sptests/spfatal02/init.c | 28 -----
testsuites/sptests/spfatal02/spfatal02.doc | 20 ----
testsuites/sptests/spfatal02/spfatal02.scn | 3 -
testsuites/sptests/spfatal34/init.c | 52 +++++++++
testsuites/sptests/spfatal34/spfatal34.doc | 11 ++
testsuites/sptests/spfatal34/spfatal34.scn | 8 ++
testsuites/sptests/spinternalerror02/init.c | 2 +-
testsuites/validation/ts-default.h | 109 +++++++-----------
22 files changed, 375 insertions(+), 158 deletions(-)
create mode 100644 cpukit/rtems/src/taskconstructuser.c
rename spec/build/testsuites/sptests/{spfatal02.yml => spfatal34.yml} (80%)
delete mode 100644 testsuites/sptests/spfatal02/init.c
delete mode 100644 testsuites/sptests/spfatal02/spfatal02.doc
delete mode 100644 testsuites/sptests/spfatal02/spfatal02.scn
create mode 100644 testsuites/sptests/spfatal34/init.c
create mode 100644 testsuites/sptests/spfatal34/spfatal34.doc
create mode 100644 testsuites/sptests/spfatal34/spfatal34.scn
--
2.26.2
More information about the devel
mailing list