diff options
author | Chris Johns <chrisj@rtems.org> | 2009-05-18 23:50:10 +0000 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2009-05-18 23:50:10 +0000 |
commit | 9c22907122581564091d16c325afb6efbb871ca0 (patch) | |
tree | 9f7ad12fa87e6abd1eeb04b1e29625f8fdd2fb3c /testsuites/libtests/cpuuse/system.h | |
parent | 2009-05-19 Chris Johns <chrisj@rtems.org> (diff) | |
download | rtems-9c22907122581564091d16c325afb6efbb871ca0.tar.bz2 |
2009-05-19 Chris Johns <chrisj@rtems.org>
* cpuuse/tswitch.c: Lower sample count for small memory targets.
* cpuuse/system.h: Smaller stack size for small memory targets.
* monitor02/init.c: Cannot run on small memory targets.
Diffstat (limited to 'testsuites/libtests/cpuuse/system.h')
-rw-r--r-- | testsuites/libtests/cpuuse/system.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/testsuites/libtests/cpuuse/system.h b/testsuites/libtests/cpuuse/system.h index 8e7b206e33..a996fd4df4 100644 --- a/testsuites/libtests/cpuuse/system.h +++ b/testsuites/libtests/cpuuse/system.h @@ -13,6 +13,7 @@ * $Id$ */ +#include <bsp.h> #include <tmacros.h> /* functions */ @@ -46,11 +47,12 @@ void Task_switch( #define CONFIGURE_MAXIMUM_USER_EXTENSIONS 1 #define CONFIGURE_MAXIMUM_TASKS 4 #define CONFIGURE_TICKS_PER_TIMESLICE 100 +#if !BSP_SMALL_MEMORY +#define CONFIGURE_EXTRA_TASK_STACKS (6 * RTEMS_MINIMUM_STACK_SIZE) +#endif #define CONFIGURE_RTEMS_INIT_TASKS_TABLE -#define CONFIGURE_EXTRA_TASK_STACKS (6 * RTEMS_MINIMUM_STACK_SIZE) - #include <rtems/confdefs.h> /* global variables */ |