unicorn/qemu/target/mips
James Hogan 310e3f0a1d
target/mips: Fix TLBWI shadow flush for EHINV,XI,RI
Writing specific TLB entries with TLBWI flushes shadow TLB entries
unless an existing entry is having its access permissions upgraded. This
is necessary as software would from then on expect the previous mapping
in that entry to no longer be in effect (even if QEMU has quietly
evicted it to the shadow TLB on a TLBWR).

However it won't do this if only EHINV, XI, or RI bits have been set,
even if that results in a reduction of permissions, so add the necessary
checks to invoke the flush when these bits are set.

Backports commit eff6ff9431aa9776062a5f4a08d1f6503ca9995a from qemu
2018-03-03 23:39:18 -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: Provide function to test if a CPU supports an ISA 2018-03-02 08:20:19 -05:00
dsp_helper.c Move target-* CPU file into a target/ folder 2018-03-01 22:50:58 -05:00
helper.c mips: set CP0 Debug DExcCode for SDBBP instruction 2018-03-03 22:45:08 -05:00
helper.h Move target-* CPU file into a target/ folder 2018-03-01 22:50:58 -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: Fix TLBWI shadow flush for EHINV,XI,RI 2018-03-03 23:39:18 -05:00
TODO Move target-* CPU file into a target/ folder 2018-03-01 22:50:58 -05:00
translate.c target/mips: Fix MIPS64 MFC0 UserLocal on BE host 2018-03-03 23:37:41 -05:00
translate_init.c Move target-* CPU file into a target/ folder 2018-03-01 22:50:58 -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