qemu/plugins
Pierrick Bouvier 62f92b8d97 plugins: implement inline operation relative to cpu_index
Instead of working on a fixed memory location, allow to address it based
on cpu_index, an element size and a given offset.
Result address: ptr + offset + cpu_index * element_size.

With this, we can target a member in a struct array from a base pointer.

Current semantic is not modified, thus inline operation still targets
always the same memory location.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Message-Id: <20240304130036.124418-4-pierrick.bouvier@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20240305121005.3528075-17-alex.bennee@linaro.org>
2024-03-06 12:35:26 +00:00
..
api.c plugins: implement inline operation relative to cpu_index 2024-03-06 12:35:26 +00:00
core.c plugins: implement inline operation relative to cpu_index 2024-03-06 12:35:26 +00:00
loader.c misc: Clean up includes 2024-01-30 21:20:20 +03:00
meson.build configure, meson: rename targetos to host_os 2023-12-31 09:11:29 +01:00
plugin.h plugins: implement inline operation relative to cpu_index 2024-03-06 12:35:26 +00:00
qemu-plugins.symbols plugins: define qemu_plugin_u64 2024-03-06 12:35:23 +00:00