summaryrefslogtreecommitdiffstats
path: root/spec/build/testsuites/sptests
diff options
context:
space:
mode:
authorJoel Sherrill <joel@rtems.org>2021-10-07 17:28:26 -0500
committerJoel Sherrill <joel@rtems.org>2021-10-11 08:42:25 -0500
commit822ebb4cae2bb8bc9fe55915bd4acc4942fcd8ce (patch)
treed8b9f10c2f96ca59e190964557f8ab3b0c50af2a /spec/build/testsuites/sptests
parentscore: _Thread_queue_Surrender_priority_ceiling() (diff)
downloadrtems-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/build/testsuites/sptests')
-rw-r--r--spec/build/testsuites/sptests/grp.yml4
-rw-r--r--spec/build/testsuites/sptests/spstkalloc03.yml19
-rw-r--r--spec/build/testsuites/sptests/spstkalloc04.yml19
3 files changed, 42 insertions, 0 deletions
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: []