@@ -26,7 +26,7 @@
#include <stdio.h>
#include <time.h>
-#include "cpu.h"
+#include "config.h"
#ifdef CONFIG_USER_ONLY
#include "qemu.h"
@@ -4,6 +4,7 @@
#include <signal.h>
#include <string.h>
+#include "qemu-common.h"
#include "cpu.h"
#undef DEBUG_REMAP
@@ -17,6 +17,7 @@
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
#include "config.h"
+#include "qemu-common.h"
#include "exec.h"
#include "disas.h"
#include "tcg.h"
@@ -4,6 +4,7 @@
#include <signal.h>
#include <string.h>
+#include "qemu-common.h"
#include "cpu.h"
#include "thunk.h"
@@ -1,5 +1,6 @@
/* General "disassemble this chunk" code. Used for debugging. */
#include "config.h"
+#include "qemu-common.h"
#include "dis-asm.h"
#include "elf.h"
#include <errno.h>
@@ -31,9 +31,9 @@
#include <unistd.h>
#include <inttypes.h>
+#include "qemu-common.h"
#include "cpu.h"
#include "exec-all.h"
-#include "qemu-common.h"
#include "tcg.h"
#include "hw/hw.h"
#include "osdep.h"
@@ -25,7 +25,8 @@
#include <stdio.h>
#include <errno.h>
-#include <cpu.h>
+#include "qemu-common.h"
+#include "cpu.h"
#define GET_FPA11() (qemufpa)
@@ -27,7 +27,6 @@
#include <sys/resource.h>
#include "qemu.h"
-#include "qemu-common.h"
#include "cache-utils.h"
/* For tb_lock */
#include "exec-all.h"
@@ -4,6 +4,7 @@
#include <signal.h>
#include <string.h>
+#include "qemu-common.h"
#include "cpu.h"
#undef DEBUG_REMAP
@@ -27,7 +27,7 @@
#include <sys/time.h>
#include <time.h>
-#include "cpu.h"
+#include "config.h"
#if defined(CONFIG_USER_ONLY)
#include "qemu.h"
#define SEMIHOSTING_HEAP_SIZE (128 * 1024 * 1024)
@@ -21,6 +21,7 @@
#include <stdlib.h>
#include <stdio.h>
+#include "qemu-common.h"
#include "cpu.h"
#include "exec-all.h"
#include "softfloat.h"
@@ -17,6 +17,7 @@
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
+#include "qemu-common.h"
#include "exec.h"
#include "host-utils.h"
#include "softfloat.h"
@@ -21,12 +21,12 @@
#include <stdlib.h>
#include <stdio.h>
+#include "qemu-common.h"
#include "cpu.h"
#include "exec-all.h"
#include "disas.h"
#include "host-utils.h"
#include "tcg-op.h"
-#include "qemu-common.h"
#include "helper.h"
#define GEN_HELPER 1
@@ -2,11 +2,11 @@
#include <stdlib.h>
#include <string.h>
+#include "qemu-common.h"
#include "cpu.h"
#include "exec-all.h"
#include "gdbstub.h"
#include "helpers.h"
-#include "qemu-common.h"
#include "host-utils.h"
#if !defined(CONFIG_USER_ONLY)
#include "hw/loader.h"
@@ -22,6 +22,7 @@
#include <stdlib.h>
#include <stdio.h>
+#include "qemu-common.h"
#include "cpu.h"
#include "exec-all.h"
#include "helpers.h"
@@ -9,6 +9,7 @@
#include <stdlib.h>
#include <stdio.h>
+#include "qemu-common.h"
#include "cpu.h"
#include "exec-all.h"
#include "helpers.h"
@@ -16,6 +16,7 @@
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
+#include "qemu-common.h"
#include "exec.h"
#include "helpers.h"
@@ -24,6 +24,7 @@
#include <string.h>
#include <inttypes.h>
+#include "qemu-common.h"
#include "cpu.h"
#include "exec-all.h"
#include "disas.h"
@@ -22,6 +22,7 @@
#include <string.h>
#include "config.h"
+#include "qemu-common.h"
#include "cpu.h"
#include "mmu.h"
#include "exec-all.h"
@@ -25,6 +25,7 @@
#include <stdlib.h>
#include "config.h"
+#include "qemu-common.h"
#include "cpu.h"
#include "mmu.h"
#include "exec-all.h"
@@ -18,6 +18,7 @@
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
+#include "qemu-common.h"
#include "exec.h"
#include "mmu.h"
#include "helper.h"
@@ -29,6 +29,7 @@
#include <string.h>
#include <inttypes.h>
+#include "qemu-common.h"
#include "cpu.h"
#include "exec-all.h"
#include "disas.h"
@@ -36,7 +37,6 @@
#include "helper.h"
#include "mmu.h"
#include "crisv32-decode.h"
-#include "qemu-common.h"
#define GEN_HELPER 1
#include "helper.h"
@@ -21,6 +21,7 @@
#include <string.h>
#include <inttypes.h>
+#include "qemu-common.h"
#include "cpu.h"
#include "kvm.h"
@@ -23,9 +23,9 @@
#include <inttypes.h>
#include <signal.h>
+#include "qemu-common.h"
#include "cpu.h"
#include "exec-all.h"
-#include "qemu-common.h"
#include "kvm.h"
//#define DEBUG_MMU
@@ -17,6 +17,7 @@
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
#define CPU_NO_GLOBAL_REGS
+#include "qemu-common.h"
#include "exec.h"
#include "exec-all.h"
#include "host-utils.h"
@@ -23,6 +23,7 @@
#include <inttypes.h>
#include <signal.h>
+#include "qemu-common.h"
#include "cpu.h"
#include "exec-all.h"
#include "disas.h"
@@ -22,9 +22,9 @@
#include <string.h>
#include "config.h"
+#include "qemu-common.h"
#include "cpu.h"
#include "exec-all.h"
-#include "qemu-common.h"
#include "gdbstub.h"
#include "helpers.h"
@@ -16,6 +16,7 @@
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
+#include "qemu-common.h"
#include "exec.h"
#include "helpers.h"
@@ -24,6 +24,7 @@
#include <inttypes.h>
#include "config.h"
+#include "qemu-common.h"
#include "cpu.h"
#include "exec-all.h"
#include "disas.h"
@@ -22,6 +22,7 @@
#include <assert.h>
#include "config.h"
+#include "qemu-common.h"
#include "cpu.h"
#include "exec-all.h"
#include "host-utils.h"
@@ -20,6 +20,7 @@
#include <stdlib.h>
#include <assert.h>
+#include "qemu-common.h"
#include "config.h"
#include "cpu.h"
#include "exec-all.h"
@@ -18,6 +18,7 @@
*/
#include <assert.h>
+#include "qemu-common.h"
#include "exec.h"
#include "helper.h"
#include "host-utils.h"
@@ -24,13 +24,13 @@
#include <inttypes.h>
#include <assert.h>
+#include "qemu-common.h"
#include "cpu.h"
#include "exec-all.h"
#include "disas.h"
#include "tcg-op.h"
#include "helper.h"
#include "microblaze-decode.h"
-#include "qemu-common.h"
#define GEN_HELPER 1
#include "helper.h"
@@ -23,6 +23,7 @@
#include <inttypes.h>
#include <signal.h>
+#include "qemu-common.h"
#include "cpu.h"
#include "exec-all.h"
@@ -17,6 +17,7 @@
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
#include <stdlib.h>
+#include "qemu-common.h"
#include "exec.h"
#include "host-utils.h"
@@ -26,11 +26,11 @@
#include <string.h>
#include <inttypes.h>
+#include "qemu-common.h"
#include "cpu.h"
#include "exec-all.h"
#include "disas.h"
#include "tcg-op.h"
-#include "qemu-common.h"
#include "helper.h"
#define GEN_HELPER 1
@@ -23,10 +23,10 @@
#include <inttypes.h>
#include <signal.h>
+#include "qemu-common.h"
#include "cpu.h"
#include "exec-all.h"
#include "helper_regs.h"
-#include "qemu-common.h"
#include "kvm.h"
//#define DEBUG_MMU
@@ -17,6 +17,7 @@
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
#include <string.h>
+#include "qemu-common.h"
#include "exec.h"
#include "host-utils.h"
#include "helper.h"
@@ -22,11 +22,11 @@
#include <string.h>
#include <inttypes.h>
+#include "qemu-common.h"
#include "cpu.h"
#include "exec-all.h"
#include "disas.h"
#include "tcg-op.h"
-#include "qemu-common.h"
#include "host-utils.h"
#include "helper.h"
@@ -21,10 +21,10 @@
#include <stdlib.h>
#include <string.h>
+#include "qemu-common.h"
#include "cpu.h"
#include "exec-all.h"
#include "gdbstub.h"
-#include "qemu-common.h"
#include <linux/kvm.h>
#include "kvm.h"
@@ -17,6 +17,7 @@
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
+#include "qemu-common.h"
#include "exec.h"
/*****************************************************************************/
@@ -23,6 +23,7 @@
#include <inttypes.h>
#include <signal.h>
+#include "qemu-common.h"
#include "cpu.h"
#include "exec-all.h"
#include "hw/sh_intc.h"
@@ -18,6 +18,8 @@
*/
#include <assert.h>
#include <stdlib.h>
+
+#include "qemu-common.h"
#include "exec.h"
#include "helper.h"
@@ -26,11 +26,11 @@
#define SH4_DEBUG_DISAS
//#define SH4_SINGLE_STEP
+#include "qemu-common.h"
#include "cpu.h"
#include "exec-all.h"
#include "disas.h"
#include "tcg-op.h"
-#include "qemu-common.h"
#include "helper.h"
#define GEN_HELPER 1
@@ -23,9 +23,9 @@
#include <inttypes.h>
#include <signal.h>
+#include "qemu-common.h"
#include "cpu.h"
#include "exec-all.h"
-#include "qemu-common.h"
//#define DEBUG_MMU
//#define DEBUG_FEATURES
@@ -1,3 +1,4 @@
+#include "qemu-common.h"
#include "exec.h"
#include "host-utils.h"
#include "helper.h"
@@ -24,6 +24,7 @@
#include <string.h>
#include <inttypes.h>
+#include "qemu-common.h"
#include "cpu.h"
#include "exec-all.h"
#include "disas.h"
@@ -25,6 +25,7 @@
#include "config.h"
#define NO_CPU_IO_DEFS
+#include "qemu-common.h"
#include "cpu.h"
#include "exec-all.h"
#include "disas.h"
All of these files were already including qemu-common.h indirectly, e.g. via cpu-all.h, just not early enough. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> --- arm-semi.c | 2 +- bsd-user/qemu.h | 1 + cpu-exec.c | 1 + darwin-user/qemu.h | 1 + disas.c | 1 + exec.c | 2 +- linux-user/arm/nwfpe/fpa11.h | 3 ++- linux-user/main.c | 1 - linux-user/qemu.h | 1 + m68k-semi.c | 2 +- target-alpha/helper.c | 1 + target-alpha/op_helper.c | 1 + target-alpha/translate.c | 2 +- target-arm/helper.c | 2 +- target-arm/iwmmxt_helper.c | 1 + target-arm/neon_helper.c | 1 + target-arm/op_helper.c | 1 + target-arm/translate.c | 1 + target-cris/helper.c | 1 + target-cris/mmu.c | 1 + target-cris/op_helper.c | 1 + target-cris/translate.c | 2 +- target-i386/cpuid.c | 1 + target-i386/helper.c | 2 +- target-i386/op_helper.c | 1 + target-i386/translate.c | 1 + target-m68k/helper.c | 2 +- target-m68k/op_helper.c | 1 + target-m68k/translate.c | 1 + target-microblaze/helper.c | 1 + target-microblaze/mmu.c | 1 + target-microblaze/op_helper.c | 1 + target-microblaze/translate.c | 2 +- target-mips/helper.c | 1 + target-mips/op_helper.c | 1 + target-mips/translate.c | 2 +- target-ppc/helper.c | 2 +- target-ppc/op_helper.c | 1 + target-ppc/translate.c | 2 +- target-s390x/helper.c | 2 +- target-s390x/op_helper.c | 1 + target-sh4/helper.c | 1 + target-sh4/op_helper.c | 2 ++ target-sh4/translate.c | 2 +- target-sparc/helper.c | 2 +- target-sparc/op_helper.c | 1 + target-sparc/translate.c | 1 + translate-all.c | 1 + 48 files changed, 49 insertions(+), 17 deletions(-)