summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2021-11-25 16:51:04 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2021-12-08 17:25:15 +0100
commit57bfb320b814455fc28fd3c2884da61ece2dae03 (patch)
tree338803299efe9a385371c031c94226e7050a7dc7
parentc5c9bcacd16f087b3e595ec2ecab59790d5923f7 (diff)
tx-support
-rw-r--r--testsuites/validation/ts-config.h3
-rw-r--r--testsuites/validation/ts-default.h2
2 files changed, 4 insertions, 1 deletions
diff --git a/testsuites/validation/ts-config.h b/testsuites/validation/ts-config.h
index f7f04bb72a..ecdd3b8f8d 100644
--- a/testsuites/validation/ts-config.h
+++ b/testsuites/validation/ts-config.h
@@ -71,6 +71,9 @@ extern "C" {
#define TEST_BASE_STACK_SIZE ( 4 * RTEMS_MINIMUM_STACK_SIZE )
#endif
+#define TEST_MAXIMUM_TLS_SIZE \
+ RTEMS_ALIGN_UP( 64, RTEMS_TASK_STORAGE_ALIGNMENT )
+
#define TEST_MINIMUM_STACK_SIZE \
( TEST_BASE_STACK_SIZE + CPU_STACK_ALIGNMENT )
diff --git a/testsuites/validation/ts-default.h b/testsuites/validation/ts-default.h
index cad1b8c277..9f317abf80 100644
--- a/testsuites/validation/ts-default.h
+++ b/testsuites/validation/ts-default.h
@@ -45,7 +45,7 @@
#include "tx-support.h"
#if !defined( MAX_TLS_SIZE )
-#define MAX_TLS_SIZE RTEMS_ALIGN_UP( 64, RTEMS_TASK_STORAGE_ALIGNMENT )
+#define MAX_TLS_SIZE TEST_MAXIMUM_TLS_SIZE
#endif
#define MAX_TASKS ( TEST_MAXIMUM_TASKS - 1 )