summaryrefslogtreecommitdiffstats
path: root/target/tricore
diff options
context:
space:
mode:
authorEduardo Habkost2021-02-04 17:39:12 +0100
committerRichard Henderson2021-02-05 21:24:14 +0100
commitec62595bab1873c48a34849de70011093177e769 (patch)
tree20940ca78ba9bf0fc1972f395fd0e5439ab1257d /target/tricore
parentaccel/tcg: split TCG-only code from cpu_exec_realizefn (diff)
downloadqemu-ec62595bab1873c48a34849de70011093177e769.tar.gz
qemu-ec62595bab1873c48a34849de70011093177e769.tar.xz
qemu-ec62595bab1873c48a34849de70011093177e769.zip
cpu: Move synchronize_from_tb() to tcg_ops
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> [claudio: wrapped target code in CONFIG_TCG, reworded comments] Signed-off-by: Claudio Fontana <cfontana@suse.de> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Message-Id: <20210204163931.7358-5-cfontana@suse.de> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'target/tricore')
-rw-r--r--target/tricore/cpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/tricore/cpu.c b/target/tricore/cpu.c
index bf135af40f..09cc6a0e62 100644
--- a/target/tricore/cpu.c
+++ b/target/tricore/cpu.c
@@ -162,7 +162,7 @@ static void tricore_cpu_class_init(ObjectClass *c, void *data)
cc->dump_state = tricore_cpu_dump_state;
cc->set_pc = tricore_cpu_set_pc;
- cc->synchronize_from_tb = tricore_cpu_synchronize_from_tb;
+ cc->tcg_ops.synchronize_from_tb = tricore_cpu_synchronize_from_tb;
cc->get_phys_page_debug = tricore_cpu_get_phys_page_debug;
cc->tcg_ops.initialize = tricore_tcg_init;
cc->tlb_fill = tricore_cpu_tlb_fill;