[rtems commit] libtests: Use CONFIGURE_INIT_TASK_TABLE_SIZE
Sebastian Huber
sebh at rtems.org
Tue Jul 31 05:14:08 UTC 2018
Module: rtems
Branch: master
Commit: d906ce30c6a6b2e266b2d9c424f6b3a081b763d7
Changeset: http://git.rtems.org/rtems/commit/?id=d906ce30c6a6b2e266b2d9c424f6b3a081b763d7
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Mon Jul 30 07:51:39 2018 +0200
libtests: Use CONFIGURE_INIT_TASK_TABLE_SIZE
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 14fe848..d073f56 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 2c06052..bb2ef10 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 e1d3235..618f29a 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 61630ff..a19c3b2 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 028aae6..dd2150d 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 4c28c6a..6f03d01 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 8aac454..d31b474 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
More information about the vc
mailing list