aboutsummaryrefslogtreecommitdiff
path: root/target-mips
diff options
context:
space:
mode:
authorpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2009-04-16 10:56:43 +0000
committerpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2009-04-16 10:56:43 +0000
commit8e0f950d89b1e708e07481005515ef26e9a7b4da (patch)
treeecb6463ae3d91d081ab0241c0ce2f71dc25d6a82 /target-mips
parentade25b0dff46020d6fb9a6ae38a38217e441ba19 (diff)
downloadqemu-8e0f950d89b1e708e07481005515ef26e9a7b4da.zip
qemu-8e0f950d89b1e708e07481005515ef26e9a7b4da.tar.gz
qemu-8e0f950d89b1e708e07481005515ef26e9a7b4da.tar.bz2
Stop translation after a syscall instruciton.
Signed-off-by: Paul Brook <paul@codesourcery.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7124 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-mips')
-rw-r--r--target-mips/translate.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/target-mips/translate.c b/target-mips/translate.c
index e9b20d1..6d9c23c 100644
--- a/target-mips/translate.c
+++ b/target-mips/translate.c
@@ -7697,6 +7697,7 @@ static void decode_opc (CPUState *env, DisasContext *ctx)
break;
case OPC_SYSCALL:
generate_exception(ctx, EXCP_SYSCALL);
+ ctx->bstate = BS_STOP;
break;
case OPC_BREAK:
generate_exception(ctx, EXCP_BREAK);