summaryrefslogtreecommitdiffstats
path: root/target/avr
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé2021-05-17 12:51:37 +0200
committerRichard Henderson2021-05-27 00:33:59 +0200
commit08928c6d0db7d554ef041256e52330bb257bc70f (patch)
treefbe55a7f7c345e6f6cd419ed8a48e15fedfcffa1 /target/avr
parentcpu: Move CPUClass::asidx_from_attrs to SysemuCPUOps (diff)
downloadqemu-08928c6d0db7d554ef041256e52330bb257bc70f.tar.gz
qemu-08928c6d0db7d554ef041256e52330bb257bc70f.tar.xz
qemu-08928c6d0db7d554ef041256e52330bb257bc70f.zip
cpu: Move CPUClass::get_phys_page_debug to SysemuCPUOps
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20210517105140.1062037-21-f4bug@amsat.org> [rth: Drop declaration movement from target/*/cpu.h] Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'target/avr')
-rw-r--r--target/avr/cpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/avr/cpu.c b/target/avr/cpu.c
index b95caf8c0f..7551bca3a6 100644
--- a/target/avr/cpu.c
+++ b/target/avr/cpu.c
@@ -187,6 +187,7 @@ static void avr_cpu_dump_state(CPUState *cs, FILE *f, int flags)
#include "hw/core/sysemu-cpu-ops.h"
static const struct SysemuCPUOps avr_sysemu_ops = {
+ .get_phys_page_debug = avr_cpu_get_phys_page_debug,
};
#include "hw/core/tcg-cpu-ops.h"
@@ -217,7 +218,6 @@ static void avr_cpu_class_init(ObjectClass *oc, void *data)
cc->dump_state = avr_cpu_dump_state;
cc->set_pc = avr_cpu_set_pc;
cc->memory_rw_debug = avr_cpu_memory_rw_debug;
- cc->get_phys_page_debug = avr_cpu_get_phys_page_debug;
dc->vmsd = &vms_avr_cpu;
cc->sysemu_ops = &avr_sysemu_ops;
cc->disas_set_info = avr_cpu_disas_set_info;