summaryrefslogtreecommitdiffstats
path: root/include/exec
diff options
context:
space:
mode:
authorPaolo Bonzini2020-10-06 09:05:29 +0200
committerPaolo Bonzini2020-10-12 17:50:22 +0200
commitd9f24bf57241453e078dba28d16fe3a430f06da1 (patch)
tree7fde45ae523f07d26f76c8c1711628fd6ac3dae2 /include/exec
parentsoftmmu: move more files to softmmu/ (diff)
downloadqemu-d9f24bf57241453e078dba28d16fe3a430f06da1.tar.gz
qemu-d9f24bf57241453e078dba28d16fe3a430f06da1.tar.xz
qemu-d9f24bf57241453e078dba28d16fe3a430f06da1.zip
exec: split out non-softmmu-specific parts
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>
Diffstat (limited to 'include/exec')
-rw-r--r--include/exec/cpu-common.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/exec/cpu-common.h b/include/exec/cpu-common.h
index d5e285d2b5..19805ed6db 100644
--- a/include/exec/cpu-common.h
+++ b/include/exec/cpu-common.h
@@ -14,6 +14,9 @@ void cpu_list_unlock(void);
void tcg_flush_softmmu_tlb(CPUState *cs);
+void tcg_iommu_init_notifier_list(CPUState *cpu);
+void tcg_iommu_free_notifier_list(CPUState *cpu);
+
#if !defined(CONFIG_USER_ONLY)
enum device_endian {