qemu-e2k/accel/tcg
Richard Henderson da6bbf8513 tcg: Add CPUClass::tlb_fill
This hook will replace the (user-only mode specific) handle_mmu_fault
hook, and the (system mode specific) tlb_fill function.

The handle_mmu_fault hook was written as if there was a valid
way to recover from an mmu fault, and had 3 possible return states.
In reality, the only valid action is to raise an exception,
return to the main loop, and deliver the SIGSEGV to the guest.

Note that all of the current implementations of handle_mmu_fault
for guests which support linux-user do in fact only ever return 1,
which is the signal to return to the main loop.

Using the hook for system mode requires that all targets be converted,
so for now the hook is (optionally) used only from user-only mode.

Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
2019-05-10 07:55:06 -07:00
..
Makefile.objs tcg: Add generic vector expanders 2018-02-08 15:54:05 +00:00
atomic_template.h tcg: Fix LGPL version number 2019-01-30 11:01:52 +01:00
cpu-exec-common.c tcg: Fix LGPL version number 2019-01-30 11:01:52 +01:00
cpu-exec.c Queued accel/tcg patches 2019-02-07 11:46:40 +00:00
cputlb.c cputlb: Fix io_readx() to respect the access_type 2019-04-25 10:40:06 -07:00
softmmu_template.h cputlb: update TLB entry/index after tlb_fill 2019-02-11 08:52:44 -08:00
tcg-all.c tcg: access cpu->icount_decr.u16.high with atomics 2018-10-18 18:58:10 -07:00
tcg-runtime-gvec.c tcg: Fix LGPL version number 2019-01-30 11:01:52 +01:00
tcg-runtime.c tcg: add cs_base and flags to -d exec output 2017-12-29 12:43:40 -08:00
tcg-runtime.h tcg: Add opcodes for vector minmax arithmetic 2019-01-28 07:03:34 -08:00
trace-events trace-events: Consistently point to docs/devel/tracing.txt 2019-03-22 16:17:37 +00:00
translate-all.c tcg: Restart after TB code generation overflow 2019-04-24 13:04:33 -07:00
translate-all.h tcg: Fix LGPL version number 2019-01-30 11:01:52 +01:00
translator.c tcg: Hoist max_insns computation to tb_gen_code 2019-04-24 13:04:33 -07:00
user-exec-stub.c i386/cpu: make -cpu host support monitor/mwait 2018-06-29 13:02:47 +02:00
user-exec.c tcg: Add CPUClass::tlb_fill 2019-05-10 07:55:06 -07:00