mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-27 13:30:52 +00:00
caac44a52a
The fallback code in cpu_loop_exit_sigsegv is sufficient for sparc linux-user. This makes all of the code in mmu_helper.c sysemu only, so remove the ifdefs and move the file to sparc_softmmu_ss. Remove the code from cpu_loop that handled TT_DFAULT and TT_TFAULT. Cc: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
24 lines
537 B
Meson
24 lines
537 B
Meson
sparc_ss = ss.source_set()
|
|
sparc_ss.add(files(
|
|
'cc_helper.c',
|
|
'cpu.c',
|
|
'fop_helper.c',
|
|
'gdbstub.c',
|
|
'helper.c',
|
|
'ldst_helper.c',
|
|
'translate.c',
|
|
'win_helper.c',
|
|
))
|
|
sparc_ss.add(when: 'TARGET_SPARC', if_true: files('int32_helper.c'))
|
|
sparc_ss.add(when: 'TARGET_SPARC64', if_true: files('int64_helper.c', 'vis_helper.c'))
|
|
|
|
sparc_softmmu_ss = ss.source_set()
|
|
sparc_softmmu_ss.add(files(
|
|
'machine.c',
|
|
'mmu_helper.c',
|
|
'monitor.c',
|
|
))
|
|
|
|
target_arch += {'sparc': sparc_ss}
|
|
target_softmmu_arch += {'sparc': sparc_softmmu_ss}
|