mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-01 06:43:53 -06:00
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>
This commit is contained in:
parent
48c1a3e303
commit
e124536f37
26 changed files with 42 additions and 38 deletions
|
@ -10883,7 +10883,7 @@ static void ppc_cpu_class_init(ObjectClass *oc, void *data)
|
|||
#ifdef CONFIG_TCG
|
||||
cc->tcg_ops.initialize = ppc_translate_init;
|
||||
cc->tcg_ops.cpu_exec_interrupt = ppc_cpu_exec_interrupt;
|
||||
cc->tlb_fill = ppc_cpu_tlb_fill;
|
||||
cc->tcg_ops.tlb_fill = ppc_cpu_tlb_fill;
|
||||
#ifndef CONFIG_USER_ONLY
|
||||
cc->tcg_ops.cpu_exec_enter = ppc_cpu_exec_enter;
|
||||
cc->tcg_ops.cpu_exec_exit = ppc_cpu_exec_exit;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue