summaryrefslogtreecommitdiffstats
path: root/c/src/tests/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 /c/src/tests/libtests
parent6ce14e72fba9bb17d4db5071ad50eb5e5592261b (diff)
downloadrtems-9a993ed573727fc322868d279c22e4cc9545769c.tar.bz2
Added CONFIGURE_EXTRA_TASK_STACKS definition to make memory requirements
more accurate.
Diffstat (limited to 'c/src/tests/libtests')
-rw-r--r--c/src/tests/libtests/cpuuse/system.h2
-rw-r--r--c/src/tests/libtests/malloctest/system.h6
-rw-r--r--c/src/tests/libtests/monitor/system.h1
-rw-r--r--c/src/tests/libtests/rtems++/System.h4
-rw-r--r--c/src/tests/libtests/rtmonuse/system.h1
5 files changed, 11 insertions, 3 deletions
diff --git a/c/src/tests/libtests/cpuuse/system.h b/c/src/tests/libtests/cpuuse/system.h
index 479caf27fa..055d93a098 100644
--- a/c/src/tests/libtests/cpuuse/system.h
+++ b/c/src/tests/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/c/src/tests/libtests/malloctest/system.h b/c/src/tests/libtests/malloctest/system.h
index e165893d5b..7c95130900 100644
--- a/c/src/tests/libtests/malloctest/system.h
+++ b/c/src/tests/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/c/src/tests/libtests/monitor/system.h b/c/src/tests/libtests/monitor/system.h
index 381f928805..75f5771161 100644
--- a/c/src/tests/libtests/monitor/system.h
+++ b/c/src/tests/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/c/src/tests/libtests/rtems++/System.h b/c/src/tests/libtests/rtems++/System.h
index 9dc16821ca..18668d3b9a 100644
--- a/c/src/tests/libtests/rtems++/System.h
+++ b/c/src/tests/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/c/src/tests/libtests/rtmonuse/system.h b/c/src/tests/libtests/rtmonuse/system.h
index 80924212d1..b10fb1193b 100644
--- a/c/src/tests/libtests/rtmonuse/system.h
+++ b/c/src/tests/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 */