mirror_qemu/target/mips
Laurent Vivier 98670d47cd accel/tcg: add size paremeter in tlb_fill()
The MC68040 MMU provides the size of the access that
triggers the page fault.

This size is set in the Special Status Word which
is written in the stack frame of the access fault
exception.

So we need the size in m68k_cpu_unassigned_access() and
m68k_cpu_handle_mmu_fault().

To be able to do that, this patch modifies the prototype of
handle_mmu_fault handler, tlb_fill() and probe_write().
do_unassigned_access() already includes a size parameter.

This patch also updates handle_mmu_fault handlers and
tlb_fill() of all targets (only parameter, no code change).

Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Reviewed-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20180118193846.24953-2-laurent@vivier.eu>
2018-01-25 16:02:24 +01:00
..
Makefile.objs mips: move hw/mips/cputimer.c to target/mips/ 2017-09-21 13:24:34 +01:00
TODO
cp0_timer.c mips: introduce internal.h and cleanup cpu.h 2017-09-21 13:24:34 +01:00
cpu-qom.h mips: MIPSCPU model subclasses 2017-09-21 13:25:30 +01:00
cpu.c mips: malta/boston: replace cpu_model with cpu_type 2017-10-27 16:04:28 +02:00
cpu.h mips: malta/boston: replace cpu_model with cpu_type 2017-10-27 16:04:28 +02:00
dsp_helper.c mips: Improve macro parenthesization 2017-09-21 13:25:41 +01:00
gdbstub.c mips: introduce internal.h and cleanup cpu.h 2017-09-21 13:24:34 +01:00
helper.c accel/tcg: add size paremeter in tlb_fill() 2018-01-25 16:02:24 +01:00
helper.h target/mips: Add segmentation control registers 2017-07-20 22:42:26 +01:00
internal.h accel/tcg: add size paremeter in tlb_fill() 2018-01-25 16:02:24 +01:00
kvm.c mips: introduce internal.h and cleanup cpu.h 2017-09-21 13:24:34 +01:00
kvm_mips.h
lmi_helper.c
machine.c mips: introduce internal.h and cleanup cpu.h 2017-09-21 13:24:34 +01:00
mips-defs.h linux-user: Tidy and enforce reserved_va initialization 2017-10-16 16:00:56 +03:00
mips-semi.c
msa_helper.c mips: Tweak location of ';' in macros 2018-01-16 14:54:51 +01:00
op_helper.c accel/tcg: add size paremeter in tlb_fill() 2018-01-25 16:02:24 +01:00
trace-events docs: fix broken paths to docs/devel/tracing.txt 2017-07-31 13:12:53 +03:00
translate.c tcg: Remove TCGV_UNUSED* and TCGV_IS_UNUSED* 2017-12-29 12:43:39 -08:00
translate_init.c mips: malta/boston: replace cpu_model with cpu_type 2017-10-27 16:04:28 +02:00