1 i386_ss = ss.source_set()
5 'e820_memory_layout.c',
10 i386_ss.add(when: 'CONFIG_X86_IOMMU', if_true: files('x86-iommu.c'),
11 if_false: files('x86-iommu-stub.c'))
12 i386_ss.add(when: 'CONFIG_AMD_IOMMU', if_true: files('amd_iommu.c'))
13 i386_ss.add(when: 'CONFIG_I440FX', if_true: files('pc_piix.c'))
14 i386_ss.add(when: 'CONFIG_MICROVM', if_true: files('microvm.c', 'acpi-microvm.c', 'microvm-dt.c'))
15 i386_ss.add(when: 'CONFIG_Q35', if_true: files('pc_q35.c'))
16 i386_ss.add(when: 'CONFIG_VMMOUSE', if_true: files('vmmouse.c'))
17 i386_ss.add(when: 'CONFIG_VMPORT', if_true: files('vmport.c'))
18 i386_ss.add(when: 'CONFIG_VTD', if_true: files('intel_iommu.c'))
19 i386_ss.add(when: 'CONFIG_SGX', if_true: files('sgx-epc.c','sgx.c'),
20 if_false: files('sgx-stub.c'))
22 i386_ss.add(when: 'CONFIG_ACPI', if_true: files('acpi-common.c'))
23 i386_ss.add(when: 'CONFIG_ACPI_HW_REDUCED', if_true: files('generic_event_device_x86.c'))
24 i386_ss.add(when: 'CONFIG_PC', if_true: files(
29 i386_ss.add(when: 'CONFIG_X86_FW_OVMF', if_true: files('pc_sysfw_ovmf.c'),
30 if_false: files('pc_sysfw_ovmf-stubs.c'))
35 i386_ss.add_all(xenpv_ss)
37 hw_arch += {'i386': i386_ss}