summaryrefslogtreecommitdiffstats
path: root/target/nios2
diff options
context:
space:
mode:
authorEduardo Habkost2021-02-04 17:39:14 +0100
committerRichard Henderson2021-02-05 21:24:14 +0100
commite124536f37377cff5d68925d4976ad604d0ebf3a (patch)
treed6e5eccddbd4e129ffddd4b81874024946675d0a /target/nios2
parentcpu: Move cpu_exec_* to tcg_ops (diff)
downloadqemu-e124536f37377cff5d68925d4976ad604d0ebf3a.tar.gz
qemu-e124536f37377cff5d68925d4976ad604d0ebf3a.tar.xz
qemu-e124536f37377cff5d68925d4976ad604d0ebf3a.zip
cpu: Move tlb_fill to tcg_ops
[claudio: wrapped target code in CONFIG_TCG] Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Signed-off-by: Claudio Fontana <cfontana@suse.de> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20210204163931.7358-7-cfontana@suse.de> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'target/nios2')
-rw-r--r--target/nios2/cpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/nios2/cpu.c b/target/nios2/cpu.c
index b0d51f77f5..1384836de0 100644
--- a/target/nios2/cpu.c
+++ b/target/nios2/cpu.c
@@ -226,7 +226,7 @@ static void nios2_cpu_class_init(ObjectClass *oc, void *data)
cc->dump_state = nios2_cpu_dump_state;
cc->set_pc = nios2_cpu_set_pc;
cc->disas_set_info = nios2_cpu_disas_set_info;
- cc->tlb_fill = nios2_cpu_tlb_fill;
+ cc->tcg_ops.tlb_fill = nios2_cpu_tlb_fill;
#ifndef CONFIG_USER_ONLY
cc->do_unaligned_access = nios2_cpu_do_unaligned_access;
cc->get_phys_page_debug = nios2_cpu_get_phys_page_debug;