2020-08-07 13:10:23 +03:00
|
|
|
i386_ss = ss.source_set()
|
|
|
|
i386_ss.add(files(
|
|
|
|
'cpu.c',
|
|
|
|
'gdbstub.c',
|
|
|
|
'helper.c',
|
|
|
|
'xsave_helper.c',
|
2020-12-12 18:55:13 +03:00
|
|
|
'cpu-dump.c',
|
2020-08-07 13:10:23 +03: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 18:55:08 +03:00
|
|
|
subdir('kvm')
|
2020-12-12 18:55:10 +03:00
|
|
|
subdir('hax')
|
2020-12-12 18:55:09 +03:00
|
|
|
subdir('whpx')
|
2020-08-07 13:10:23 +03:00
|
|
|
subdir('hvf')
|
2020-12-12 18:55:12 +03:00
|
|
|
subdir('tcg')
|
2020-08-07 13:10:23 +03:00
|
|
|
|
|
|
|
target_arch += {'i386': i386_ss}
|
|
|
|
target_softmmu_arch += {'i386': i386_softmmu_ss}
|