2020-08-19 14:17:19 +03:00
|
|
|
specific_ss.add(when: 'CONFIG_SOFTMMU', if_true: [files(
|
2020-08-06 14:40:26 +03:00
|
|
|
'arch_init.c',
|
|
|
|
'balloon.c',
|
|
|
|
'cpus.c',
|
|
|
|
'cpu-throttle.c',
|
2020-10-06 10:05:29 +03:00
|
|
|
'physmem.c',
|
2020-08-06 14:40:26 +03:00
|
|
|
'ioport.c',
|
|
|
|
'memory.c',
|
|
|
|
'memory_mapping.c',
|
|
|
|
'qtest.c',
|
2020-08-19 14:17:19 +03:00
|
|
|
'vl.c',
|
|
|
|
'cpu-timers.c',
|
|
|
|
)])
|
|
|
|
|
|
|
|
specific_ss.add(when: ['CONFIG_SOFTMMU', 'CONFIG_TCG'], if_true: [files(
|
|
|
|
'icount.c'
|
|
|
|
)])
|
2020-10-06 10:01:22 +03:00
|
|
|
|
|
|
|
softmmu_ss.add(files(
|
|
|
|
'bootdevice.c',
|
|
|
|
'dma-helpers.c',
|
|
|
|
'qdev-monitor.c',
|
2020-10-06 10:05:29 +03:00
|
|
|
), sdl, libpmem, libdaxctl)
|
2020-10-06 10:01:22 +03:00
|
|
|
|
|
|
|
softmmu_ss.add(when: 'CONFIG_TPM', if_true: files('tpm.c'))
|
|
|
|
softmmu_ss.add(when: 'CONFIG_SECCOMP', if_true: [files('qemu-seccomp.c'), seccomp])
|
|
|
|
softmmu_ss.add(when: fdt, if_true: files('device_tree.c'))
|