[PATCH 22/42] sptests/sp20: Reduce memory requirements

Joel Sherrill joel.sherrill at oarcorp.com
Mon Mar 23 14:39:20 UTC 2015


This was checked on sparc/sis. If this fails on other targets, then
the task stack sizes needs to be reevaluated.
---
 testsuites/sptests/sp20/init.c   | 2 +-
 testsuites/sptests/sp20/system.h | 2 --
 2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/testsuites/sptests/sp20/init.c b/testsuites/sptests/sp20/init.c
index 746639b..e88c6c2 100644
--- a/testsuites/sptests/sp20/init.c
+++ b/testsuites/sptests/sp20/init.c
@@ -48,7 +48,7 @@ rtems_task Init(
     status = rtems_task_create(
       Task_name[ index ],
       Priorities[ index ],
-      RTEMS_MINIMUM_STACK_SIZE * 4,
+      RTEMS_MINIMUM_STACK_SIZE,
       RTEMS_DEFAULT_MODES,
       RTEMS_DEFAULT_ATTRIBUTES,
       &Task_id[ index ]
diff --git a/testsuites/sptests/sp20/system.h b/testsuites/sptests/sp20/system.h
index 906331d..33d07f7 100644
--- a/testsuites/sptests/sp20/system.h
+++ b/testsuites/sptests/sp20/system.h
@@ -47,8 +47,6 @@ void Get_all_counters( void );
 
 #define CONFIGURE_RTEMS_INIT_TASKS_TABLE
 
-#define CONFIGURE_EXTRA_TASK_STACKS         (6 * 4 * RTEMS_MINIMUM_STACK_SIZE)
-
 #include <rtems/confdefs.h>
 
 /* global variables */
-- 
1.9.3




More information about the devel mailing list