From 08ba79632f106a14c981f888a3feaedf6c576fcf Mon Sep 17 00:00:00 2001 From: ths Date: Thu, 12 Jun 2008 03:15:13 +0000 Subject: TCGify a few more instructions. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4736 c046a42c-6fe2-441c-8c8c-71466251a162 --- target-mips/op_helper.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'target-mips/op_helper.c') diff --git a/target-mips/op_helper.c b/target-mips/op_helper.c index ae91acdb0..f573732e6 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); -- cgit v1.2.3