diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2005-11-23 22:05:28 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2005-11-23 22:05:28 +0000 |
commit | e80e1cc4b18d388227d2fa6b8551929a381d2490 (patch) | |
tree | ffa318af5e2d0019e5f47dc26b70a3f0f64ecf94 /target-ppc/translate.c | |
parent | f24e5695e5fab2d4d143c34ffe8164ddeac9b12b (diff) | |
download | qemu-e80e1cc4b18d388227d2fa6b8551929a381d2490.zip qemu-e80e1cc4b18d388227d2fa6b8551929a381d2490.tar.gz qemu-e80e1cc4b18d388227d2fa6b8551929a381d2490.tar.bz2 |
halt state support for ppc
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1657 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-ppc/translate.c')
-rw-r--r-- | target-ppc/translate.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/target-ppc/translate.c b/target-ppc/translate.c index 391f82f..3bc6aa3 100644 --- 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 } |