summaryrefslogtreecommitdiff
path: root/sim-scripts/m32csim.in
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2009-01-19 23:19:14 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2009-01-19 23:19:14 +0000
commit6cc464589c6a6555fa297a3cd176da8e67b6df0a (patch)
treeb2ddfeb8a67f7350c76ea5d52867c708d7d77a32 /sim-scripts/m32csim.in
parent8b5cb9ead0b6b272bad9eb0b42bb8787f9d9b974 (diff)
2009-01-19 Joel Sherrill <joel.sherrill@oarcorp.com>
* .cvsignore, Makefile, gdb-sim-run.in: Add m32csim, m32rsim, and simsh. * m32csim.in, m32rsim.in, simsh.in: New files.
Diffstat (limited to 'sim-scripts/m32csim.in')
-rw-r--r--sim-scripts/m32csim.in27
1 files changed, 27 insertions, 0 deletions
diff --git a/sim-scripts/m32csim.in b/sim-scripts/m32csim.in
new file mode 100644
index 0000000..5620d05
--- /dev/null
+++ b/sim-scripts/m32csim.in
@@ -0,0 +1,27 @@
+#
+# M32C/m32csim Support
+#
+# $Id$
+#
+
+runBSP()
+{
+ ${RUN} ${1}
+}
+
+checkBSPFaults()
+{
+ return 0
+}
+
+bspLimit()
+{
+ testname=$1
+ case ${tname} in
+ *stackchk*)limit=5 ;;
+ *fatal*) limit=1 ;;
+ *psxtime*) limit=180 ;;
+ *) limit=60 ;;
+ esac
+ return ${limit}
+}