source: rtems-testing/sim-scripts/qemuppc.in @ 885a021

4.11
Last change on this file since 885a021 was 885a021, checked in by Joel Sherrill <joel.sherrill@…>, on Oct 16, 2009 at 6:58:37 PM

2009-10-16 Joel Sherrill <joel.sherrill@…>

  • check_endof: Add minimum.
  • qemuppc.in: Add trace conversion.
  • Property mode set to 100644
File size: 899 bytes
Line 
1#
2#  m68k/uc5282 Qemu Support
3#
4#  $Id$
5#
6
7bspUsesGDBSimulator="no"
8# bspGeneratesGDBCommands="yes"
9# bspSupportsGDBServerMode="yes"
10bspNeedsTraceConversion="yes"
11if [ -r ${HOME}/qemu-coverage/install/bin/qemu-system-ppc ] ; then
12  runBSP=${HOME}/qemu-coverage/install/bin/qemu-system-ppc
13else
14  runBSP=qemu-system-ppc
15fi
16bspNeedsDos2Unix="yes"
17
18runARGS()
19{
20  if [ ${coverage} = yes ] ; then
21     COVERAGE_ARG="-trace ${1}.tra"
22  fi
23
24  echo "-nographic -M prep -boot n -no-reboot ${COVERAGE_ARG} \
25            -L `pwd` -bios ${1}"
26}
27
28convertTraceToCoverageMap()
29{
30  trace_converter -l ffc00000 -h ffc80000 -f QEMU ${1}.tra ${1}.cov
31}
32
33checkBSPFaults()
34{
35  return 0
36}
37
38bspLimit()
39{
40  testname=$1
41  case ${testname} in
42    *stackchk*)limit=5 ;;
43    *fatal*)   limit=1 ;;
44    *minimum*) limit=1 ;;
45    *psxtime*) limit=270 ;;
46    *)         limit=60 ;;
47  esac
48  echo ${limit}
49}
50
51bspGeneratesDeviceTree="no"
Note: See TracBrowser for help on using the repository browser.