[PATCH 0/3] Add CONFIGURE_INIT_TASK_STORAGE_SIZE

Sebastian Huber sebastian.huber at embedded-brains.de
Fri Nov 20 08:31:25 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().

Sebastian Huber (3):
  Avoid INTERNAL_ERROR_RTEMS_INIT_TASK_ENTRY_IS_NULL
  score: Add CONFIGURE_INIT_TASK_STORAGE_SIZE
  validation: Use CONFIGURE_INIT_TASK_STORAGE_SIZE

 cpukit/Makefile.am                            |   1 +
 cpukit/doxygen/appl-config.h                  |  48 ++++++++
 cpukit/include/rtems/confdefs/inittask.h      |  66 +++++++++--
 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           |  50 ++++++++
 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, 334 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