diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2004-05-17 21:05:06 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2004-05-17 21:05:06 +0000 |
commit | e63c59cb34fdad20f70c83dd4bfe938fb37433ab (patch) | |
tree | 7203a78535929e734b34b9a074ed274d38422934 /target-ppc | |
parent | 13ab5daa86d3b802fc3a2e5959ecc8cb1aadd310 (diff) | |
download | qemu-e63c59cb34fdad20f70c83dd4bfe938fb37433ab.zip qemu-e63c59cb34fdad20f70c83dd4bfe938fb37433ab.tar.gz qemu-e63c59cb34fdad20f70c83dd4bfe938fb37433ab.tar.bz2 |
ppc fix (Jocelyn Mayer)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@816 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-ppc')
-rw-r--r-- | target-ppc/translate.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/target-ppc/translate.c b/target-ppc/translate.c index 50d1ec1..e410cb2 100644 --- a/target-ppc/translate.c +++ b/target-ppc/translate.c @@ -2004,7 +2004,6 @@ GEN_HANDLER(mtspr, 0x1F, 0x13, 0x0E, 0x00000001, PPC_MISC) gen_op_store_xer(); break; case LR: - gen_op_andi_(~0x03); gen_op_store_lr(); break; case CTR: @@ -2296,7 +2295,7 @@ GEN_HANDLER(mfsrin, 0x1F, 0x13, 0x14, 0x001F0001, PPC_SEGMENT) } /* mtsr */ -GEN_HANDLER(mtsr, 0x1F, 0x12, 0x02, 0x0010F801, PPC_SEGMENT) +GEN_HANDLER(mtsr, 0x1F, 0x12, 0x06, 0x0010F801, PPC_SEGMENT) { #if defined(CONFIG_USER_ONLY) RET_PRIVREG(); @@ -2356,7 +2355,7 @@ GEN_HANDLER(tlbie, 0x1F, 0x12, 0x09, 0x03FF0001, PPC_MEM) } /* tlbsync */ -GEN_HANDLER(tlbsync, 0x1F, 0x16, 0x11, 0x03FFFC01, PPC_MEM) +GEN_HANDLER(tlbsync, 0x1F, 0x16, 0x11, 0x03FFF801, PPC_MEM) { #if defined(CONFIG_USER_ONLY) RET_PRIVOPC(); |