[PATCH] libtests: Use CONFIGURE_INIT_TASK_TABLE_SIZE
Sebastian Huber
sebastian.huber at embedded-brains.de
Mon Jul 30 06:10:29 UTC 2018
Using CONFIGURE_MINIMUM_TASK_STACK_SIZE increases also the interrupt
stack size. This is an issue on some BSPs. Use
CONFIGURE_INIT_TASK_TABLE_SIZE instead.
Update #3433.
---
testsuites/libtests/dl01/init.c | 6 ++----
testsuites/libtests/dl02/init.c | 7 +++----
testsuites/libtests/dl03/init.c | 7 +++----
testsuites/libtests/dl04/init.c | 6 ++----
testsuites/libtests/dl05/init.c | 6 ++----
testsuites/libtests/dl06/init.c | 7 +++----
testsuites/libtests/flashdisk01/init.c | 6 ++----
7 files changed, 17 insertions(+), 28 deletions(-)
diff --git a/testsuites/libtests/dl01/init.c b/testsuites/libtests/dl01/init.c
index 14fe848e64..d073f56e9b 100644
--- a/testsuites/libtests/dl01/init.c
+++ b/testsuites/libtests/dl01/init.c
@@ -69,16 +69,14 @@ static void Init(rtems_task_argument arg)
#define CONFIGURE_MAXIMUM_TASKS 1
-#define CONFIGURE_MINIMUM_TASK_STACK_SIZE (8U * 1024U)
-
-#define CONFIGURE_EXTRA_TASK_STACKS (8 * 1024)
-
#define CONFIGURE_MAXIMUM_SEMAPHORES 1
#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+#define CONFIGURE_INIT_TASK_STACK_SIZE (8U * 1024U)
+
#define CONFIGURE_INIT_TASK_ATTRIBUTES RTEMS_FLOATING_POINT
#define CONFIGURE_INIT
diff --git a/testsuites/libtests/dl02/init.c b/testsuites/libtests/dl02/init.c
index 2c06052cb7..bb2ef105fd 100644
--- a/testsuites/libtests/dl02/init.c
+++ b/testsuites/libtests/dl02/init.c
@@ -69,15 +69,14 @@ static void Init(rtems_task_argument arg)
#define CONFIGURE_MAXIMUM_TASKS 1
-#define CONFIGURE_MINIMUM_TASK_STACK_SIZE (8U * 1024U)
-
-#define CONFIGURE_EXTRA_TASK_STACKS (8 * 1024)
-
#define CONFIGURE_MAXIMUM_SEMAPHORES 1
#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+
+#define CONFIGURE_INIT_TASK_STACK_SIZE (8U * 1024U)
+
#define CONFIGURE_INIT_TASK_ATTRIBUTES (RTEMS_DEFAULT_ATTRIBUTES | RTEMS_FLOATING_POINT)
#define CONFIGURE_INIT
diff --git a/testsuites/libtests/dl03/init.c b/testsuites/libtests/dl03/init.c
index e1d3235d7c..618f29ac2f 100644
--- a/testsuites/libtests/dl03/init.c
+++ b/testsuites/libtests/dl03/init.c
@@ -51,15 +51,14 @@ static void Init(rtems_task_argument arg)
#define CONFIGURE_MAXIMUM_TASKS 1
-#define CONFIGURE_MINIMUM_TASK_STACK_SIZE (8U * 1024U)
-
-#define CONFIGURE_EXTRA_TASK_STACKS (8 * 1024)
-
#define CONFIGURE_MAXIMUM_SEMAPHORES 1
#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+
+#define CONFIGURE_INIT_TASK_STACK_SIZE (8U * 1024U)
+
#define CONFIGURE_INIT_TASK_ATTRIBUTES (RTEMS_DEFAULT_ATTRIBUTES | RTEMS_FLOATING_POINT)
#define CONFIGURE_INIT
diff --git a/testsuites/libtests/dl04/init.c b/testsuites/libtests/dl04/init.c
index 61630ff442..a19c3b2dae 100644
--- a/testsuites/libtests/dl04/init.c
+++ b/testsuites/libtests/dl04/init.c
@@ -69,16 +69,14 @@ static void Init(rtems_task_argument arg)
#define CONFIGURE_MAXIMUM_TASKS 1
-#define CONFIGURE_MINIMUM_TASK_STACK_SIZE (8U * 1024U)
-
-#define CONFIGURE_EXTRA_TASK_STACKS (8 * 1024)
-
#define CONFIGURE_MAXIMUM_SEMAPHORES 1
#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+#define CONFIGURE_INIT_TASK_STACK_SIZE (8U * 1024U)
+
#define CONFIGURE_INIT_TASK_ATTRIBUTES RTEMS_FLOATING_POINT
#define CONFIGURE_INIT
diff --git a/testsuites/libtests/dl05/init.c b/testsuites/libtests/dl05/init.c
index 028aae6039..dd2150d2a6 100644
--- a/testsuites/libtests/dl05/init.c
+++ b/testsuites/libtests/dl05/init.c
@@ -69,10 +69,6 @@ static void Init(rtems_task_argument arg)
#define CONFIGURE_MAXIMUM_TASKS 1
-#define CONFIGURE_MINIMUM_TASK_STACK_SIZE (32U * 1024U)
-
-#define CONFIGURE_EXTRA_TASK_STACKS (64 * 1024)
-
#define CONFIGURE_MAXIMUM_POSIX_KEYS 2
#define CONFIGURE_MAXIMUM_SEMAPHORES 1
@@ -81,6 +77,8 @@ static void Init(rtems_task_argument arg)
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+#define CONFIGURE_INIT_TASK_STACK_SIZE (32U * 1024U)
+
#define CONFIGURE_INIT_TASK_ATTRIBUTES RTEMS_FLOATING_POINT
#define CONFIGURE_INIT
diff --git a/testsuites/libtests/dl06/init.c b/testsuites/libtests/dl06/init.c
index 4c28c6a06a..6f03d01843 100644
--- a/testsuites/libtests/dl06/init.c
+++ b/testsuites/libtests/dl06/init.c
@@ -73,15 +73,14 @@ static void Init(rtems_task_argument arg)
#define CONFIGURE_MAXIMUM_TASKS 1
-#define CONFIGURE_MINIMUM_TASK_STACK_SIZE (8U * 1024U)
-
-#define CONFIGURE_EXTRA_TASK_STACKS (8 * 1024)
-
#define CONFIGURE_MAXIMUM_SEMAPHORES 1
#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+
+#define CONFIGURE_INIT_TASK_STACK_SIZE (8U * 1024U)
+
#define CONFIGURE_INIT_TASK_ATTRIBUTES (RTEMS_DEFAULT_ATTRIBUTES | RTEMS_FLOATING_POINT)
#define CONFIGURE_INIT
diff --git a/testsuites/libtests/flashdisk01/init.c b/testsuites/libtests/flashdisk01/init.c
index 8aac454a52..d31b4741bb 100644
--- a/testsuites/libtests/flashdisk01/init.c
+++ b/testsuites/libtests/flashdisk01/init.c
@@ -346,14 +346,12 @@ uint32_t rtems_flashdisk_configuration_size = FLASHDISK_CONFIG_COUNT;
#define CONFIGURE_MAXIMUM_TASKS 2
#define CONFIGURE_MAXIMUM_SEMAPHORES 1
-#define CONFIGURE_MINIMUM_TASK_STACK_SIZE (32U * 1024U)
-
-#define CONFIGURE_EXTRA_TASK_STACKS (8 * 1024)
-
#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+#define CONFIGURE_INIT_TASK_STACK_SIZE (32U * 1024U)
+
#define CONFIGURE_INIT_TASK_ATTRIBUTES RTEMS_FLOATING_POINT
#define CONFIGURE_INIT
--
2.13.7
More information about the devel
mailing list