[rtems commit] sptests/sp20: Reduce memory requirements

Joel Sherril joel at rtems.org
Tue Mar 24 13:18:11 UTC 2015


Module:    rtems
Branch:    master
Commit:    6849e5379afceb89436942073064fbc0cbfa54e9
Changeset: http://git.rtems.org/rtems/commit/?id=6849e5379afceb89436942073064fbc0cbfa54e9

Author:    Joel Sherrill <joel.sherrill at oarcorp.com>
Date:      Sat Mar 21 14:43:47 2015 -0500

sptests/sp20: Reduce memory requirements

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 */




More information about the vc mailing list