]>
Commit | Line | Data |
---|---|---|
abff1abf PB |
1 | i386_ss = ss.source_set() |
2 | i386_ss.add(files( | |
3 | 'cpu.c', | |
4 | 'gdbstub.c', | |
5 | 'helper.c', | |
6 | 'xsave_helper.c', | |
0c36af8c | 7 | 'cpu-dump.c', |
abff1abf | 8 | )) |
02eacf31 | 9 | i386_ss.add(when: 'CONFIG_SEV', if_true: files('host-cpu.c')) |
f5cc5a5c CF |
10 | |
11 | # x86 cpu type | |
12 | i386_ss.add(when: 'CONFIG_KVM', if_true: files('host-cpu.c')) | |
13 | i386_ss.add(when: 'CONFIG_HVF', if_true: files('host-cpu.c')) | |
abff1abf | 14 | |
de6cd759 PMD |
15 | i386_system_ss = ss.source_set() |
16 | i386_system_ss.add(files( | |
abff1abf PB |
17 | 'arch_dump.c', |
18 | 'arch_memory_mapping.c', | |
19 | 'machine.c', | |
20 | 'monitor.c', | |
79f1a68a | 21 | 'cpu-sysemu.c', |
abff1abf | 22 | )) |
de6cd759 | 23 | i386_system_ss.add(when: 'CONFIG_SEV', if_true: files('sev.c'), if_false: files('sev-sysemu-stub.c')) |
e24b3332 | 24 | |
222f3e6f | 25 | i386_user_ss = ss.source_set() |
abff1abf | 26 | |
a9dc68d9 | 27 | subdir('kvm') |
1fc33bb9 | 28 | subdir('whpx') |
fdc8635e | 29 | subdir('nvmm') |
abff1abf | 30 | subdir('hvf') |
1b248f14 | 31 | subdir('tcg') |
abff1abf PB |
32 | |
33 | target_arch += {'i386': i386_ss} | |
de6cd759 | 34 | target_softmmu_arch += {'i386': i386_system_ss} |
222f3e6f | 35 | target_user_arch += {'i386': i386_user_ss} |