aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2010-06-29 09:58:51 +0200
committerBlue Swirl <blauwirbel@gmail.com>2010-07-03 09:48:24 +0300
commita88790a14f60ac966a2103a958c3febf5a42836b (patch)
treed86103edb0e68aabf0ba67d9e54bb2d334b9830e
parent10eb0cc03c20b232356edb367516939d6d7bb862 (diff)
remove exec-all.h inclusion from cpu.h
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
-rw-r--r--gdbstub.c1
-rw-r--r--hw/xen_domainbuild.c1
-rw-r--r--kvm-stub.c1
-rw-r--r--monitor.c1
-rw-r--r--target-alpha/cpu.h1
-rw-r--r--target-arm/cpu.h1
-rw-r--r--target-cris/cpu.h1
-rw-r--r--target-i386/cpu.h2
-rw-r--r--target-m68k/cpu.h1
-rw-r--r--target-microblaze/cpu.h1
-rw-r--r--target-mips/cpu.h1
-rw-r--r--target-ppc/cpu.h1
-rw-r--r--target-s390x/cpu.h1
-rw-r--r--target-sh4/cpu.h1
-rw-r--r--target-sparc/cpu.h1
15 files changed, 4 insertions, 12 deletions
diff --git a/gdbstub.c b/gdbstub.c
index c1852c243f..2b03ef2aa0 100644
--- a/gdbstub.c
+++ b/gdbstub.c
@@ -37,6 +37,7 @@
#define MAX_PACKET_LENGTH 4096
+#include "exec-all.h"
#include "qemu_socket.h"
#include "kvm.h"
diff --git a/hw/xen_domainbuild.c b/hw/xen_domainbuild.c
index 2f59856f73..7f1fd66eaf 100644
--- a/hw/xen_domainbuild.c
+++ b/hw/xen_domainbuild.c
@@ -3,6 +3,7 @@
#include "xen_domainbuild.h"
#include "sysemu.h"
#include "qemu-timer.h"
+#include "qemu-log.h"
#include <xenguest.h>
diff --git a/kvm-stub.c b/kvm-stub.c
index 7be5f5db20..3378bd3b21 100644
--- a/kvm-stub.c
+++ b/kvm-stub.c
@@ -13,6 +13,7 @@
#include "qemu-common.h"
#include "sysemu.h"
#include "hw/hw.h"
+#include "exec-all.h"
#include "gdbstub.h"
#include "kvm.h"
diff --git a/monitor.c b/monitor.c
index 170b26971f..8657c869be 100644
--- a/monitor.c
+++ b/monitor.c
@@ -55,6 +55,7 @@
#include "json-streamer.h"
#include "json-parser.h"
#include "osdep.h"
+#include "exec-all.h"
//#define DEBUG
//#define DEBUG_COMPLETION
diff --git a/target-alpha/cpu.h b/target-alpha/cpu.h
index c33339635a..686fb4a6a7 100644
--- a/target-alpha/cpu.h
+++ b/target-alpha/cpu.h
@@ -413,7 +413,6 @@ static inline int cpu_mmu_index (CPUState *env)
}
#include "cpu-all.h"
-#include "exec-all.h"
enum {
FEATURE_ASN = 0x00000001,
diff --git a/target-arm/cpu.h b/target-arm/cpu.h
index ddf764e2b8..39c4a0e987 100644
--- a/target-arm/cpu.h
+++ b/target-arm/cpu.h
@@ -435,7 +435,6 @@ static inline void cpu_clone_regs(CPUState *env, target_ulong newsp)
#endif
#include "cpu-all.h"
-#include "exec-all.h"
static inline void cpu_get_tb_cpu_state(CPUState *env, target_ulong *pc,
target_ulong *cs_base, int *flags)
diff --git a/target-cris/cpu.h b/target-cris/cpu.h
index f86c52a43e..fce0804a90 100644
--- a/target-cris/cpu.h
+++ b/target-cris/cpu.h
@@ -250,7 +250,6 @@ static inline void cpu_set_tls(CPUCRISState *env, target_ulong newtls)
#define SFR_RW_MM_TLB_HI env->pregs[PR_SRS]][6
#include "cpu-all.h"
-#include "exec-all.h"
static inline void cpu_get_tb_cpu_state(CPUState *env, target_ulong *pc,
target_ulong *cs_base, int *flags)
diff --git a/target-i386/cpu.h b/target-i386/cpu.h
index 704c265842..1144d4e387 100644
--- a/target-i386/cpu.h
+++ b/target-i386/cpu.h
@@ -933,8 +933,6 @@ static inline void cpu_clone_regs(CPUState *env, target_ulong newsp)
#endif
#include "cpu-all.h"
-#include "exec-all.h"
-
#include "svm.h"
#if !defined(CONFIG_USER_ONLY)
diff --git a/target-m68k/cpu.h b/target-m68k/cpu.h
index 0f8451482a..33c41b2ebc 100644
--- a/target-m68k/cpu.h
+++ b/target-m68k/cpu.h
@@ -242,7 +242,6 @@ static inline void cpu_clone_regs(CPUState *env, target_ulong newsp)
#endif
#include "cpu-all.h"
-#include "exec-all.h"
static inline void cpu_get_tb_cpu_state(CPUState *env, target_ulong *pc,
target_ulong *cs_base, int *flags)
diff --git a/target-microblaze/cpu.h b/target-microblaze/cpu.h
index a2677cfa15..360ac0abaa 100644
--- a/target-microblaze/cpu.h
+++ b/target-microblaze/cpu.h
@@ -305,7 +305,6 @@ static inline int cpu_interrupts_enabled(CPUState *env)
}
#include "cpu-all.h"
-#include "exec-all.h"
static inline target_ulong cpu_get_pc(CPUState *env)
{
diff --git a/target-mips/cpu.h b/target-mips/cpu.h
index 1aaca77774..81051aa004 100644
--- a/target-mips/cpu.h
+++ b/target-mips/cpu.h
@@ -526,7 +526,6 @@ static inline void cpu_clone_regs(CPUState *env, target_ulong newsp)
}
#include "cpu-all.h"
-#include "exec-all.h"
/* Memory access type :
* may be needed for precise access rights control and precise exceptions.
diff --git a/target-ppc/cpu.h b/target-ppc/cpu.h
index ca0eb1e386..9c8d774c9d 100644
--- a/target-ppc/cpu.h
+++ b/target-ppc/cpu.h
@@ -849,7 +849,6 @@ static inline void cpu_clone_regs(CPUState *env, target_ulong newsp)
#endif
#include "cpu-all.h"
-#include "exec-all.h"
/*****************************************************************************/
/* CRF definitions */
diff --git a/target-s390x/cpu.h b/target-s390x/cpu.h
index 49d3128896..8d73fad360 100644
--- a/target-s390x/cpu.h
+++ b/target-s390x/cpu.h
@@ -116,7 +116,6 @@ extern CPUState *s390_cpu_addr2state(uint16_t cpu_addr);
#define cpu_gen_code cpu_s390x_gen_code
#include "cpu-all.h"
-#include "exec-all.h"
#define EXCP_OPEX 1 /* operation exception (sigill) */
#define EXCP_SVC 2 /* supervisor call (syscall) */
diff --git a/target-sh4/cpu.h b/target-sh4/cpu.h
index f2dee37878..64a609b8ad 100644
--- a/target-sh4/cpu.h
+++ b/target-sh4/cpu.h
@@ -211,7 +211,6 @@ static inline void cpu_clone_regs(CPUState *env, target_ulong newsp)
#endif
#include "cpu-all.h"
-#include "exec-all.h"
/* Memory access type */
enum {
diff --git a/target-sparc/cpu.h b/target-sparc/cpu.h
index 95fe3dc7a1..7e0d17c0b1 100644
--- a/target-sparc/cpu.h
+++ b/target-sparc/cpu.h
@@ -615,7 +615,6 @@ static inline void cpu_clone_regs(CPUState *env, target_ulong newsp)
#endif
#include "cpu-all.h"
-#include "exec-all.h"
#ifdef TARGET_SPARC64
/* sun4u.c */