diff options
author | Chris Johns <chrisj@rtems.org> | 2009-05-18 23:49:15 +0000 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2009-05-18 23:49:15 +0000 |
commit | a1c219b8fdfa32c7db8c37aad9714f4f42fa6695 (patch) | |
tree | 6c0ce67fb05e0473ec2145837103437950351762 | |
parent | 2009-05-18 Joel Sherrill <joel.sherrill@OARcorp.com> (diff) | |
download | rtems-a1c219b8fdfa32c7db8c37aad9714f4f42fa6695.tar.bz2 |
2009-05-19 Chris Johns <chrisj@rtems.org>
* sp04/tswitch.c: Lower sample count for small memory targets.
-rw-r--r-- | testsuites/sptests/ChangeLog | 4 | ||||
-rw-r--r-- | testsuites/sptests/sp04/tswitch.c | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/testsuites/sptests/ChangeLog b/testsuites/sptests/ChangeLog index b41920353b..34c1942330 100644 --- a/testsuites/sptests/ChangeLog +++ b/testsuites/sptests/ChangeLog @@ -1,3 +1,7 @@ +2009-05-19 Chris Johns <chrisj@rtems.org> + + * sp04/tswitch.c: Lower sample count for small memory targets. + 2009-05-15 Joel Sherrill <joel.sherrill@OARcorp.com> * spprintk/init.c: printk() now 100% covered. diff --git a/testsuites/sptests/sp04/tswitch.c b/testsuites/sptests/sp04/tswitch.c index bb0cfc7513..9323dda9a9 100644 --- a/testsuites/sptests/sp04/tswitch.c +++ b/testsuites/sptests/sp04/tswitch.c @@ -22,7 +22,11 @@ #include "system.h" +#if BSP_SMALL_MEMORY +struct taskSwitchLog taskSwitchLog[100]; +#else struct taskSwitchLog taskSwitchLog[1000]; +#endif unsigned int taskSwitchLogIndex; volatile int testsFinished; |