qemu-e2k/linux-user
Markus Armbruster 14a48c1d0d qemu-common: Move tcg_enabled() etc. to sysemu/tcg.h
Other accelerators have their own headers: sysemu/hax.h, sysemu/hvf.h,
sysemu/kvm.h, sysemu/whpx.h.  Only tcg_enabled() & friends sit in
qemu-common.h.  This necessitates inclusion of qemu-common.h into
headers, which is against the rules spelled out in qemu-common.h's
file comment.

Move tcg_enabled() & friends into their own header sysemu/tcg.h, and
adjust #include directives.

Cc: Richard Henderson <rth@twiddle.net>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20190523143508.25387-2-armbru@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
[Rebased with conflicts resolved automatically, except for
accel/tcg/tcg-all.c]
2019-06-11 20:22:09 +02:00
..
aarch64 target/arm: Use env_cpu, env_archcpu 2019-06-10 07:03:34 -07:00
alpha target/alpha: Use env_cpu, env_archcpu 2019-06-10 07:03:34 -07:00
arm target/arm: Use env_cpu, env_archcpu 2019-06-10 07:03:34 -07:00
cris target/cris: Use env_cpu, env_archcpu 2019-06-10 07:03:34 -07:00
generic linux-user: move generic signal definitions to generic/signal.h 2018-06-04 01:30:44 +02:00
host linux-user: Add safe_syscall for riscv64 host 2018-12-26 06:40:02 +11:00
hppa target/hppa: Use env_cpu, env_archcpu 2019-06-10 07:03:34 -07:00
i386 target/i386: Use env_cpu, env_archcpu 2019-06-10 07:03:42 -07:00
m68k target/m68k: Use env_cpu 2019-06-10 07:03:42 -07:00
microblaze target/microblaze: Use env_cpu, env_archcpu 2019-06-10 07:03:42 -07:00
mips target/mips: Use env_cpu, env_archcpu 2019-06-10 07:03:42 -07:00
mips64 linux-user: Add prctl() PR_SET_FP_MODE and PR_GET_FP_MODE implementations 2018-10-29 15:50:31 +01:00
nios2 cpu: Replace ENV_GET_CPU with env_cpu 2019-06-10 07:03:34 -07:00
openrisc target/openrisc: Use env_cpu, env_archcpu 2019-06-10 07:03:42 -07:00
ppc target/ppc: Use env_cpu, env_archcpu 2019-06-10 07:03:42 -07:00
riscv target/riscv: Use env_cpu, env_archcpu 2019-06-10 07:03:42 -07:00
s390x target/s390x: Use env_cpu, env_archcpu 2019-06-10 07:03:42 -07:00
sh4 target/sh4: Use env_cpu, env_archcpu 2019-06-10 07:03:42 -07:00
sparc target/sparc: Use env_cpu, env_archcpu 2019-06-10 07:03:42 -07:00
sparc64 linux-user/sparc64: Add inotify_rm_watch and tee syscalls 2018-06-11 14:47:45 +02:00
tilegx target/tilegx: Use env_cpu 2019-06-10 07:03:42 -07:00
x86_64 remove space-tab sequences 2019-01-11 15:46:55 +01:00
xtensa target/xtensa: Use env_cpu, env_archcpu 2019-06-10 07:03:42 -07:00
Makefile.objs target/arm: use the common interface for WRITE0/WRITEC in arm-semi 2019-05-28 10:28:50 +01:00
cpu_loop-common.h cpu: Replace ENV_GET_CPU with env_cpu 2019-06-10 07:03:34 -07:00
elfload.c cpu: Replace ENV_GET_CPU with env_cpu 2019-06-10 07:03:34 -07:00
errno_defs.h linux-user: Handle ERFKILL and EHWPOISON 2017-01-22 18:14:10 -08:00
exit.c linux-user: fix GPROF build failure 2019-05-10 12:44:23 +02:00
fd-trans.c linux-user: add new netlink types 2019-03-07 11:02:33 +01:00
fd-trans.h linux-user: move TargetFdTrans functions to their own file 2018-09-25 22:36:47 +02:00
flat.h Support for 32 bit ABI on 64 bit targets (only enabled Sparc64) 2007-10-14 16:27:31 +00:00
flatload.c linux-user/flatload: fix initial stack pointer alignment 2018-10-30 11:23:32 -07:00
ioctls.h linux-user: Add support for SIOC<G|S>IFPFLAGS ioctls for all targets 2019-05-22 20:50:55 +02:00
linux_loop.h linux-user: Add loop control ioctls 2016-07-19 15:22:33 +03:00
linuxload.c avoid TABs in files that only contain a few 2019-01-11 15:46:56 +01:00
m68k-sim.c target/m68k: Use env_cpu 2019-06-10 07:03:42 -07:00
main.c qemu-common: Move tcg_enabled() etc. to sysemu/tcg.h 2019-06-11 20:22:09 +02:00
mmap.c linux-user: Align mmap_find_vma to host page size 2019-05-24 13:16:21 +02:00
qemu.h linux-user: Fix shmat emulation by honoring host SHMLBA 2019-05-24 13:16:21 +02:00
safe-syscall.S linux-user: Provide safe_syscall for fixing races between signals and syscalls 2016-05-27 14:49:51 +03:00
signal-common.h linux-user: introduce target_sigsp() and target_save_altstack() 2018-05-03 18:29:15 +02:00
signal.c cpu: Replace ENV_GET_CPU with env_cpu 2019-06-10 07:03:34 -07:00
socket.h linux-user: update ARCH_HAS_SOCKET_TYPES use 2018-05-25 10:10:55 +02:00
strace.c linux-user: Nicer strace output of chroot() syscall 2019-03-07 10:57:29 +01:00
strace.list linux-user: Nicer strace output of chroot() syscall 2019-03-07 10:57:29 +01:00
syscall.c target/arm: Use env_cpu, env_archcpu 2019-06-10 07:03:34 -07:00
syscall_defs.h linux-user: Pass through nanosecond timestamp components for stat syscalls 2019-05-24 13:16:21 +02:00
syscall_types.h linux-user: Implement special usbfs ioctls. 2018-10-19 14:05:10 +02:00
target_flat.h linux-user/FLAT: allow targets to override FLAT processing 2011-02-09 10:33:54 +02:00
trace-events trace-events: Fix attribution of trace points to source 2019-03-22 16:18:07 +00:00
uaccess.c avoid TABs in files that only contain a few 2019-01-11 15:46:56 +01:00
uname.c cpu: Replace ENV_GET_CPU with env_cpu 2019-06-10 07:03:34 -07:00
uname.h Clean up decorations and whitespace around header guards 2016-07-12 16:20:46 +02:00
vm86.c target/i386: Use env_cpu, env_archcpu 2019-06-10 07:03:42 -07:00