qemu-e2k/include/exec
Alex Bennée 357af9be5c plugins: try and make plugin_insn_append more ergonomic
Currently we make the assumption that the guest frontend loads all
op code bytes sequentially. This mostly holds up for regular fixed
encodings but some architectures like s390x like to re-read the
instruction which causes weirdness to occur. Rather than changing the
frontends make the plugin API a little more ergonomic and able to
handle the re-read case.

Stuff will still get strange if we read ahead of the opcode but so far
no front ends have done that and this patch asserts the case so we can
catch it early if they do.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Suggested-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20211026102234.3961636-21-alex.bennee@linaro.org>
2021-11-04 10:32:01 +00:00
..
user
address-spaces.h
confidential-guest-support.h
cpu_ldst.h accel/tcg: Move cpu_atomic decls to exec/cpu_ldst.h 2021-10-13 08:14:54 -07:00
cpu-all.h qapi: introduce x-query-opcount QMP command 2021-11-02 15:57:20 +00:00
cpu-common.h
cpu-defs.h
cputlb.h
exec-all.h linux-user: Add cpu_loop_exit_sigbus 2021-11-02 07:00:52 -04:00
gdbstub.h
gen-icount.h tcg: Drop gen_io_end() 2021-09-08 11:09:45 +01:00
helper-gen.h
helper-head.h tcg: Combine dh_is_64bit and dh_is_signed to dh_typecode 2021-06-19 08:51:11 -07:00
helper-proto.h
helper-tcg.h tcg: Combine dh_is_64bit and dh_is_signed to dh_typecode 2021-06-19 08:51:11 -07:00
hwaddr.h
ioport.h
log.h
memattrs.h
memop.h tcg: Expand MO_SIZE to 3 bits 2021-10-05 16:53:17 -07:00
memopidx.h tcg: Split out MemOpIdx to exec/memopidx.h 2021-10-05 16:53:17 -07:00
memory_ldst_cached.h.inc
memory_ldst_phys.h.inc
memory_ldst.h.inc
memory-internal.h
memory.h memory: Introduce replay_discarded callback for RamDiscardManager 2021-11-01 22:56:44 +01:00
page-vary.h
plugin-gen.h plugins: try and make plugin_insn_append more ergonomic 2021-11-04 10:32:01 +00:00
poison.h
ram_addr.h memory: introduce total_dirty_pages to stat dirty pages 2021-11-01 22:56:44 +01:00
ramblock.h
ramlist.h qapi: introduce x-query-ramblock QMP command 2021-11-02 15:55:14 +00:00
softmmu-semi.h
target_page.h
translate-all.h accel/tcg: Clear PAGE_WRITE before translation 2021-09-14 12:00:20 -07:00
translator.h accel/tcg: Clear PAGE_WRITE before translation 2021-09-14 12:00:20 -07:00