Changeset 9c22907 in rtems


Ignore:
Timestamp:
05/18/09 23:50:10 (13 years ago)
Author:
Chris Johns <chrisj@…>
Branches:
4.10, 4.11, 5, master
Children:
be0eebc
Parents:
a1c219b
Message:

2009-05-19 Chris Johns <chrisj@…>

  • 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.
Location:
testsuites/libtests
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • testsuites/libtests/ChangeLog

    ra1c219b r9c22907  
     12009-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
    172009-05-17      Joel Sherrill <joel.sherrill@oarcorp.com>
    28
  • testsuites/libtests/cpuuse/system.h

    ra1c219b r9c22907  
    1414 */
    1515
     16#include <bsp.h>
    1617#include <tmacros.h>
    1718
     
    4748#define CONFIGURE_MAXIMUM_TASKS               4
    4849#define CONFIGURE_TICKS_PER_TIMESLICE       100
     50#if !BSP_SMALL_MEMORY
     51#define CONFIGURE_EXTRA_TASK_STACKS           (6 * RTEMS_MINIMUM_STACK_SIZE)
     52#endif
    4953
    5054#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
    51 
    52 #define CONFIGURE_EXTRA_TASK_STACKS (6 * RTEMS_MINIMUM_STACK_SIZE)
    5355
    5456#include <rtems/confdefs.h>
  • testsuites/libtests/cpuuse/tswitch.c

    ra1c219b r9c22907  
    2323#include "system.h"
    2424
     25#if BSP_SMALL_MEMORY
     26struct taskSwitchLog taskSwitchLog[100];
     27#else
    2528struct taskSwitchLog taskSwitchLog[1000];
     29#endif
    2630int taskSwitchLogIndex;
    2731volatile int testsFinished;;
     
    6468  }
    6569}
     70
  • testsuites/libtests/monitor02/init.c

    ra1c219b r9c22907  
    1515
    1616#define CONFIGURE_INIT
     17#include "bsp.h"
    1718#include "system.h"
    1819
     
    3031)
    3132{
     33#if !BSP_SMALL_MEMORY
    3234  uint32_t           index;
    3335  rtems_status_code  status;
     
    4648    }
    4749  }
    48 
    4950  puts( "\n*** END OF MONITOR02 ***\n");
     51#else
     52  puts( "TARGET MEMORY TOO SMALL TO RUN\n\n");
     53#endif
    5054  rtems_test_exit(0);
    5155}
Note: See TracChangeset for help on using the changeset viewer.