source: rtems-testing/sim-scripts/qemu-lm32_evr.in @ 9b2d900

4.11
Last change on this file since 9b2d900 was 1273785, checked in by Joel Sherrill <joel.sherrill@…>, on May 15, 2012 at 9:03:18 PM

rtems-testing - Remove CVS Ids (scripted)

  • Property mode set to 100644
File size: 956 bytes
Line 
1#
2#  lm32/lm32_evr Qemu Support
3#
4
5bspUsesGDBSimulator="no"
6# bspGeneratesGDBCommands="yes"
7# bspSupportsGDBServerMode="yes"
8
9if [ -r ${HOME}/qemu-coverage/install/bin/qemu-system-lm32 ] ; then
10  runBSP=${HOME}/qemu-coverage/install/bin/qemu-system-lm32
11else
12  runBSP=qemu-system-lm32
13fi
14
15bspNeedsDos2Unix="yes"
16
17# qemu-system-lm32 -M lm32-evr -trace ticker.trace -kernel ~/ticker.exe
18runARGS()
19{
20  if [ ${coverage} = yes ] ; then
21     rm -f trace ${1}.tra
22     COVERAGE_ARG="-trace ${1}.tra"
23  fi
24
25  echo "-M lm32-evr -nographic ${COVERAGE_ARG} -global lm32,sys.enabled=1 -kernel ${1}"
26}
27
28checkBSPFaults()
29{
30  return 0
31}
32
33bspLimit()
34{
35  tname=$1
36  case ${tname} in
37    *stackchk*)limit=5 ;;
38    *fatal*)   limit=1 ;;
39    *minimum*) limit=1 ;;
40    *sp20*)    limit=180 ;;  # 2 min 32 seconds on Joel's laptop
41    *psxtime*) limit=390 ;;  # 6 min  2 seconds on Joel's laptop
42    *)         limit=60 ;;
43  esac
44  echo ${limit}
45}
46
47bspGeneratesDeviceTree="no"
Note: See TracBrowser for help on using the repository browser.