mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-23 19:49:43 +00:00
d9f24bf572
Over the years, most parts of exec.c that were not specific to softmmu have been moved to accel/tcg; what's left is mostly the low-level part of the memory API, which includes RAMBlock and AddressSpaceDispatch. However exec.c also hosts 4-500 lines of code for the target specific parts of the CPU QOM object, plus a few functions for user-mode emulation that do not have a better place (they are not TCG-specific so accel/tcg/user-exec.c is not a good place either). Move these parts to a new file, so that exec.c can be moved to softmmu/physmem.c. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
28 lines
634 B
Meson
28 lines
634 B
Meson
specific_ss.add(when: 'CONFIG_SOFTMMU', if_true: [files(
|
|
'arch_init.c',
|
|
'balloon.c',
|
|
'cpus.c',
|
|
'cpu-throttle.c',
|
|
'physmem.c',
|
|
'ioport.c',
|
|
'memory.c',
|
|
'memory_mapping.c',
|
|
'qtest.c',
|
|
'vl.c',
|
|
'cpu-timers.c',
|
|
)])
|
|
|
|
specific_ss.add(when: ['CONFIG_SOFTMMU', 'CONFIG_TCG'], if_true: [files(
|
|
'icount.c'
|
|
)])
|
|
|
|
softmmu_ss.add(files(
|
|
'bootdevice.c',
|
|
'dma-helpers.c',
|
|
'qdev-monitor.c',
|
|
), sdl, libpmem, libdaxctl)
|
|
|
|
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'))
|