Changeset 9c22907 in rtems
- Timestamp:
- 05/18/09 23:50:10 (13 years ago)
- Branches:
- 4.10, 4.11, 5, master
- Children:
- be0eebc
- Parents:
- a1c219b
- Location:
- testsuites/libtests
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
testsuites/libtests/ChangeLog
ra1c219b r9c22907 1 2009-05-19 Chris Johns <chrisj@rtems.org> 2 3 * cpuuse/tswitch.c: Lower sample count for small memory targets. 4 * cpuuse/system.h: Smaller stack size for small memory targets. 5 * monitor02/init.c: Cannot run on small memory targets. 6 1 7 2009-05-17 Joel Sherrill <joel.sherrill@oarcorp.com> 2 8 -
testsuites/libtests/cpuuse/system.h
ra1c219b r9c22907 14 14 */ 15 15 16 #include <bsp.h> 16 17 #include <tmacros.h> 17 18 … … 47 48 #define CONFIGURE_MAXIMUM_TASKS 4 48 49 #define CONFIGURE_TICKS_PER_TIMESLICE 100 50 #if !BSP_SMALL_MEMORY 51 #define CONFIGURE_EXTRA_TASK_STACKS (6 * RTEMS_MINIMUM_STACK_SIZE) 52 #endif 49 53 50 54 #define CONFIGURE_RTEMS_INIT_TASKS_TABLE 51 52 #define CONFIGURE_EXTRA_TASK_STACKS (6 * RTEMS_MINIMUM_STACK_SIZE)53 55 54 56 #include <rtems/confdefs.h> -
testsuites/libtests/cpuuse/tswitch.c
ra1c219b r9c22907 23 23 #include "system.h" 24 24 25 #if BSP_SMALL_MEMORY 26 struct taskSwitchLog taskSwitchLog[100]; 27 #else 25 28 struct taskSwitchLog taskSwitchLog[1000]; 29 #endif 26 30 int taskSwitchLogIndex; 27 31 volatile int testsFinished;; … … 64 68 } 65 69 } 70 -
testsuites/libtests/monitor02/init.c
ra1c219b r9c22907 15 15 16 16 #define CONFIGURE_INIT 17 #include "bsp.h" 17 18 #include "system.h" 18 19 … … 30 31 ) 31 32 { 33 #if !BSP_SMALL_MEMORY 32 34 uint32_t index; 33 35 rtems_status_code status; … … 46 48 } 47 49 } 48 49 50 puts( "\n*** END OF MONITOR02 ***\n"); 51 #else 52 puts( "TARGET MEMORY TOO SMALL TO RUN\n\n"); 53 #endif 50 54 rtems_test_exit(0); 51 55 }
Note: See TracChangeset
for help on using the changeset viewer.