diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-09-24 19:31:22 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-09-24 19:31:22 +0000 |
commit | e927c360d771f96e71bf957e1e204d0b5c277866 (patch) | |
tree | b693c8cb221cf3fd618673fc0fc0bac4255cd5ce /sim-scripts/qemu-ppc.in | |
parent | 2009-09-24 Joel Sherrill <joel.sherrill@OARcorp.com> (diff) | |
download | rtems-testing-e927c360d771f96e71bf957e1e204d0b5c277866.tar.bz2 |
2009-09-24 Joel Sherrill <joel.sherrill@oarcorp.com>
* .cvsignore, Makefile, qemu-uc5282.in: Add script to run qemu-ppc
simulator.
* qemu-ppc.in: New file.
Diffstat (limited to 'sim-scripts/qemu-ppc.in')
-rw-r--r-- | sim-scripts/qemu-ppc.in | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/sim-scripts/qemu-ppc.in b/sim-scripts/qemu-ppc.in new file mode 100644 index 0000000..9c1e75e --- /dev/null +++ b/sim-scripts/qemu-ppc.in @@ -0,0 +1,44 @@ +# +# m68k/uc5282 Qemu Support +# +# $Id$ +# + +bspUsesGDBSimulator="no" +# bspGeneratesGDBCommands="yes" +# bspSupportsGDBServerMode="yes" +if [ -r ${HOME}/qemu-coverage/install/bin/qemu-system-ppc ] ; then + runBSP=${HOME}/qemu-coverage/install/bin/qemu-system-ppc +else + runBSP=qemu-system-ppc +fi +bspNeedsDos2Unix="yes" + +runARGS() +{ + if [ ${coverage} = yes ] ; then + COVERAGE_ARG="-trace ${1}.tra" + fi + + echo "-nographic -M prep -boot n -no-reboot ${COVERAGE_ARG} \ + -L `pwd` -bios ${1}" +} + +checkBSPFaults() +{ + return 0 +} + +bspLimit() +{ + testname=$1 + case ${tname} in + *stackchk*)limit=5 ;; + *fatal*) limit=1 ;; + *psxtime*) limit=270 ;; + *) limit=60 ;; + esac + echo ${limit} +} + +bspGeneratesDeviceTree="no" |