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