aboutsummaryrefslogtreecommitdiff
path: root/target-mips/op_helper.c
diff options
context:
space:
mode:
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2008-06-12 03:15:13 +0000
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2008-06-12 03:15:13 +0000
commit08ba79632f106a14c981f888a3feaedf6c576fcf (patch)
tree07b6f8eecbdbaa2e6f3161d8af58c63d4f40fbc7 /target-mips/op_helper.c
parent2681b45add5f22694d645183a82824722b7191be (diff)
TCGify a few more instructions.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4736 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-mips/op_helper.c')
-rw-r--r--target-mips/op_helper.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/target-mips/op_helper.c b/target-mips/op_helper.c
index ae91acdb07..f573732e61 100644
--- a/target-mips/op_helper.c
+++ b/target-mips/op_helper.c
@@ -1401,6 +1401,12 @@ void do_pmon (int function)
}
}
+void do_wait (void)
+{
+ env->halted = 1;
+ do_raise_exception(EXCP_HLT);
+}
+
#if !defined(CONFIG_USER_ONLY)
static void do_unaligned_access (target_ulong addr, int is_write, int is_user, void *retaddr);