summaryrefslogtreecommitdiffstats
path: root/testsuites/libtests
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1998-04-27 13:51:23 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1998-04-27 13:51:23 +0000
commit9a993ed573727fc322868d279c22e4cc9545769c (patch)
tree4da591add81a857d3b6978bd9efa02011ce889ed /testsuites/libtests
parentFixed screen to match actual output. (diff)
downloadrtems-9a993ed573727fc322868d279c22e4cc9545769c.tar.bz2
Added CONFIGURE_EXTRA_TASK_STACKS definition to make memory requirements
more accurate.
Diffstat (limited to 'testsuites/libtests')
-rw-r--r--testsuites/libtests/cpuuse/system.h2
-rw-r--r--testsuites/libtests/malloctest/system.h6
-rw-r--r--testsuites/libtests/monitor/system.h1
-rw-r--r--testsuites/libtests/rtems++/System.h4
-rw-r--r--testsuites/libtests/rtmonuse/system.h1
5 files changed, 11 insertions, 3 deletions
diff --git a/testsuites/libtests/cpuuse/system.h b/testsuites/libtests/cpuuse/system.h
index 479caf27fa..055d93a098 100644
--- a/testsuites/libtests/cpuuse/system.h
+++ b/testsuites/libtests/cpuuse/system.h
@@ -51,6 +51,8 @@ void Task_switch(
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+#define CONFIGURE_EXTRA_TASK_STACKS (6 * RTEMS_MINIMUM_STACK_SIZE)
+
#include <confdefs.h>
/* global variables */
diff --git a/testsuites/libtests/malloctest/system.h b/testsuites/libtests/malloctest/system.h
index e165893d5b..7c95130900 100644
--- a/testsuites/libtests/malloctest/system.h
+++ b/testsuites/libtests/malloctest/system.h
@@ -18,8 +18,6 @@
/* macros */
-#define TASK_STACK_SIZE (RTEMS_MINIMUM_STACK_SIZE*3)
-
/* functions */
rtems_task Init(
@@ -39,6 +37,10 @@ void blow_stack( void );
#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
+#define TASK_STACK_SIZE (RTEMS_MINIMUM_STACK_SIZE*3)
+
+#define CONFIGURE_EXTRA_TASK_STACKS (10 * RTEMS_MINIMUM_STACK_SIZE)
+
#include <confdefs.h>
/* global variables */
diff --git a/testsuites/libtests/monitor/system.h b/testsuites/libtests/monitor/system.h
index 381f928805..75f5771161 100644
--- a/testsuites/libtests/monitor/system.h
+++ b/testsuites/libtests/monitor/system.h
@@ -46,6 +46,7 @@ void Get_all_counters( void );
#define CONFIGURE_MAXIMUM_PERIODS 10
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+#define CONFIGURE_EXTRA_TASK_STACKS (3 * RTEMS_MINIMUM_STACK_SIZE)
#include <confdefs.h>
diff --git a/testsuites/libtests/rtems++/System.h b/testsuites/libtests/rtems++/System.h
index 9dc16821ca..18668d3b9a 100644
--- a/testsuites/libtests/rtems++/System.h
+++ b/testsuites/libtests/rtems++/System.h
@@ -128,7 +128,9 @@ class Io_during_interrupt
#define CONFIGURE_TICKS_PER_TIMESLICE 100
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
-#define CONFIGURE_INIT_TASK_STACK_SIZE 0x2000
+#define CONFIGURE_INIT_TASK_STACK_SIZE (4 * RTEMS_MINIMUM_STACK_SIZE)
+
+#define CONFIGURE_EXTRA_TASK_STACKS (3 * RTEMS_MINIMUM_STACK_SIZE)
#include <confdefs.h>
diff --git a/testsuites/libtests/rtmonuse/system.h b/testsuites/libtests/rtmonuse/system.h
index 80924212d1..b10fb1193b 100644
--- a/testsuites/libtests/rtmonuse/system.h
+++ b/testsuites/libtests/rtmonuse/system.h
@@ -47,6 +47,7 @@ void Get_all_counters( void );
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+#define CONFIGURE_EXTRA_TASK_STACKS (15 * RTEMS_MINIMUM_STACK_SIZE)
#include <confdefs.h>
/* global variables */