mirror of https://github.com/xemu-project/xemu.git
target-ppc: fix wrteei instruction
Patch by Andrew May git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6308 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
e9203484cb
commit
1b6e5f9906
|
@ -6077,7 +6077,7 @@ GEN_HANDLER(wrteei, 0x1F, 0x03, 0x05, 0x000EFC01, PPC_WRTEE)
|
||||||
/* Stop translation to have a chance to raise an exception */
|
/* Stop translation to have a chance to raise an exception */
|
||||||
gen_stop_exception(ctx);
|
gen_stop_exception(ctx);
|
||||||
} else {
|
} else {
|
||||||
tcg_gen_andi_tl(cpu_msr, cpu_msr, (1 << MSR_EE));
|
tcg_gen_andi_tl(cpu_msr, cpu_msr, ~(1 << MSR_EE));
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue