summaryrefslogtreecommitdiffstats
path: root/testsuites
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2007-05-23 21:57:40 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2007-05-23 21:57:40 +0000
commit2ff6ada3e7edba02b2da860be69593ed55f1e57e (patch)
treef89ff353a22e69a233002b4225c70ff8b715f28f /testsuites
parent2007-05-23 Joel Sherrill <joel.sherrill@OARcorp.com> (diff)
downloadrtems-2ff6ada3e7edba02b2da860be69593ed55f1e57e.tar.bz2
2007-05-23 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp13/system.h, sp34/changepri.c, sp35/priinv.c: Avoid using CONFIGURE_MEMORY_OVERHEAD and try to really account for the memory properly.
Diffstat (limited to 'testsuites')
-rw-r--r--testsuites/sptests/ChangeLog6
-rw-r--r--testsuites/sptests/sp13/system.h2
-rw-r--r--testsuites/sptests/sp34/changepri.c3
-rw-r--r--testsuites/sptests/sp35/priinv.c2
4 files changed, 10 insertions, 3 deletions
diff --git a/testsuites/sptests/ChangeLog b/testsuites/sptests/ChangeLog
index e81d7ff2ae..c2c3f9d620 100644
--- a/testsuites/sptests/ChangeLog
+++ b/testsuites/sptests/ChangeLog
@@ -1,3 +1,9 @@
+2007-05-23 Joel Sherrill <joel.sherrill@OARcorp.com>
+
+ * sp13/system.h, sp34/changepri.c, sp35/priinv.c: Avoid using
+ CONFIGURE_MEMORY_OVERHEAD and try to really account for the memory
+ properly.
+
2007-05-21 Joel Sherrill <joel.sherrill@oarcorp.com>
* spsize/size.c: Eliminated the variables
diff --git a/testsuites/sptests/sp13/system.h b/testsuites/sptests/sp13/system.h
index a5bc11c5f1..88483f3769 100644
--- a/testsuites/sptests/sp13/system.h
+++ b/testsuites/sptests/sp13/system.h
@@ -53,7 +53,7 @@ rtems_task Task_3(
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
-#define CONFIGURE_MEMORY_OVERHEAD 32
+#define CONFIGURE_MESSAGE_BUFFER_MEMORY 32
#define CONFIGURE_EXTRA_TASK_STACKS (3 * RTEMS_MINIMUM_STACK_SIZE)
#include <rtems/confdefs.h>
diff --git a/testsuites/sptests/sp34/changepri.c b/testsuites/sptests/sp34/changepri.c
index 2aee0d6d7c..400dec5aae 100644
--- a/testsuites/sptests/sp34/changepri.c
+++ b/testsuites/sptests/sp34/changepri.c
@@ -153,7 +153,8 @@ rtems_task Init(rtems_task_argument ignored)
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
-#define CONFIGURE_MEMORY_OVERHEAD 64
+#define CONFIGURE_EXTRA_TASK_STACKS \
+ (RTEMS_MINIMUM_STACK_SIZE * NUMBER_OF_BLOCKING_TASKS)
#define CONFIGURE_MAXIMUM_TASKS 6
#define CONFIGURE_MAXIMUM_SEMAPHORES 1
diff --git a/testsuites/sptests/sp35/priinv.c b/testsuites/sptests/sp35/priinv.c
index 4f856c4210..550cde2852 100644
--- a/testsuites/sptests/sp35/priinv.c
+++ b/testsuites/sptests/sp35/priinv.c
@@ -476,7 +476,7 @@ rtems_task Init(rtems_task_argument ignored)
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
-#define CONFIGURE_MEMORY_OVERHEAD 64
+#define CONFIGURE_EXTRA_TASK_STACKS (RTEMS_MINIMUM_STACK_SIZE * 3)
#define CONFIGURE_MAXIMUM_TASKS 10
#define CONFIGURE_MAXIMUM_SEMAPHORES 10