]> git.proxmox.com Git - mirror_qemu.git/commit
i386: move TCG cpu class initialization to tcg/
authorClaudio Fontana <cfontana@suse.de>
Sat, 12 Dec 2020 15:55:14 +0000 (16:55 +0100)
committerEduardo Habkost <ehabkost@redhat.com>
Wed, 16 Dec 2020 20:50:33 +0000 (15:50 -0500)
commited69e8314d403d1bfa8c0210f850ffe69bb89dbe
tree629fc692c434477b8f1121520dda9a7b7adfb8e6
parent40399ecb6959ae696c235097c773d776392fde1f
i386: move TCG cpu class initialization to tcg/

to do this, we need to take code out of cpu.c and helper.c,
and also move some prototypes from cpu.h, for code that is
needed in tcg/xxx_helper.c, and which in turn is part of the
callbacks registered by the class initialization.

Therefore, do some shuffling of the parts of cpu.h that
are only relevant for tcg/, and put them in tcg/helper-tcg.h

For FT0 and similar macros, put them in tcg/fpu-helper.c
since they are used only there.

Signed-off-by: Claudio Fontana <cfontana@suse.de>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20201212155530.23098-8-cfontana@suse.de>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
19 files changed:
target/i386/cpu.c
target/i386/cpu.h
target/i386/helper.c
target/i386/tcg/bpt_helper.c
target/i386/tcg/cc_helper.c
target/i386/tcg/excp_helper.c
target/i386/tcg/fpu_helper.c
target/i386/tcg/helper-tcg.h [new file with mode: 0644]
target/i386/tcg/int_helper.c
target/i386/tcg/mem_helper.c
target/i386/tcg/meson.build
target/i386/tcg/misc_helper.c
target/i386/tcg/mpx_helper.c
target/i386/tcg/seg_helper.c
target/i386/tcg/smm_helper.c
target/i386/tcg/svm_helper.c
target/i386/tcg/tcg-cpu.c [new file with mode: 0644]
target/i386/tcg/tcg-cpu.h [new file with mode: 0644]
target/i386/tcg/translate.c