[PATCH v2 0/4] Add CONFIGURE_INIT_TASK_STORAGE_SIZE

Sebastian Huber sebastian.huber at embedded-brains.de
Tue Nov 24 07:33:54 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_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_INIT_TASK_STACK_SIZE.

Sebastian Huber (4):
  Avoid INTERNAL_ERROR_RTEMS_INIT_TASK_ENTRY_IS_NULL
  config: Add CONFIGURE_INIT_TASK_STORAGE_SIZE
  config: Check CONFIGURE_INIT_TASK_STACK_SIZE
  validation: Use CONFIGURE_INIT_TASK_STORAGE_SIZE

 cpukit/Makefile.am                            |   1 +
 cpukit/doxygen/appl-config.h                  |  56 +++++++++
 cpukit/include/rtems/confdefs/inittask.h      |  73 ++++++++++--
 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 +++++++-----------
 21 files changed, 351 insertions(+), 157 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