From: aurel32 Date: Mon, 5 May 2008 21:42:19 +0000 (+0000) Subject: Really really revert commit r4343 X-Git-Tag: xen-3.3.0-rc1~194^2^2~104 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=4586f9e9a1c2b4d7856b640f7f327589dbfe2423;p=qemu-xen-4.0-testing.git Really really revert commit r4343 git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4348 c046a42c-6fe2-441c-8c8c-71466251a162 --- diff --git a/target-mips/translate.c b/target-mips/translate.c index f917ab98..eb8e09e0 100644 --- a/target-mips/translate.c +++ b/target-mips/translate.c @@ -2883,6 +2883,8 @@ static void gen_mtc0 (CPUState *env, DisasContext *ctx, int reg, int sel) default: goto die; } + /* Stop translation as we may have switched the execution mode */ + ctx->bstate = BS_STOP; break; case 12: switch (sel) { @@ -4038,6 +4040,8 @@ static void gen_dmtc0 (CPUState *env, DisasContext *ctx, int reg, int sel) default: goto die; } + /* Stop translation as we may have switched the execution mode */ + ctx->bstate = BS_STOP; break; case 12: switch (sel) {