From 04fb1535f70879632d1c1a036d4f68eb755e5e49 Mon Sep 17 00:00:00 2001 From: pbrook Date: Thu, 16 Apr 2009 10:56:43 +0000 Subject: [PATCH] Stop translation after a syscall instruciton. Signed-off-by: Paul Brook git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7124 c046a42c-6fe2-441c-8c8c-71466251a162 --- target-mips/translate.c | 1 + 1 file changed, 1 insertion(+) 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); -- 2.7.4