unicorn/qemu/target/mips
James Hogan 4cc63bac09
target/mips: Fix RDHWR CC with icount
RDHWR CC reads the CPU timer like MFC0 CP0_Count, so with icount enabled
it must set can_do_io while it calls the helper to avoid the "Bad icount
read" error. It should also break out of the translation loop to ensure
that timer interrupts are immediately handled.

Backports commit d673a68db6963e86536b125af464bb6ed03eba33 from qemu
2018-03-04 01:35:25 -05:00
..
cpu-qom.h Move target-* CPU file into a target/ folder 2018-03-01 22:50:58 -05:00
cpu.c Move target-* CPU file into a target/ folder 2018-03-01 22:50:58 -05:00
cpu.h target/mips: Add segmentation control registers 2018-03-04 01:00:42 -05:00
dsp_helper.c Move target-* CPU file into a target/ folder 2018-03-01 22:50:58 -05:00
helper.c mips: Improve segment defs for KVM T&E guests 2018-03-04 01:26:42 -05:00
helper.h target/mips: Add segmentation control registers 2018-03-04 01:00:42 -05:00
lmi_helper.c Move target-* CPU file into a target/ folder 2018-03-01 22:50:58 -05:00
Makefile.objs Move target-* CPU file into a target/ folder 2018-03-01 22:50:58 -05:00
mips-defs.h Move target-* CPU file into a target/ folder 2018-03-01 22:50:58 -05:00
msa_helper.c Move target-* CPU file into a target/ folder 2018-03-01 22:50:58 -05:00
op_helper.c target-mips: apply CP0.PageMask before writing into TLB entry 2018-03-04 01:27:51 -05:00
TODO Move target-* CPU file into a target/ folder 2018-03-01 22:50:58 -05:00
translate.c target/mips: Fix RDHWR CC with icount 2018-03-04 01:35:25 -05:00
translate_init.c target/mips: Enable CP0_EBase.WG on MIPS64 CPUs 2018-03-04 01:09:47 -05:00
unicorn.c Move target-* CPU file into a target/ folder 2018-03-01 22:50:58 -05:00
unicorn.h Move target-* CPU file into a target/ folder 2018-03-01 22:50:58 -05:00