2019-08-15 14:24:58 +03:00
|
|
|
# core qdev-related obj files, also used by *-user and unit tests
|
2021-10-28 17:34:19 +03:00
|
|
|
hwcore_ss.add(files(
|
2019-08-15 14:24:58 +03:00
|
|
|
'bus.c',
|
|
|
|
'qdev-properties.c',
|
|
|
|
'qdev.c',
|
2024-02-20 19:06:18 +03:00
|
|
|
'resetcontainer.c',
|
2019-08-15 14:24:58 +03:00
|
|
|
'resettable.c',
|
|
|
|
'vmstate-if.c',
|
|
|
|
# irq.c needed for qdev GPIO handling:
|
|
|
|
'irq.c',
|
|
|
|
'clock.c',
|
|
|
|
'qdev-clock.c',
|
2021-10-28 17:34:19 +03:00
|
|
|
))
|
2019-08-15 14:24:58 +03:00
|
|
|
|
2021-05-17 13:51:22 +03:00
|
|
|
common_ss.add(files('cpu-common.c'))
|
2021-10-26 06:46:58 +03:00
|
|
|
common_ss.add(files('machine-smp.c'))
|
2023-06-13 16:33:47 +03:00
|
|
|
system_ss.add(when: 'CONFIG_FITLOADER', if_true: files('loader-fit.c'))
|
|
|
|
system_ss.add(when: 'CONFIG_GENERIC_LOADER', if_true: files('generic-loader.c'))
|
|
|
|
system_ss.add(when: ['CONFIG_GUEST_LOADER', fdt], if_true: files('guest-loader.c'))
|
|
|
|
system_ss.add(when: 'CONFIG_OR_IRQ', if_true: files('or-irq.c'))
|
|
|
|
system_ss.add(when: 'CONFIG_PLATFORM_BUS', if_true: files('platform-bus.c'))
|
|
|
|
system_ss.add(when: 'CONFIG_PTIMER', if_true: files('ptimer.c'))
|
|
|
|
system_ss.add(when: 'CONFIG_REGISTER', if_true: files('register.c'))
|
|
|
|
system_ss.add(when: 'CONFIG_SPLIT_IRQ', if_true: files('split-irq.c'))
|
|
|
|
system_ss.add(when: 'CONFIG_XILINX_AXI', if_true: files('stream.c'))
|
|
|
|
system_ss.add(when: 'CONFIG_PLATFORM_BUS', if_true: files('sysbus-fdt.c'))
|
2019-08-15 14:24:58 +03:00
|
|
|
|
2023-06-13 16:33:47 +03:00
|
|
|
system_ss.add(files(
|
2021-05-17 13:51:22 +03:00
|
|
|
'cpu-sysemu.c',
|
2020-12-08 01:07:09 +03:00
|
|
|
'fw-path-provider.c',
|
2019-04-25 23:00:48 +03:00
|
|
|
'gpio.c',
|
2024-04-08 18:53:19 +03:00
|
|
|
'hotplug.c',
|
2019-08-15 14:24:58 +03:00
|
|
|
'loader.c',
|
|
|
|
'machine-hmp-cmds.c',
|
2023-04-24 19:04:34 +03:00
|
|
|
'machine-qmp-cmds.c',
|
2019-08-15 14:24:58 +03:00
|
|
|
'machine.c',
|
|
|
|
'nmi.c',
|
|
|
|
'null-machine.c',
|
2023-04-13 21:26:36 +03:00
|
|
|
'numa.c',
|
2019-08-15 14:24:58 +03:00
|
|
|
'qdev-fw.c',
|
2024-04-08 18:53:19 +03:00
|
|
|
'qdev-hotplug.c',
|
2019-08-15 14:24:58 +03:00
|
|
|
'qdev-properties-system.c',
|
2024-04-08 18:53:19 +03:00
|
|
|
'reset.c',
|
2019-08-15 14:24:58 +03:00
|
|
|
'sysbus.c',
|
|
|
|
'vm-change-state-handler.c',
|
|
|
|
'clock-vmstate.c',
|
|
|
|
))
|