From 2b41f10e186ccb4f0058815161586f8d6d006ea3 Mon Sep 17 00:00:00 2001 From: Blue Swirl Date: Sun, 19 Jun 2011 20:38:22 +0000 Subject: [PATCH] Remove exec-all.h include directives Most exec-all.h include directives are now useless, remove them. Signed-off-by: Blue Swirl --- bsd-user/main.c | 2 +- cpus.c | 1 - disas.c | 1 - exec.c | 1 - gdbstub.c | 2 +- hw/sh7750.c | 1 - hw/spapr_hcall.c | 1 - kvm-stub.c | 2 +- linux-user/main.c | 3 +-- monitor.c | 2 +- target-alpha/exec.h | 1 - target-alpha/helper.c | 1 - target-alpha/translate.c | 1 - target-arm/exec.h | 1 - target-arm/helper.c | 1 - target-arm/translate.c | 1 - target-cris/exec.h | 1 - target-cris/helper.c | 1 - target-cris/mmu.c | 1 - target-cris/translate.c | 1 - target-i386/exec.h | 1 - target-i386/helper.c | 1 - target-i386/machine.c | 2 +- target-i386/op_helper.c | 1 - target-i386/translate.c | 1 - target-lm32/exec.h | 1 - target-lm32/helper.c | 1 - target-lm32/translate.c | 1 - target-m68k/exec.h | 1 - target-m68k/helper.c | 1 - target-m68k/translate.c | 1 - target-microblaze/exec.h | 1 - target-microblaze/helper.c | 1 - target-microblaze/mmu.c | 1 - target-microblaze/translate.c | 1 - target-mips/exec.h | 1 - target-mips/helper.c | 1 - target-mips/machine.c | 2 +- target-mips/translate.c | 1 - target-ppc/exec.h | 1 - target-ppc/helper.c | 1 - target-ppc/translate.c | 1 - target-s390x/exec.h | 1 - target-s390x/helper.c | 1 - target-s390x/translate.c | 1 - target-sh4/exec.h | 1 - target-sh4/helper.c | 1 - target-sh4/translate.c | 1 - target-sparc/helper.c | 1 - target-sparc/machine.c | 2 +- target-sparc/translate.c | 1 - target-unicore32/exec.h | 1 - target-unicore32/helper.c | 1 - target-unicore32/translate.c | 1 - tcg/tcg.c | 1 - translate-all.c | 1 - xen-mapcache-stub.c | 1 - 57 files changed, 8 insertions(+), 58 deletions(-) diff --git a/bsd-user/main.c b/bsd-user/main.c index 0af8a7e7f..5f790b255 100644 --- a/bsd-user/main.c +++ b/bsd-user/main.c @@ -29,7 +29,7 @@ #include "qemu.h" #include "qemu-common.h" /* For tb_lock */ -#include "exec-all.h" +#include "cpu.h" #include "tcg.h" #include "qemu-timer.h" #include "envlist.h" diff --git a/cpus.c b/cpus.c index 0699f378b..e2997941f 100644 --- a/cpus.c +++ b/cpus.c @@ -30,7 +30,6 @@ #include "gdbstub.h" #include "dma.h" #include "kvm.h" -#include "exec-all.h" #include "qemu-thread.h" #include "cpus.h" diff --git a/disas.c b/disas.c index d208c5240..1334b8e0f 100644 --- a/disas.c +++ b/disas.c @@ -5,7 +5,6 @@ #include #include "cpu.h" -#include "exec-all.h" #include "disas.h" /* Filled in by elfload.c. Simplistic, but will do for now. */ diff --git a/exec.c b/exec.c index b03b5bed8..21507fb4a 100644 --- a/exec.c +++ b/exec.c @@ -26,7 +26,6 @@ #include "qemu-common.h" #include "cpu.h" -#include "exec-all.h" #include "tcg.h" #include "hw/hw.h" #include "hw/qdev.h" diff --git a/gdbstub.c b/gdbstub.c index b9ae30dd7..c085a5afb 100644 --- a/gdbstub.c +++ b/gdbstub.c @@ -37,7 +37,7 @@ #define MAX_PACKET_LENGTH 4096 -#include "exec-all.h" +#include "cpu.h" #include "qemu_socket.h" #include "kvm.h" diff --git a/hw/sh7750.c b/hw/sh7750.c index 19d5bf853..4f279e7e5 100644 --- a/hw/sh7750.c +++ b/hw/sh7750.c @@ -29,7 +29,6 @@ #include "sh7750_regs.h" #include "sh7750_regnames.h" #include "sh_intc.h" -#include "exec-all.h" #include "cpu.h" #define NB_DEVICES 4 diff --git a/hw/spapr_hcall.c b/hw/spapr_hcall.c index 43c441dc7..84da8fc69 100644 --- a/hw/spapr_hcall.c +++ b/hw/spapr_hcall.c @@ -3,7 +3,6 @@ #include "qemu-char.h" #include "sysemu.h" #include "qemu-char.h" -#include "exec-all.h" #include "exec.h" #include "helper_regs.h" #include "hw/spapr.h" diff --git a/kvm-stub.c b/kvm-stub.c index 1e835c671..06064b9a8 100644 --- a/kvm-stub.c +++ b/kvm-stub.c @@ -12,7 +12,7 @@ #include "qemu-common.h" #include "hw/hw.h" -#include "exec-all.h" +#include "cpu.h" #include "gdbstub.h" #include "kvm.h" diff --git a/linux-user/main.c b/linux-user/main.c index 71dd25378..1c91c30dc 100644 --- a/linux-user/main.c +++ b/linux-user/main.c @@ -29,8 +29,7 @@ #include "qemu.h" #include "qemu-common.h" #include "cache-utils.h" -/* For tb_lock */ -#include "exec-all.h" +#include "cpu.h" #include "tcg.h" #include "qemu-timer.h" #include "envlist.h" diff --git a/monitor.c b/monitor.c index 6af6a4d99..67ceb46a6 100644 --- a/monitor.c +++ b/monitor.c @@ -56,7 +56,7 @@ #include "json-streamer.h" #include "json-parser.h" #include "osdep.h" -#include "exec-all.h" +#include "cpu.h" #ifdef CONFIG_SIMPLE_TRACE #include "trace.h" #endif diff --git a/target-alpha/exec.h b/target-alpha/exec.h index f5089963b..afb01d372 100644 --- a/target-alpha/exec.h +++ b/target-alpha/exec.h @@ -31,7 +31,6 @@ register struct CPUAlphaState *env asm(AREG0); #define FP_STATUS (env->fp_status) #include "cpu.h" -#include "exec-all.h" #if !defined(CONFIG_USER_ONLY) #include "softmmu_exec.h" diff --git a/target-alpha/helper.c b/target-alpha/helper.c index 32c2cf9db..7049c80d5 100644 --- a/target-alpha/helper.c +++ b/target-alpha/helper.c @@ -22,7 +22,6 @@ #include #include "cpu.h" -#include "exec-all.h" #include "softfloat.h" uint64_t cpu_alpha_load_fpcr (CPUState *env) diff --git a/target-alpha/translate.c b/target-alpha/translate.c index 936760c5a..c61906a8b 100644 --- a/target-alpha/translate.c +++ b/target-alpha/translate.c @@ -22,7 +22,6 @@ #include #include "cpu.h" -#include "exec-all.h" #include "disas.h" #include "host-utils.h" #include "tcg-op.h" diff --git a/target-arm/exec.h b/target-arm/exec.h index 007b7cb6d..6793288d4 100644 --- a/target-arm/exec.h +++ b/target-arm/exec.h @@ -22,7 +22,6 @@ register struct CPUARMState *env asm(AREG0); #include "cpu.h" -#include "exec-all.h" #if !defined(CONFIG_USER_ONLY) #include "softmmu_exec.h" diff --git a/target-arm/helper.c b/target-arm/helper.c index 12084167d..f4d12aab5 100644 --- a/target-arm/helper.c +++ b/target-arm/helper.c @@ -3,7 +3,6 @@ #include #include "cpu.h" -#include "exec-all.h" #include "gdbstub.h" #include "helper.h" #include "qemu-common.h" diff --git a/target-arm/translate.c b/target-arm/translate.c index f5507ec3b..badbc5ff3 100644 --- a/target-arm/translate.c +++ b/target-arm/translate.c @@ -25,7 +25,6 @@ #include #include "cpu.h" -#include "exec-all.h" #include "disas.h" #include "tcg-op.h" #include "qemu-log.h" diff --git a/target-cris/exec.h b/target-cris/exec.h index 983815917..3294abe39 100644 --- a/target-cris/exec.h +++ b/target-cris/exec.h @@ -22,7 +22,6 @@ register struct CPUCRISState *env asm(AREG0); #include "cpu.h" -#include "exec-all.h" #if !defined(CONFIG_USER_ONLY) #include "softmmu_exec.h" diff --git a/target-cris/helper.c b/target-cris/helper.c index 2a4403b84..962d21417 100644 --- a/target-cris/helper.c +++ b/target-cris/helper.c @@ -24,7 +24,6 @@ #include "config.h" #include "cpu.h" #include "mmu.h" -#include "exec-all.h" #include "host-utils.h" diff --git a/target-cris/mmu.c b/target-cris/mmu.c index 124374559..d481e3935 100644 --- a/target-cris/mmu.c +++ b/target-cris/mmu.c @@ -27,7 +27,6 @@ #include "config.h" #include "cpu.h" #include "mmu.h" -#include "exec-all.h" #ifdef DEBUG #define D(x) x diff --git a/target-cris/translate.c b/target-cris/translate.c index e2607d64c..dd85859c0 100644 --- a/target-cris/translate.c +++ b/target-cris/translate.c @@ -30,7 +30,6 @@ #include #include "cpu.h" -#include "exec-all.h" #include "disas.h" #include "tcg-op.h" #include "helper.h" diff --git a/target-i386/exec.h b/target-i386/exec.h index 90a6b3688..dd9bce4ee 100644 --- a/target-i386/exec.h +++ b/target-i386/exec.h @@ -34,7 +34,6 @@ register struct CPUX86State *env asm(AREG0); #include "qemu-log.h" #include "cpu.h" -#include "exec-all.h" /* op_helper.c */ void QEMU_NORETURN raise_exception_err(int exception_index, int error_code); diff --git a/target-i386/helper.c b/target-i386/helper.c index 509d68ca0..e9be10429 100644 --- a/target-i386/helper.c +++ b/target-i386/helper.c @@ -23,7 +23,6 @@ #include #include "cpu.h" -#include "exec-all.h" #include "qemu-common.h" #include "kvm.h" #ifndef CONFIG_USER_ONLY diff --git a/target-i386/machine.c b/target-i386/machine.c index 7662aa20b..9aca8e052 100644 --- a/target-i386/machine.c +++ b/target-i386/machine.c @@ -3,7 +3,7 @@ #include "hw/pc.h" #include "hw/isa.h" -#include "exec-all.h" +#include "cpu.h" #include "kvm.h" static const VMStateDescription vmstate_segment = { diff --git a/target-i386/op_helper.c b/target-i386/op_helper.c index db038a7fc..315e18b9a 100644 --- a/target-i386/op_helper.c +++ b/target-i386/op_helper.c @@ -19,7 +19,6 @@ #include #include "exec.h" -#include "exec-all.h" #include "host-utils.h" #include "ioport.h" diff --git a/target-i386/translate.c b/target-i386/translate.c index 10bd72a0e..ccef381be 100644 --- a/target-i386/translate.c +++ b/target-i386/translate.c @@ -24,7 +24,6 @@ #include #include "cpu.h" -#include "exec-all.h" #include "disas.h" #include "tcg-op.h" diff --git a/target-lm32/exec.h b/target-lm32/exec.h index 61eb914cf..2a227b295 100644 --- a/target-lm32/exec.h +++ b/target-lm32/exec.h @@ -22,7 +22,6 @@ register struct CPULM32State *env asm(AREG0); #include "cpu.h" -#include "exec-all.h" static inline int cpu_halted(CPUState *env) { diff --git a/target-lm32/helper.c b/target-lm32/helper.c index 4f3e7e0fc..e79428d8e 100644 --- a/target-lm32/helper.c +++ b/target-lm32/helper.c @@ -23,7 +23,6 @@ #include "config.h" #include "cpu.h" -#include "exec-all.h" #include "host-utils.h" int cpu_lm32_handle_mmu_fault(CPUState *env, target_ulong address, int rw, diff --git a/target-lm32/translate.c b/target-lm32/translate.c index 5e197258e..0be105d01 100644 --- a/target-lm32/translate.c +++ b/target-lm32/translate.c @@ -25,7 +25,6 @@ #include #include "cpu.h" -#include "exec-all.h" #include "disas.h" #include "helper.h" #include "tcg-op.h" diff --git a/target-m68k/exec.h b/target-m68k/exec.h index 568260c3d..93e791214 100644 --- a/target-m68k/exec.h +++ b/target-m68k/exec.h @@ -22,7 +22,6 @@ register struct CPUM68KState *env asm(AREG0); #include "cpu.h" -#include "exec-all.h" #if !defined(CONFIG_USER_ONLY) #include "softmmu_exec.h" diff --git a/target-m68k/helper.c b/target-m68k/helper.c index faa8c42ae..a936fe7b7 100644 --- a/target-m68k/helper.c +++ b/target-m68k/helper.c @@ -23,7 +23,6 @@ #include "config.h" #include "cpu.h" -#include "exec-all.h" #include "qemu-common.h" #include "gdbstub.h" diff --git a/target-m68k/translate.c b/target-m68k/translate.c index 26f0ee42e..0e7f1fe2c 100644 --- a/target-m68k/translate.c +++ b/target-m68k/translate.c @@ -25,7 +25,6 @@ #include "config.h" #include "cpu.h" -#include "exec-all.h" #include "disas.h" #include "tcg-op.h" #include "qemu-log.h" diff --git a/target-microblaze/exec.h b/target-microblaze/exec.h index b7f85cf3a..71b4d397e 100644 --- a/target-microblaze/exec.h +++ b/target-microblaze/exec.h @@ -21,7 +21,6 @@ register struct CPUMBState *env asm(AREG0); #include "cpu.h" -#include "exec-all.h" #if !defined(CONFIG_USER_ONLY) #include "softmmu_exec.h" diff --git a/target-microblaze/helper.c b/target-microblaze/helper.c index a623c7b04..299259c3f 100644 --- a/target-microblaze/helper.c +++ b/target-microblaze/helper.c @@ -23,7 +23,6 @@ #include "config.h" #include "cpu.h" -#include "exec-all.h" #include "host-utils.h" #define D(x) diff --git a/target-microblaze/mmu.c b/target-microblaze/mmu.c index b38f7d98b..281fc8d8c 100644 --- a/target-microblaze/mmu.c +++ b/target-microblaze/mmu.c @@ -22,7 +22,6 @@ #include "config.h" #include "cpu.h" -#include "exec-all.h" #define D(x) diff --git a/target-microblaze/translate.c b/target-microblaze/translate.c index b47b92e90..31e8306ef 100644 --- a/target-microblaze/translate.c +++ b/target-microblaze/translate.c @@ -25,7 +25,6 @@ #include #include "cpu.h" -#include "exec-all.h" #include "disas.h" #include "tcg-op.h" #include "helper.h" diff --git a/target-mips/exec.h b/target-mips/exec.h index a3a7262a8..e787e9a8b 100644 --- a/target-mips/exec.h +++ b/target-mips/exec.h @@ -11,7 +11,6 @@ register struct CPUMIPSState *env asm(AREG0); #include "cpu.h" -#include "exec-all.h" #if !defined(CONFIG_USER_ONLY) #include "softmmu_exec.h" diff --git a/target-mips/helper.c b/target-mips/helper.c index 0f057c217..ecf6182f5 100644 --- a/target-mips/helper.c +++ b/target-mips/helper.c @@ -24,7 +24,6 @@ #include #include "cpu.h" -#include "exec-all.h" enum { TLBRET_DIRTY = -4, diff --git a/target-mips/machine.c b/target-mips/machine.c index 9ffac711c..be72b36de 100644 --- a/target-mips/machine.c +++ b/target-mips/machine.c @@ -1,7 +1,7 @@ #include "hw/hw.h" #include "hw/boards.h" -#include "exec-all.h" +#include "cpu.h" static void save_tc(QEMUFile *f, TCState *tc) { diff --git a/target-mips/translate.c b/target-mips/translate.c index 4eaa8261c..2848c6a69 100644 --- a/target-mips/translate.c +++ b/target-mips/translate.c @@ -27,7 +27,6 @@ #include #include "cpu.h" -#include "exec-all.h" #include "disas.h" #include "tcg-op.h" #include "qemu-common.h" diff --git a/target-ppc/exec.h b/target-ppc/exec.h index 1e144bee3..f4453e496 100644 --- a/target-ppc/exec.h +++ b/target-ppc/exec.h @@ -24,7 +24,6 @@ #include "dyngen-exec.h" #include "cpu.h" -#include "exec-all.h" register struct CPUPPCState *env asm(AREG0); diff --git a/target-ppc/helper.c b/target-ppc/helper.c index cf2a368b5..395ea0e54 100644 --- a/target-ppc/helper.c +++ b/target-ppc/helper.c @@ -23,7 +23,6 @@ #include #include "cpu.h" -#include "exec-all.h" #include "helper_regs.h" #include "qemu-common.h" #include "kvm.h" diff --git a/target-ppc/translate.c b/target-ppc/translate.c index 59aef855d..0a03b4465 100644 --- a/target-ppc/translate.c +++ b/target-ppc/translate.c @@ -24,7 +24,6 @@ #include #include "cpu.h" -#include "exec-all.h" #include "disas.h" #include "tcg-op.h" #include "qemu-common.h" diff --git a/target-s390x/exec.h b/target-s390x/exec.h index d40640b67..fb73f3180 100644 --- a/target-s390x/exec.h +++ b/target-s390x/exec.h @@ -23,7 +23,6 @@ register struct CPUS390XState *env asm(AREG0); #include "config.h" #include "cpu.h" -#include "exec-all.h" #if !defined(CONFIG_USER_ONLY) #include "softmmu_exec.h" diff --git a/target-s390x/helper.c b/target-s390x/helper.c index 745d8c52b..1ce7079af 100644 --- a/target-s390x/helper.c +++ b/target-s390x/helper.c @@ -23,7 +23,6 @@ #include #include "cpu.h" -#include "exec-all.h" #include "gdbstub.h" #include "qemu-common.h" #include "qemu-timer.h" diff --git a/target-s390x/translate.c b/target-s390x/translate.c index eda4624d1..77fb4482a 100644 --- a/target-s390x/translate.c +++ b/target-s390x/translate.c @@ -35,7 +35,6 @@ #endif #include "cpu.h" -#include "exec-all.h" #include "disas.h" #include "tcg-op.h" #include "qemu-log.h" diff --git a/target-sh4/exec.h b/target-sh4/exec.h index a53767298..4a6ae5889 100644 --- a/target-sh4/exec.h +++ b/target-sh4/exec.h @@ -25,7 +25,6 @@ register struct CPUSH4State *env asm(AREG0); #include "cpu.h" -#include "exec-all.h" #ifndef CONFIG_USER_ONLY #include "softmmu_exec.h" diff --git a/target-sh4/helper.c b/target-sh4/helper.c index 8f36d313c..20e9b134d 100644 --- a/target-sh4/helper.c +++ b/target-sh4/helper.c @@ -24,7 +24,6 @@ #include #include "cpu.h" -#include "exec-all.h" #include "hw/sh_intc.h" #if defined(CONFIG_USER_ONLY) diff --git a/target-sh4/translate.c b/target-sh4/translate.c index 93c863650..569bc738c 100644 --- a/target-sh4/translate.c +++ b/target-sh4/translate.c @@ -27,7 +27,6 @@ //#define SH4_SINGLE_STEP #include "cpu.h" -#include "exec-all.h" #include "disas.h" #include "tcg-op.h" #include "qemu-common.h" diff --git a/target-sparc/helper.c b/target-sparc/helper.c index 6b3510585..7eea1acbd 100644 --- a/target-sparc/helper.c +++ b/target-sparc/helper.c @@ -23,7 +23,6 @@ #include #include "cpu.h" -#include "exec-all.h" #include "qemu-common.h" //#define DEBUG_MMU diff --git a/target-sparc/machine.c b/target-sparc/machine.c index bae23c54e..56ae0412c 100644 --- a/target-sparc/machine.c +++ b/target-sparc/machine.c @@ -2,7 +2,7 @@ #include "hw/boards.h" #include "qemu-timer.h" -#include "exec-all.h" +#include "cpu.h" void cpu_save(QEMUFile *f, void *opaque) { diff --git a/target-sparc/translate.c b/target-sparc/translate.c index 0cc47e9ff..992cd77e7 100644 --- a/target-sparc/translate.c +++ b/target-sparc/translate.c @@ -25,7 +25,6 @@ #include #include "cpu.h" -#include "exec-all.h" #include "disas.h" #include "helper.h" #include "tcg-op.h" diff --git a/target-unicore32/exec.h b/target-unicore32/exec.h index 6b9b49964..7912105e3 100644 --- a/target-unicore32/exec.h +++ b/target-unicore32/exec.h @@ -16,7 +16,6 @@ register struct CPUState_UniCore32 *env asm(AREG0); #include "cpu.h" -#include "exec-all.h" static inline void env_to_regs(void) { diff --git a/target-unicore32/helper.c b/target-unicore32/helper.c index 483aeaeb1..02707d585 100644 --- a/target-unicore32/helper.c +++ b/target-unicore32/helper.c @@ -10,7 +10,6 @@ #include #include "cpu.h" -#include "exec-all.h" #include "gdbstub.h" #include "helper.h" #include "qemu-common.h" diff --git a/target-unicore32/translate.c b/target-unicore32/translate.c index 98eaeb3d4..a15e42d66 100644 --- a/target-unicore32/translate.c +++ b/target-unicore32/translate.c @@ -14,7 +14,6 @@ #include #include "cpu.h" -#include "exec-all.h" #include "disas.h" #include "tcg-op.h" #include "qemu-log.h" diff --git a/tcg/tcg.c b/tcg/tcg.c index 184c20898..debf47fee 100644 --- a/tcg/tcg.c +++ b/tcg/tcg.c @@ -54,7 +54,6 @@ instructions */ #define NO_CPU_IO_DEFS #include "cpu.h" -#include "exec-all.h" #include "tcg-op.h" #include "elf.h" diff --git a/translate-all.c b/translate-all.c index 2ca190ca8..24878aac5 100644 --- a/translate-all.c +++ b/translate-all.c @@ -26,7 +26,6 @@ #define NO_CPU_IO_DEFS #include "cpu.h" -#include "exec-all.h" #include "disas.h" #include "tcg.h" #include "qemu-timer.h" diff --git a/xen-mapcache-stub.c b/xen-mapcache-stub.c index 5eb3dac36..90a994dc2 100644 --- a/xen-mapcache-stub.c +++ b/xen-mapcache-stub.c @@ -9,7 +9,6 @@ #include "config.h" #include "cpu.h" -#include "exec-all.h" #include "qemu-common.h" #include "cpu-common.h" #include "xen-mapcache.h" -- 2.39.2