Hi,
These patches are extracted from a bigger work where
"exec/{exec,cpu,translate}-all.h" are split in various
specific APIs. This helped:
- differenciate/build:
. user VS system
. target-specific VS generic
which is necessary for heterogeneous build
- reduced header pressure
- clarify APIs
This series is focused on user (vs system) cleanups.
More useful changes will come after.
Regards,
Phil.
Philippe Mathieu-Daudé (24):
exec: Include 'cpu.h' before validating CPUArchState placement
exec: Expose 'target_page.h' API to user emulation
target: Define TCG_GUEST_DEFAULT_MO in 'cpu-param.h'
accel: Include missing 'exec/cpu_ldst.h' header
semihosting/uaccess: Avoid including 'cpu.h'
semihosting/guestfd: Remove unused 'semihosting/uaccess.h' header
host/load-extract: Include missing 'qemu/atomic.h' and 'qemu/int128.h'
host/atomic128: Include missing 'qemu/atomic.h' header
hw/ppc/spapr_hcall: Remove unused 'exec/exec-all.h' included header
hw/misc/mips_itu: Remove unnecessary 'exec/exec-all.h' header
hw/s390x/ipl: Remove unused 'exec/exec-all.h' included header
target/i386: Include missing 'exec/exec-all.h' header
accel/tcg: Include missing 'hw/core/cpu.h' header
gdbstub: Include missing 'hw/core/cpu.h' header
exec/cpu-all: Remove unused headers
exec/cpu-all: Reduce 'qemu/rcu.h' header inclusion
target/ppc/excp_helper: Avoid 'abi_ptr' in system emulation
accel/tcg: Un-inline retaddr helpers to 'user-retaddr.h'
exec/user: Do not include 'cpu.h' in 'abitypes.h'
exec: Declare abi_ptr type in its own 'tcg/abi_ptr.h' header
exec/cpu_ldst: Avoid including 'cpu.h'
exec/cpu-all: Restrict inclusion of 'exec/user/guest-base.h'
exec/cpu-all: Extract page-protection definitions to
page-prot-common.h
target: Restrict 'sysemu/reset.h' to system emulation