summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2011-02-02 19:02:17 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2011-02-02 19:02:17 +0000
commitea445300989a8ed801b1af56902c3d21885f83a9 (patch)
tree08ac61b951236090eb161d06b62506680b7d6b45
parentd71a5bb638c155912a71a2ae98b340f8736ae5ea (diff)
2011-02-02 Joel Sherrill <joel.sherrilL@OARcorp.com>
* sp04/tswitch.c: Shrink memory requirements.
-rw-r--r--testsuites/sptests/ChangeLog4
-rw-r--r--testsuites/sptests/sp04/tswitch.c11
2 files changed, 9 insertions, 6 deletions
diff --git a/testsuites/sptests/ChangeLog b/testsuites/sptests/ChangeLog
index 7379169e0e..5dfb1a8915 100644
--- a/testsuites/sptests/ChangeLog
+++ b/testsuites/sptests/ChangeLog
@@ -1,3 +1,7 @@
+2011-02-02 Joel Sherrill <joel.sherrilL@OARcorp.com>
+
+ * sp04/tswitch.c: Shrink memory requirements.
+
2011-02-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Require autoconf-2.68, automake-1.11.1.
diff --git a/testsuites/sptests/sp04/tswitch.c b/testsuites/sptests/sp04/tswitch.c
index a622e6126c..5c22016a0b 100644
--- a/testsuites/sptests/sp04/tswitch.c
+++ b/testsuites/sptests/sp04/tswitch.c
@@ -10,7 +10,7 @@
*
* Output parameters: NONE
*
- * COPYRIGHT (c) 1989-2009.
+ * COPYRIGHT (c) 1989-2011.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -22,11 +22,10 @@
#include "system.h"
-#if BSP_SMALL_MEMORY
-struct taskSwitchLog taskSwitchLog[100];
-#else
-struct taskSwitchLog taskSwitchLog[1000];
-#endif
+/*
+ * Only require 10 task switches on sis/gdb. --joel 2 Feb 2011
+ */
+struct taskSwitchLog taskSwitchLog[25];
unsigned int taskSwitchLogIndex;
volatile int testsFinished;