exec: split out non-softmmu-specific parts
commitd9f24bf57241453e078dba28d16fe3a430f06da1
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 6 Oct 2020 07:05:29 +0000 (6 09:05 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 12 Oct 2020 15:50:22 +0000 (12 11:50 -0400)
tree7fde45ae523f07d26f76c8c1711628fd6ac3dae2
parent800d4deda04be016a95fbbf397c830a2d14ff9f6
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>
MAINTAINERS
cpu.c [new file with mode: 0644]
include/exec/cpu-common.h
meson.build
softmmu/meson.build
softmmu/physmem.c [moved from exec.c with 91% similarity]