@@ -3,6 +3,8 @@
#include "exec/memory.h"
+#include "target-arm/cpu.h"
+
#define SA_CS0 0x00000000
#define SA_CS1 0x08000000
#define SA_CS2 0x10000000
@@ -11,6 +11,8 @@
#ifndef ARM_MISC_H
#define ARM_MISC_H 1
+#include "target-arm/cpu.h"
+
#include "exec/memory.h"
#include "hw/irq.h"
@@ -23,6 +23,8 @@
#include "hw/timer/digic-timer.h"
#include "hw/char/digic-uart.h"
+#include "target-arm/cpu.h"
+
#define TYPE_DIGIC "digic"
#define DIGIC(obj) OBJECT_CHECK(DigicState, (obj), TYPE_DIGIC)
@@ -29,6 +29,8 @@
#include "qemu-common.h"
#include "exec/memory.h"
+#include "target-arm/cpu.h"
+
#define EXYNOS4210_NCPUS 2
#define EXYNOS4210_DRAM0_BASE_ADDR 0x40000000
@@ -21,6 +21,8 @@
# define hw_omap_h "omap.h"
#include "hw/irq.h"
+#include "target-arm/cpu.h"
+
# define OMAP_EMIFS_BASE 0x00000000
# define OMAP2_Q0_BASE 0x00000000
# define OMAP_CS0_BASE 0x00000000
@@ -11,6 +11,8 @@
#include "exec/memory.h"
+#include "target-arm/cpu.h"
+
/* Interrupt numbers */
# define PXA2XX_PIC_SSP3 0
# define PXA2XX_PIC_USBH2 2
Device land code that needs cpu.h only needs it for architecture speific reasons. So include target-arm/cpu.h explicitly rather than the one provided by common code. This prepares support for multi-arch where the common cpu.h will be minimal and not contain any arch specifics. Signed-off-by: Peter Crosthwaite <crosthwaite.peter@gmail.com> --- hw/arm/strongarm.h | 2 ++ include/hw/arm/arm.h | 2 ++ include/hw/arm/digic.h | 2 ++ include/hw/arm/exynos4210.h | 2 ++ include/hw/arm/omap.h | 2 ++ include/hw/arm/pxa.h | 2 ++ 6 files changed, 12 insertions(+)