xemu/plugins
Pierrick Bouvier b709da5d29 plugins: save value during memory accesses
Different code paths handle memory accesses:
- tcg generated code
- load/store helpers
- atomic helpers

This value is saved in cpu->neg.plugin_mem_value_{high,low}. Values are
written only for accessed word size (upper bits are not set).

Atomic operations are doing read/write at the same time, so we generate
two memory callbacks instead of one, to allow plugins to access distinct
values.

For now, we can have access only up to 128 bits, thus split this in two
64 bits words. When QEMU will support wider operations, we'll be able to
reconsider this.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Message-Id: <20240724194708.1843704-2-pierrick.bouvier@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20240916085400.1046925-5-alex.bennee@linaro.org>
2024-09-19 15:58:01 +01:00
..
api.c plugins: add migration blocker 2024-06-24 10:15:10 +01:00
core.c plugins: save value during memory accesses 2024-09-19 15:58:01 +01:00
loader.c plugin/loader: handle basic help query 2024-07-30 11:44:21 +01:00
meson.build buildsys: Fix building without plugins on Darwin 2024-08-16 14:04:19 +01:00
plugin.h plugins: remove op from qemu_plugin_inline_cb 2024-05-16 08:55:23 +01:00
qemu-plugins.symbols plugins: add time control API 2024-06-24 10:15:04 +01:00