source: rtems-testing/sim-scripts/jmr3904.in @ 6871c37

4.11
Last change on this file since 6871c37 was 20873580, checked in by Joel Sherrill <joel.sherrill@…>, on Jan 20, 2009 at 4:22:12 PM

2009-01-20 Joel Sherrill <joel.sherrill@…>

  • Makefile, edb7312.in, gdb-sim-run.in, gdb-sim.in, h8sim.in, jmr3904.in, m32csim.in, m32rsim.in, psim.in, simsh.in, sis.in, skyeye-support: Find run or gdb along PATH. Check for multiple RTEMS versions so there is only one version of the script. Default the simulator name so the BSP specific files do not have to do as much.
  • Property mode set to 100644
File size: 606 bytes
Line 
1#
2#  MIPS JMR3904 Support
3#
4#  $Id$
5#
6
7runARGS()
8{
9  echo "--board=jmr3904 ${1}"
10}
11
12checkBSPFaults()
13{
14  logfile=$1
15  grep "^Unhandled exception" ${logfile}
16  exceptionExit=$?
17  grep "^mips-core: " ${logfile}
18  badAccessExit=$?
19  if [ $badAccessExit -eq 0 -o $exceptionExit -eq 0 ] ; then
20    return 1
21  fi
22  return 0
23}
24
25bspLimit()
26{
27  testname=$1
28  case ${tname} in
29    *stackchk*)limit=5 ;;
30    *fatal*)   limit=1 ;;
31    *psxtime*) limit=180 ;;
32    *)         limit=60 ;;
33  esac
34  return ${limit}
35}
36
37bspGeneratesGDBCommands="yes"
38
39bspGenerateGDBCommands()
40{
41cat <<EOF
42tar sim --board=jmr3904
43load
44EOF
45}
Note: See TracBrowser for help on using the repository browser.