unicorn/qemu/target/mips
Peter Maydell 2faffb5af1
target/mips: Switch to do_transaction_failed() hook
Switch the MIPS target from the old unassigned_access hook to the new
do_transaction_failed hook.

Unlike the old hook, do_transaction_failed is only ever called from
the TCG memory access paths, so there is no need for the "ignore this
if we're using KVM" hack that we were previously using to work around
the way unassigned_access was called for all kinds of memory accesses
to unassigned physical addresses.

The MIPS target does not ever do direct memory reads by physical
address (via either ldl_phys etc or address_space_ldl etc), so the
only memory accesses this affects are the 'normal' guest loads and
stores, which will be handled by the new hook; their behaviour is
unchanged.

Backports commit 4f02a06d50ef0081089ed8cb3ec7c7986e3c95f8 from qemu
2019-11-28 02:54:53 -05:00
..
cp0_timer.c target/mips: Style improvements in cp0_timer.c 2019-11-18 21:24:37 -05:00
cpu-param.h tcg: Split out target/arch/cpu-param.h 2019-06-10 19:35:46 -04:00
cpu-qom.h
cpu.c target/mips: Switch to do_transaction_failed() hook 2019-11-28 02:54:53 -05:00
cpu.h target/mips: Clean up handling of CP0 register 31 2019-11-18 23:46:33 -05:00
dsp_helper.c target/mips: Clean up dsp_helper.c 2019-06-03 11:14:31 -04:00
helper.c target/mips: Use env_cpu, env_archcpu 2019-06-12 11:55:43 -04:00
helper.h target/mips: Refactor and fix INSERT.<B|H|W|D> instructions 2019-05-28 19:42:28 -04:00
internal.h target/mips: Switch to do_transaction_failed() hook 2019-11-28 02:54:53 -05:00
lmi_helper.c target/mips: Clean up lmi_helper.c 2019-06-03 11:15:34 -04:00
Makefile.objs
mips-defs.h tcg: Split out target/arch/cpu-param.h 2019-06-10 19:35:46 -04:00
msa_helper.c target/mips: rationalise softfloat includes 2019-11-18 21:15:19 -05:00
op_helper.c target/mips: Switch to do_transaction_failed() hook 2019-11-28 02:54:53 -05:00
TODO
translate_init.c target/mips: Use env_cpu, env_archcpu 2019-06-12 11:55:43 -04:00
translate.c target/mips: Clean up handling of CP0 register 31 2019-11-18 23:46:33 -05:00
unicorn.c Removed hardcoded CP0C3_ULRI (#1098) 2019-08-08 20:08:57 -04:00
unicorn.h