ed69e8314d
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>
15 lines
311 B
Meson
15 lines
311 B
Meson
i386_ss.add(when: 'CONFIG_TCG', if_true: files(
|
|
'bpt_helper.c',
|
|
'cc_helper.c',
|
|
'excp_helper.c',
|
|
'fpu_helper.c',
|
|
'int_helper.c',
|
|
'mem_helper.c',
|
|
'misc_helper.c',
|
|
'mpx_helper.c',
|
|
'seg_helper.c',
|
|
'smm_helper.c',
|
|
'svm_helper.c',
|
|
'tcg-cpu.c',
|
|
'translate.c'), if_false: files('tcg-stub.c'))
|