diff options
author | Joel Sherrill <joel@rtems.org> | 2021-10-07 17:28:26 -0500 |
---|---|---|
committer | Joel Sherrill <joel@rtems.org> | 2021-10-11 08:42:25 -0500 |
commit | 822ebb4cae2bb8bc9fe55915bd4acc4942fcd8ce (patch) | |
tree | d8b9f10c2f96ca59e190964557f8ab3b0c50af2a /spec | |
parent | score: _Thread_queue_Surrender_priority_ceiling() (diff) | |
download | rtems-822ebb4cae2bb8bc9fe55915bd4acc4942fcd8ce.tar.bz2 |
Add support for IDLE Thread stack allocator
Add a stack allocator hook specifically for allocation of IDLE thread stacks.
This allows the user to decide if IDLE thread stacks are statically allocated
or handled by the same custom allocator mechanism as other thread stacks.
Closes #4524.
Diffstat (limited to 'spec')
-rw-r--r-- | spec/build/cpukit/librtemscpu.yml | 1 | ||||
-rw-r--r-- | spec/build/testsuites/sptests/grp.yml | 4 | ||||
-rw-r--r-- | spec/build/testsuites/sptests/spstkalloc03.yml | 19 | ||||
-rw-r--r-- | spec/build/testsuites/sptests/spstkalloc04.yml | 19 |
4 files changed, 43 insertions, 0 deletions
diff --git a/spec/build/cpukit/librtemscpu.yml b/spec/build/cpukit/librtemscpu.yml index c0f8f6d670..68f3d448cc 100644 --- a/spec/build/cpukit/librtemscpu.yml +++ b/spec/build/cpukit/librtemscpu.yml @@ -1527,6 +1527,7 @@ source: - cpukit/score/src/semaphore.c - cpukit/score/src/smpbarrierwait.c - cpukit/score/src/stackallocator.c +- cpukit/score/src/stackallocatorforidle.c - cpukit/score/src/stackallocatorfree.c - cpukit/score/src/stackallocatorinit.c - cpukit/score/src/thread.c diff --git a/spec/build/testsuites/sptests/grp.yml b/spec/build/testsuites/sptests/grp.yml index d3cd53fb4a..6b16c115ba 100644 --- a/spec/build/testsuites/sptests/grp.yml +++ b/spec/build/testsuites/sptests/grp.yml @@ -396,6 +396,10 @@ links: - role: build-dependency uid: spstkalloc02 - role: build-dependency + uid: spstkalloc03 +- role: build-dependency + uid: spstkalloc04 +- role: build-dependency uid: spsysinit01 - role: build-dependency uid: spsyslock01 diff --git a/spec/build/testsuites/sptests/spstkalloc03.yml b/spec/build/testsuites/sptests/spstkalloc03.yml new file mode 100644 index 0000000000..fbdb91bd6f --- /dev/null +++ b/spec/build/testsuites/sptests/spstkalloc03.yml @@ -0,0 +1,19 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +build-type: test-program +cflags: [] +copyrights: +- Copyright (C) 2030 embedded brains GmbH (http://www.embedded-brains.de) +cppflags: [] +cxxflags: [] +enabled-by: true +features: c cprogram +includes: [] +ldflags: [] +links: [] +source: +- testsuites/sptests/spstkalloc03/init.c +stlib: [] +target: testsuites/sptests/spstkalloc03.exe +type: build +use-after: [] +use-before: [] diff --git a/spec/build/testsuites/sptests/spstkalloc04.yml b/spec/build/testsuites/sptests/spstkalloc04.yml new file mode 100644 index 0000000000..64340ed8f7 --- /dev/null +++ b/spec/build/testsuites/sptests/spstkalloc04.yml @@ -0,0 +1,19 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +build-type: test-program +cflags: [] +copyrights: +- Copyright (C) 2040 embedded brains GmbH (http://www.embedded-brains.de) +cppflags: [] +cxxflags: [] +enabled-by: true +features: c cprogram +includes: [] +ldflags: [] +links: [] +source: +- testsuites/sptests/spstkalloc04/init.c +stlib: [] +target: testsuites/sptests/spstkalloc04.exe +type: build +use-after: [] +use-before: [] |