2020-08-07 12:10:23 +02:00
|
|
|
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'))
|
|
|
|
|
2023-06-13 15:33:47 +02:00
|
|
|
sparc_system_ss = ss.source_set()
|
|
|
|
sparc_system_ss.add(files(
|
2020-08-07 12:10:23 +02:00
|
|
|
'machine.c',
|
2021-09-15 17:05:53 +02:00
|
|
|
'mmu_helper.c',
|
2020-08-07 12:10:23 +02:00
|
|
|
'monitor.c',
|
|
|
|
))
|
|
|
|
|
|
|
|
target_arch += {'sparc': sparc_ss}
|
2023-06-13 15:33:47 +02:00
|
|
|
target_softmmu_arch += {'sparc': sparc_system_ss}
|