projects
/
qemu
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
halt state support for ppc
[qemu]
/
target-ppc
/
translate.c
diff --git
a/target-ppc/translate.c
b/target-ppc/translate.c
index
391f82f
..
3bc6aa3
100644
(file)
--- a/
target-ppc/translate.c
+++ b/
target-ppc/translate.c
@@
-2097,10
+2097,11
@@
GEN_HANDLER(mtmsr, 0x1F, 0x12, 0x04, 0x001FF801, PPC_MISC)
RET_PRIVREG(ctx);
return;
}
+ gen_op_update_nip((ctx)->nip);
gen_op_load_gpr_T0(rS(ctx->opcode));
gen_op_store_msr();
/* Must stop the translation as machine state (may have) changed */
- RET_STOP(ctx);
+ RET_CHG_FLOW(ctx);
#endif
}