2020-08-07 10:10:23 +00:00
|
|
|
i386_ss = ss.source_set()
|
|
|
|
i386_ss.add(files(
|
|
|
|
'cpu.c',
|
|
|
|
'gdbstub.c',
|
|
|
|
'helper.c',
|
|
|
|
'xsave_helper.c',
|
2020-12-12 15:55:13 +00:00
|
|
|
'cpu-dump.c',
|
2020-08-07 10:10:23 +00:00
|
|
|
))
|
|
|
|
i386_ss.add(when: 'CONFIG_SEV', if_true: files('sev.c'), if_false: files('sev-stub.c'))
|
|
|
|
|
|
|
|
i386_softmmu_ss = ss.source_set()
|
|
|
|
i386_softmmu_ss.add(files(
|
|
|
|
'arch_dump.c',
|
|
|
|
'arch_memory_mapping.c',
|
|
|
|
'machine.c',
|
|
|
|
'monitor.c',
|
|
|
|
))
|
|
|
|
|
2020-12-12 15:55:08 +00:00
|
|
|
subdir('kvm')
|
2020-12-12 15:55:10 +00:00
|
|
|
subdir('hax')
|
2020-12-12 15:55:09 +00:00
|
|
|
subdir('whpx')
|
2020-08-07 10:10:23 +00:00
|
|
|
subdir('hvf')
|
2020-12-12 15:55:12 +00:00
|
|
|
subdir('tcg')
|
2020-08-07 10:10:23 +00:00
|
|
|
|
|
|
|
target_arch += {'i386': i386_ss}
|
|
|
|
target_softmmu_arch += {'i386': i386_softmmu_ss}
|