mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 17:53:56 -06:00
cpu: move do_unaligned_access to tcg_ops
make it consistently SOFTMMU-only. Signed-off-by: Claudio Fontana <cfontana@suse.de> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> [claudio: make the field presence in cpu.h unconditional, removing the ifdefs] Message-Id: <20210204163931.7358-12-cfontana@suse.de> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
cbc183d2d9
commit
8535dd702d
14 changed files with 23 additions and 19 deletions
|
@ -228,7 +228,7 @@ static void nios2_cpu_class_init(ObjectClass *oc, void *data)
|
|||
cc->disas_set_info = nios2_cpu_disas_set_info;
|
||||
cc->tcg_ops.tlb_fill = nios2_cpu_tlb_fill;
|
||||
#ifndef CONFIG_USER_ONLY
|
||||
cc->do_unaligned_access = nios2_cpu_do_unaligned_access;
|
||||
cc->tcg_ops.do_unaligned_access = nios2_cpu_do_unaligned_access;
|
||||
cc->get_phys_page_debug = nios2_cpu_get_phys_page_debug;
|
||||
#endif
|
||||
cc->gdb_read_register = nios2_cpu_gdb_read_register;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue