mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-27 04:13:53 -06:00
accel/tcg: Move @plugin_mem_cbs from CPUState to CPUNegativeOffsetState
@plugin_mem_cbs is accessed by tcg generated code, move it to CPUNegativeOffsetState. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20240429213050.55177-4-philmd@linaro.org>
This commit is contained in:
parent
fc44d592db
commit
80f034c5b2
5 changed files with 13 additions and 12 deletions
|
@ -533,7 +533,7 @@ void exec_inline_op(struct qemu_plugin_dyn_cb *cb, int cpu_index)
|
|||
void qemu_plugin_vcpu_mem_cb(CPUState *cpu, uint64_t vaddr,
|
||||
MemOpIdx oi, enum qemu_plugin_mem_rw rw)
|
||||
{
|
||||
GArray *arr = cpu->plugin_mem_cbs;
|
||||
GArray *arr = cpu->neg.plugin_mem_cbs;
|
||||
size_t i;
|
||||
|
||||
if (arr == NULL) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue