mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 02:03: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
|
@ -510,7 +510,7 @@ static void s390_cpu_class_init(ObjectClass *oc, void *data)
|
|||
#ifdef CONFIG_TCG
|
||||
cc->tcg_ops.cpu_exec_interrupt = s390_cpu_exec_interrupt;
|
||||
cc->tcg_ops.debug_excp_handler = s390x_cpu_debug_excp_handler;
|
||||
cc->do_unaligned_access = s390x_cpu_do_unaligned_access;
|
||||
cc->tcg_ops.do_unaligned_access = s390x_cpu_do_unaligned_access;
|
||||
#endif
|
||||
#endif
|
||||
cc->disas_set_info = s390_cpu_disas_set_info;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue