Browse Source

arm: Clean up includes

Clean up includes so that osdep.h is included first and headers
which it implies are not included manually.

This commit was created with scripts/clean-includes.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 1453832250-766-13-git-send-email-peter.maydell@linaro.org
Peter Maydell 9 năm trước cách đây
mục cha
commit
8ef94f0bc9
65 tập tin đã thay đổi với 65 bổ sung0 xóa
  1. 1 0
      disas/arm.c
  2. 1 0
      hw/char/cadence_uart.c
  3. 1 0
      hw/char/digic-uart.c
  4. 1 0
      hw/char/exynos4210_uart.c
  5. 1 0
      hw/char/imx_serial.c
  6. 1 0
      hw/char/pl011.c
  7. 1 0
      hw/display/exynos4210_fimd.c
  8. 1 0
      hw/display/pl110.c
  9. 1 0
      hw/display/pxa2xx_lcd.c
  10. 1 0
      hw/dma/pl080.c
  11. 1 0
      hw/dma/pl330.c
  12. 1 0
      hw/dma/pxa2xx_dma.c
  13. 1 0
      hw/gpio/imx_gpio.c
  14. 1 0
      hw/gpio/pl061.c
  15. 1 0
      hw/i2c/exynos4210_i2c.c
  16. 1 0
      hw/i2c/imx_i2c.c
  17. 1 0
      hw/i2c/versatile_i2c.c
  18. 1 0
      hw/input/pl050.c
  19. 1 0
      hw/input/pxa2xx_keypad.c
  20. 1 0
      hw/input/stellaris_input.c
  21. 1 0
      hw/intc/allwinner-a10-pic.c
  22. 1 0
      hw/intc/arm_gic.c
  23. 1 0
      hw/intc/arm_gic_common.c
  24. 1 0
      hw/intc/arm_gic_kvm.c
  25. 1 0
      hw/intc/arm_gicv2m.c
  26. 1 0
      hw/intc/arm_gicv3_common.c
  27. 1 0
      hw/intc/arm_gicv3_kvm.c
  28. 1 0
      hw/intc/armv7m_nvic.c
  29. 1 0
      hw/intc/exynos4210_combiner.c
  30. 1 0
      hw/intc/exynos4210_gic.c
  31. 1 0
      hw/intc/imx_avic.c
  32. 1 0
      hw/intc/pl190.c
  33. 1 0
      hw/intc/realview_gic.c
  34. 1 0
      hw/misc/a9scu.c
  35. 1 0
      hw/misc/arm11scu.c
  36. 1 0
      hw/misc/exynos4210_pmu.c
  37. 1 0
      hw/misc/imx25_ccm.c
  38. 1 0
      hw/misc/imx31_ccm.c
  39. 1 0
      hw/misc/imx_ccm.c
  40. 1 0
      hw/misc/zynq_slcr.c
  41. 1 0
      hw/net/allwinner_emac.c
  42. 1 0
      hw/net/cadence_gem.c
  43. 1 0
      hw/net/imx_fec.c
  44. 1 0
      hw/net/stellaris_enet.c
  45. 1 0
      hw/net/xgmac.c
  46. 1 0
      hw/pci-host/versatile.c
  47. 1 0
      hw/pcmcia/pxa2xx.c
  48. 1 0
      hw/sd/pl181.c
  49. 1 0
      hw/sd/pxa2xx_mmci.c
  50. 1 0
      hw/ssi/xilinx_spi.c
  51. 1 0
      hw/ssi/xilinx_spips.c
  52. 1 0
      hw/timer/a9gtimer.c
  53. 1 0
      hw/timer/allwinner-a10-pit.c
  54. 1 0
      hw/timer/arm_mptimer.c
  55. 1 0
      hw/timer/arm_timer.c
  56. 1 0
      hw/timer/cadence_ttc.c
  57. 1 0
      hw/timer/digic-timer.c
  58. 1 0
      hw/timer/exynos4210_mct.c
  59. 1 0
      hw/timer/exynos4210_pwm.c
  60. 1 0
      hw/timer/exynos4210_rtc.c
  61. 1 0
      hw/timer/imx_epit.c
  62. 1 0
      hw/timer/imx_gpt.c
  63. 1 0
      hw/timer/pl031.c
  64. 1 0
      hw/timer/pxa2xx_timer.c
  65. 1 0
      target-arm/arch_dump.c

+ 1 - 0
disas/arm.c

@@ -22,6 +22,7 @@
 /* Start of qemu specific additions.  Mostly this is stub definitions
 /* Start of qemu specific additions.  Mostly this is stub definitions
    for things we don't care about.  */
    for things we don't care about.  */
 
 
+#include "qemu/osdep.h"
 #include "disas/bfd.h"
 #include "disas/bfd.h"
 #define ATTRIBUTE_UNUSED __attribute__((unused))
 #define ATTRIBUTE_UNUSED __attribute__((unused))
 #define ISSPACE(x) ((x) == ' ' || (x) == '\t' || (x) == '\n')
 #define ISSPACE(x) ((x) == ' ' || (x) == '\t' || (x) == '\n')

+ 1 - 0
hw/char/cadence_uart.c

@@ -16,6 +16,7 @@
  * with this program; if not, see <http://www.gnu.org/licenses/>.
  * with this program; if not, see <http://www.gnu.org/licenses/>.
  */
  */
 
 
+#include "qemu/osdep.h"
 #include "hw/char/cadence_uart.h"
 #include "hw/char/cadence_uart.h"
 
 
 #ifdef CADENCE_UART_ERR_DEBUG
 #ifdef CADENCE_UART_ERR_DEBUG

+ 1 - 0
hw/char/digic-uart.c

@@ -26,6 +26,7 @@
  *
  *
  */
  */
 
 
+#include "qemu/osdep.h"
 #include "hw/hw.h"
 #include "hw/hw.h"
 #include "hw/sysbus.h"
 #include "hw/sysbus.h"
 #include "sysemu/char.h"
 #include "sysemu/char.h"

+ 1 - 0
hw/char/exynos4210_uart.c

@@ -19,6 +19,7 @@
  *
  *
  */
  */
 
 
+#include "qemu/osdep.h"
 #include "hw/sysbus.h"
 #include "hw/sysbus.h"
 #include "qemu/error-report.h"
 #include "qemu/error-report.h"
 #include "sysemu/sysemu.h"
 #include "sysemu/sysemu.h"

+ 1 - 0
hw/char/imx_serial.c

@@ -18,6 +18,7 @@
  *     is a real serial device.
  *     is a real serial device.
  */
  */
 
 
+#include "qemu/osdep.h"
 #include "hw/char/imx_serial.h"
 #include "hw/char/imx_serial.h"
 #include "sysemu/sysemu.h"
 #include "sysemu/sysemu.h"
 #include "sysemu/char.h"
 #include "sysemu/char.h"

+ 1 - 0
hw/char/pl011.c

@@ -7,6 +7,7 @@
  * This code is licensed under the GPL.
  * This code is licensed under the GPL.
  */
  */
 
 
+#include "qemu/osdep.h"
 #include "hw/sysbus.h"
 #include "hw/sysbus.h"
 #include "sysemu/char.h"
 #include "sysemu/char.h"
 
 

+ 1 - 0
hw/display/exynos4210_fimd.c

@@ -22,6 +22,7 @@
  * with this program; if not, see <http://www.gnu.org/licenses/>.
  * with this program; if not, see <http://www.gnu.org/licenses/>.
  */
  */
 
 
+#include "qemu/osdep.h"
 #include "qemu-common.h"
 #include "qemu-common.h"
 #include "hw/sysbus.h"
 #include "hw/sysbus.h"
 #include "ui/console.h"
 #include "ui/console.h"

+ 1 - 0
hw/display/pl110.c

@@ -7,6 +7,7 @@
  * This code is licensed under the GNU LGPL
  * This code is licensed under the GNU LGPL
  */
  */
 
 
+#include "qemu/osdep.h"
 #include "hw/sysbus.h"
 #include "hw/sysbus.h"
 #include "ui/console.h"
 #include "ui/console.h"
 #include "framebuffer.h"
 #include "framebuffer.h"

+ 1 - 0
hw/display/pxa2xx_lcd.c

@@ -10,6 +10,7 @@
  * GNU GPL, version 2 or (at your option) any later version.
  * GNU GPL, version 2 or (at your option) any later version.
  */
  */
 
 
+#include "qemu/osdep.h"
 #include "hw/hw.h"
 #include "hw/hw.h"
 #include "ui/console.h"
 #include "ui/console.h"
 #include "hw/arm/pxa.h"
 #include "hw/arm/pxa.h"

+ 1 - 0
hw/dma/pl080.c

@@ -7,6 +7,7 @@
  * This code is licensed under the GPL.
  * This code is licensed under the GPL.
  */
  */
 
 
+#include "qemu/osdep.h"
 #include "hw/sysbus.h"
 #include "hw/sysbus.h"
 #include "exec/address-spaces.h"
 #include "exec/address-spaces.h"
 
 

+ 1 - 0
hw/dma/pl330.c

@@ -14,6 +14,7 @@
  * with this program; if not, see <http://www.gnu.org/licenses/>.
  * with this program; if not, see <http://www.gnu.org/licenses/>.
  */
  */
 
 
+#include "qemu/osdep.h"
 #include "hw/sysbus.h"
 #include "hw/sysbus.h"
 #include "qemu/timer.h"
 #include "qemu/timer.h"
 #include "sysemu/dma.h"
 #include "sysemu/dma.h"

+ 1 - 0
hw/dma/pxa2xx_dma.c

@@ -8,6 +8,7 @@
  * This code is licensed under the GPL.
  * This code is licensed under the GPL.
  */
  */
 
 
+#include "qemu/osdep.h"
 #include "hw/hw.h"
 #include "hw/hw.h"
 #include "hw/arm/pxa.h"
 #include "hw/arm/pxa.h"
 #include "hw/sysbus.h"
 #include "hw/sysbus.h"

+ 1 - 0
hw/gpio/imx_gpio.c

@@ -17,6 +17,7 @@
  * with this program; if not, see <http://www.gnu.org/licenses/>.
  * with this program; if not, see <http://www.gnu.org/licenses/>.
  */
  */
 
 
+#include "qemu/osdep.h"
 #include "hw/gpio/imx_gpio.h"
 #include "hw/gpio/imx_gpio.h"
 
 
 #ifndef DEBUG_IMX_GPIO
 #ifndef DEBUG_IMX_GPIO

+ 1 - 0
hw/gpio/pl061.c

@@ -8,6 +8,7 @@
  * This code is licensed under the GPL.
  * This code is licensed under the GPL.
  */
  */
 
 
+#include "qemu/osdep.h"
 #include "hw/sysbus.h"
 #include "hw/sysbus.h"
 
 
 //#define DEBUG_PL061 1
 //#define DEBUG_PL061 1

+ 1 - 0
hw/i2c/exynos4210_i2c.c

@@ -20,6 +20,7 @@
  *
  *
  */
  */
 
 
+#include "qemu/osdep.h"
 #include "qemu/timer.h"
 #include "qemu/timer.h"
 #include "hw/sysbus.h"
 #include "hw/sysbus.h"
 #include "hw/i2c/i2c.h"
 #include "hw/i2c/i2c.h"

+ 1 - 0
hw/i2c/imx_i2c.c

@@ -18,6 +18,7 @@
  *
  *
  */
  */
 
 
+#include "qemu/osdep.h"
 #include "hw/i2c/imx_i2c.h"
 #include "hw/i2c/imx_i2c.h"
 #include "hw/i2c/i2c.h"
 #include "hw/i2c/i2c.h"
 
 

+ 1 - 0
hw/i2c/versatile_i2c.c

@@ -21,6 +21,7 @@
  *
  *
  */
  */
 
 
+#include "qemu/osdep.h"
 #include "hw/sysbus.h"
 #include "hw/sysbus.h"
 #include "bitbang_i2c.h"
 #include "bitbang_i2c.h"
 
 

+ 1 - 0
hw/input/pl050.c

@@ -7,6 +7,7 @@
  * This code is licensed under the GPL.
  * This code is licensed under the GPL.
  */
  */
 
 
+#include "qemu/osdep.h"
 #include "hw/sysbus.h"
 #include "hw/sysbus.h"
 #include "hw/input/ps2.h"
 #include "hw/input/ps2.h"
 
 

+ 1 - 0
hw/input/pxa2xx_keypad.c

@@ -11,6 +11,7 @@
  * GNU GPL, version 2 or (at your option) any later version.
  * GNU GPL, version 2 or (at your option) any later version.
  */
  */
 
 
+#include "qemu/osdep.h"
 #include "hw/hw.h"
 #include "hw/hw.h"
 #include "hw/arm/pxa.h"
 #include "hw/arm/pxa.h"
 #include "ui/console.h"
 #include "ui/console.h"

+ 1 - 0
hw/input/stellaris_input.c

@@ -6,6 +6,7 @@
  *
  *
  * This code is licensed under the GPL.
  * This code is licensed under the GPL.
  */
  */
+#include "qemu/osdep.h"
 #include "hw/hw.h"
 #include "hw/hw.h"
 #include "hw/devices.h"
 #include "hw/devices.h"
 #include "ui/console.h"
 #include "ui/console.h"

+ 1 - 0
hw/intc/allwinner-a10-pic.c

@@ -15,6 +15,7 @@
  * for more details.
  * for more details.
  */
  */
 
 
+#include "qemu/osdep.h"
 #include "hw/sysbus.h"
 #include "hw/sysbus.h"
 #include "hw/devices.h"
 #include "hw/devices.h"
 #include "sysemu/sysemu.h"
 #include "sysemu/sysemu.h"

+ 1 - 0
hw/intc/arm_gic.c

@@ -18,6 +18,7 @@
  *  armv7m_nvic device.
  *  armv7m_nvic device.
  */
  */
 
 
+#include "qemu/osdep.h"
 #include "hw/sysbus.h"
 #include "hw/sysbus.h"
 #include "gic_internal.h"
 #include "gic_internal.h"
 #include "qom/cpu.h"
 #include "qom/cpu.h"

+ 1 - 0
hw/intc/arm_gic_common.c

@@ -18,6 +18,7 @@
  * with this program; if not, see <http://www.gnu.org/licenses/>.
  * with this program; if not, see <http://www.gnu.org/licenses/>.
  */
  */
 
 
+#include "qemu/osdep.h"
 #include "gic_internal.h"
 #include "gic_internal.h"
 #include "hw/arm/linux-boot-if.h"
 #include "hw/arm/linux-boot-if.h"
 
 

+ 1 - 0
hw/intc/arm_gic_kvm.c

@@ -19,6 +19,7 @@
  * with this program; if not, see <http://www.gnu.org/licenses/>.
  * with this program; if not, see <http://www.gnu.org/licenses/>.
  */
  */
 
 
+#include "qemu/osdep.h"
 #include "hw/sysbus.h"
 #include "hw/sysbus.h"
 #include "migration/migration.h"
 #include "migration/migration.h"
 #include "sysemu/kvm.h"
 #include "sysemu/kvm.h"

+ 1 - 0
hw/intc/arm_gicv2m.c

@@ -25,6 +25,7 @@
  * identification registers and with a single non-secure MSI register frame.
  * identification registers and with a single non-secure MSI register frame.
  */
  */
 
 
+#include "qemu/osdep.h"
 #include "hw/sysbus.h"
 #include "hw/sysbus.h"
 #include "hw/pci/msi.h"
 #include "hw/pci/msi.h"
 
 

+ 1 - 0
hw/intc/arm_gicv3_common.c

@@ -20,6 +20,7 @@
  * with this program; if not, see <http://www.gnu.org/licenses/>.
  * with this program; if not, see <http://www.gnu.org/licenses/>.
  */
  */
 
 
+#include "qemu/osdep.h"
 #include "hw/intc/arm_gicv3_common.h"
 #include "hw/intc/arm_gicv3_common.h"
 
 
 static void gicv3_pre_save(void *opaque)
 static void gicv3_pre_save(void *opaque)

+ 1 - 0
hw/intc/arm_gicv3_kvm.c

@@ -19,6 +19,7 @@
  * with this program; if not, see <http://www.gnu.org/licenses/>.
  * with this program; if not, see <http://www.gnu.org/licenses/>.
  */
  */
 
 
+#include "qemu/osdep.h"
 #include "hw/intc/arm_gicv3_common.h"
 #include "hw/intc/arm_gicv3_common.h"
 #include "hw/sysbus.h"
 #include "hw/sysbus.h"
 #include "sysemu/kvm.h"
 #include "sysemu/kvm.h"

+ 1 - 0
hw/intc/armv7m_nvic.c

@@ -10,6 +10,7 @@
  * NVIC.  Much of that is also implemented here.
  * NVIC.  Much of that is also implemented here.
  */
  */
 
 
+#include "qemu/osdep.h"
 #include "hw/sysbus.h"
 #include "hw/sysbus.h"
 #include "qemu/timer.h"
 #include "qemu/timer.h"
 #include "hw/arm/arm.h"
 #include "hw/arm/arm.h"

+ 1 - 0
hw/intc/exynos4210_combiner.c

@@ -27,6 +27,7 @@
  * IRQs are passed to GIC through Combiner.
  * IRQs are passed to GIC through Combiner.
  */
  */
 
 
+#include "qemu/osdep.h"
 #include "hw/sysbus.h"
 #include "hw/sysbus.h"
 
 
 #include "hw/arm/exynos4210.h"
 #include "hw/arm/exynos4210.h"

+ 1 - 0
hw/intc/exynos4210_gic.c

@@ -20,6 +20,7 @@
  * with this program; if not, see <http://www.gnu.org/licenses/>.
  * with this program; if not, see <http://www.gnu.org/licenses/>.
  */
  */
 
 
+#include "qemu/osdep.h"
 #include "hw/sysbus.h"
 #include "hw/sysbus.h"
 #include "qemu-common.h"
 #include "qemu-common.h"
 #include "hw/irq.h"
 #include "hw/irq.h"

+ 1 - 0
hw/intc/imx_avic.c

@@ -15,6 +15,7 @@
  * TODO: implement vectors.
  * TODO: implement vectors.
  */
  */
 
 
+#include "qemu/osdep.h"
 #include "hw/intc/imx_avic.h"
 #include "hw/intc/imx_avic.h"
 
 
 #ifndef DEBUG_IMX_AVIC
 #ifndef DEBUG_IMX_AVIC

+ 1 - 0
hw/intc/pl190.c

@@ -7,6 +7,7 @@
  * This code is licensed under the GPL.
  * This code is licensed under the GPL.
  */
  */
 
 
+#include "qemu/osdep.h"
 #include "hw/sysbus.h"
 #include "hw/sysbus.h"
 
 
 /* The number of virtual priority levels.  16 user vectors plus the
 /* The number of virtual priority levels.  16 user vectors plus the

+ 1 - 0
hw/intc/realview_gic.c

@@ -7,6 +7,7 @@
  * This code is licensed under the GPL.
  * This code is licensed under the GPL.
  */
  */
 
 
+#include "qemu/osdep.h"
 #include "hw/intc/realview_gic.h"
 #include "hw/intc/realview_gic.h"
 
 
 static void realview_gic_set_irq(void *opaque, int irq, int level)
 static void realview_gic_set_irq(void *opaque, int irq, int level)

+ 1 - 0
hw/misc/a9scu.c

@@ -8,6 +8,7 @@
  * This code is licensed under the GPL.
  * This code is licensed under the GPL.
  */
  */
 
 
+#include "qemu/osdep.h"
 #include "hw/misc/a9scu.h"
 #include "hw/misc/a9scu.h"
 
 
 static uint64_t a9_scu_read(void *opaque, hwaddr offset,
 static uint64_t a9_scu_read(void *opaque, hwaddr offset,

+ 1 - 0
hw/misc/arm11scu.c

@@ -8,6 +8,7 @@
  * This code is licensed under the GPL.
  * This code is licensed under the GPL.
  */
  */
 
 
+#include "qemu/osdep.h"
 #include "hw/misc/arm11scu.h"
 #include "hw/misc/arm11scu.h"
 
 
 static uint64_t mpcore_scu_read(void *opaque, hwaddr offset,
 static uint64_t mpcore_scu_read(void *opaque, hwaddr offset,

+ 1 - 0
hw/misc/exynos4210_pmu.c

@@ -24,6 +24,7 @@
  * uses PMU INFORM5 register as a holding pen.
  * uses PMU INFORM5 register as a holding pen.
  */
  */
 
 
+#include "qemu/osdep.h"
 #include "hw/sysbus.h"
 #include "hw/sysbus.h"
 
 
 #ifndef DEBUG_PMU
 #ifndef DEBUG_PMU

+ 1 - 0
hw/misc/imx25_ccm.c

@@ -11,6 +11,7 @@
  * the CCM.
  * the CCM.
  */
  */
 
 
+#include "qemu/osdep.h"
 #include "hw/misc/imx25_ccm.h"
 #include "hw/misc/imx25_ccm.h"
 
 
 #ifndef DEBUG_IMX25_CCM
 #ifndef DEBUG_IMX25_CCM

+ 1 - 0
hw/misc/imx31_ccm.c

@@ -11,6 +11,7 @@
  * the i.MX31 CCM.
  * the i.MX31 CCM.
  */
  */
 
 
+#include "qemu/osdep.h"
 #include "hw/misc/imx31_ccm.h"
 #include "hw/misc/imx31_ccm.h"
 
 
 #define CKIH_FREQ 26000000 /* 26MHz crystal input */
 #define CKIH_FREQ 26000000 /* 26MHz crystal input */

+ 1 - 0
hw/misc/imx_ccm.c

@@ -11,6 +11,7 @@
  * retrieve the CCM frequencies from the various i.MX SOC.
  * retrieve the CCM frequencies from the various i.MX SOC.
  */
  */
 
 
+#include "qemu/osdep.h"
 #include "hw/misc/imx_ccm.h"
 #include "hw/misc/imx_ccm.h"
 
 
 #ifndef DEBUG_IMX_CCM
 #ifndef DEBUG_IMX_CCM

+ 1 - 0
hw/misc/zynq_slcr.c

@@ -14,6 +14,7 @@
  * with this program; if not, see <http://www.gnu.org/licenses/>.
  * with this program; if not, see <http://www.gnu.org/licenses/>.
  */
  */
 
 
+#include "qemu/osdep.h"
 #include "hw/hw.h"
 #include "hw/hw.h"
 #include "qemu/timer.h"
 #include "qemu/timer.h"
 #include "hw/sysbus.h"
 #include "hw/sysbus.h"

+ 1 - 0
hw/net/allwinner_emac.c

@@ -16,6 +16,7 @@
  * GNU General Public License for more details.
  * GNU General Public License for more details.
  *
  *
  */
  */
+#include "qemu/osdep.h"
 #include "hw/sysbus.h"
 #include "hw/sysbus.h"
 #include "net/net.h"
 #include "net/net.h"
 #include "qemu/fifo8.h"
 #include "qemu/fifo8.h"

+ 1 - 0
hw/net/cadence_gem.c

@@ -22,6 +22,7 @@
  * THE SOFTWARE.
  * THE SOFTWARE.
  */
  */
 
 
+#include "qemu/osdep.h"
 #include <zlib.h> /* For crc32 */
 #include <zlib.h> /* For crc32 */
 
 
 #include "hw/net/cadence_gem.h"
 #include "hw/net/cadence_gem.h"

+ 1 - 0
hw/net/imx_fec.c

@@ -21,6 +21,7 @@
  *  with this program; if not, see <http://www.gnu.org/licenses/>.
  *  with this program; if not, see <http://www.gnu.org/licenses/>.
  */
  */
 
 
+#include "qemu/osdep.h"
 #include "hw/net/imx_fec.h"
 #include "hw/net/imx_fec.h"
 #include "sysemu/dma.h"
 #include "sysemu/dma.h"
 
 

+ 1 - 0
hw/net/stellaris_enet.c

@@ -6,6 +6,7 @@
  *
  *
  * This code is licensed under the GPL.
  * This code is licensed under the GPL.
  */
  */
+#include "qemu/osdep.h"
 #include "hw/sysbus.h"
 #include "hw/sysbus.h"
 #include "net/net.h"
 #include "net/net.h"
 #include <zlib.h>
 #include <zlib.h>

+ 1 - 0
hw/net/xgmac.c

@@ -24,6 +24,7 @@
  * THE SOFTWARE.
  * THE SOFTWARE.
  */
  */
 
 
+#include "qemu/osdep.h"
 #include "hw/sysbus.h"
 #include "hw/sysbus.h"
 #include "sysemu/char.h"
 #include "sysemu/char.h"
 #include "qemu/log.h"
 #include "qemu/log.h"

+ 1 - 0
hw/pci-host/versatile.c

@@ -7,6 +7,7 @@
  * This code is licensed under the LGPL.
  * This code is licensed under the LGPL.
  */
  */
 
 
+#include "qemu/osdep.h"
 #include "hw/sysbus.h"
 #include "hw/sysbus.h"
 #include "hw/pci/pci.h"
 #include "hw/pci/pci.h"
 #include "hw/pci/pci_bus.h"
 #include "hw/pci/pci_bus.h"

+ 1 - 0
hw/pcmcia/pxa2xx.c

@@ -10,6 +10,7 @@
  * GNU GPL, version 2 or (at your option) any later version.
  * GNU GPL, version 2 or (at your option) any later version.
  */
  */
 
 
+#include "qemu/osdep.h"
 #include "hw/hw.h"
 #include "hw/hw.h"
 #include "hw/sysbus.h"
 #include "hw/sysbus.h"
 #include "hw/pcmcia.h"
 #include "hw/pcmcia.h"

+ 1 - 0
hw/sd/pl181.c

@@ -7,6 +7,7 @@
  * This code is licensed under the GPL.
  * This code is licensed under the GPL.
  */
  */
 
 
+#include "qemu/osdep.h"
 #include "sysemu/block-backend.h"
 #include "sysemu/block-backend.h"
 #include "sysemu/blockdev.h"
 #include "sysemu/blockdev.h"
 #include "hw/sysbus.h"
 #include "hw/sysbus.h"

+ 1 - 0
hw/sd/pxa2xx_mmci.c

@@ -10,6 +10,7 @@
  * GNU GPL, version 2 or (at your option) any later version.
  * GNU GPL, version 2 or (at your option) any later version.
  */
  */
 
 
+#include "qemu/osdep.h"
 #include "hw/hw.h"
 #include "hw/hw.h"
 #include "hw/arm/pxa.h"
 #include "hw/arm/pxa.h"
 #include "hw/sd/sd.h"
 #include "hw/sd/sd.h"

+ 1 - 0
hw/ssi/xilinx_spi.c

@@ -24,6 +24,7 @@
  * THE SOFTWARE.
  * THE SOFTWARE.
  */
  */
 
 
+#include "qemu/osdep.h"
 #include "hw/sysbus.h"
 #include "hw/sysbus.h"
 #include "sysemu/sysemu.h"
 #include "sysemu/sysemu.h"
 #include "qemu/log.h"
 #include "qemu/log.h"

+ 1 - 0
hw/ssi/xilinx_spips.c

@@ -22,6 +22,7 @@
  * THE SOFTWARE.
  * THE SOFTWARE.
  */
  */
 
 
+#include "qemu/osdep.h"
 #include "hw/sysbus.h"
 #include "hw/sysbus.h"
 #include "sysemu/sysemu.h"
 #include "sysemu/sysemu.h"
 #include "hw/ptimer.h"
 #include "hw/ptimer.h"

+ 1 - 0
hw/timer/a9gtimer.c

@@ -20,6 +20,7 @@
  * with this program; if not, see <http://www.gnu.org/licenses/>.
  * with this program; if not, see <http://www.gnu.org/licenses/>.
  */
  */
 
 
+#include "qemu/osdep.h"
 #include "hw/timer/a9gtimer.h"
 #include "hw/timer/a9gtimer.h"
 #include "qemu/timer.h"
 #include "qemu/timer.h"
 #include "qemu/bitops.h"
 #include "qemu/bitops.h"

+ 1 - 0
hw/timer/allwinner-a10-pit.c

@@ -15,6 +15,7 @@
  * for more details.
  * for more details.
  */
  */
 
 
+#include "qemu/osdep.h"
 #include "hw/sysbus.h"
 #include "hw/sysbus.h"
 #include "sysemu/sysemu.h"
 #include "sysemu/sysemu.h"
 #include "hw/timer/allwinner-a10-pit.h"
 #include "hw/timer/allwinner-a10-pit.h"

+ 1 - 0
hw/timer/arm_mptimer.c

@@ -19,6 +19,7 @@
  * with this program; if not, see <http://www.gnu.org/licenses/>.
  * with this program; if not, see <http://www.gnu.org/licenses/>.
  */
  */
 
 
+#include "qemu/osdep.h"
 #include "hw/timer/arm_mptimer.h"
 #include "hw/timer/arm_mptimer.h"
 #include "qemu/timer.h"
 #include "qemu/timer.h"
 #include "qom/cpu.h"
 #include "qom/cpu.h"

+ 1 - 0
hw/timer/arm_timer.c

@@ -7,6 +7,7 @@
  * This code is licensed under the GPL.
  * This code is licensed under the GPL.
  */
  */
 
 
+#include "qemu/osdep.h"
 #include "hw/sysbus.h"
 #include "hw/sysbus.h"
 #include "qemu/timer.h"
 #include "qemu/timer.h"
 #include "qemu-common.h"
 #include "qemu-common.h"

+ 1 - 0
hw/timer/cadence_ttc.c

@@ -16,6 +16,7 @@
  * with this program; if not, see <http://www.gnu.org/licenses/>.
  * with this program; if not, see <http://www.gnu.org/licenses/>.
  */
  */
 
 
+#include "qemu/osdep.h"
 #include "hw/sysbus.h"
 #include "hw/sysbus.h"
 #include "qemu/timer.h"
 #include "qemu/timer.h"
 
 

+ 1 - 0
hw/timer/digic-timer.c

@@ -26,6 +26,7 @@
  *
  *
  */
  */
 
 
+#include "qemu/osdep.h"
 #include "hw/sysbus.h"
 #include "hw/sysbus.h"
 #include "hw/ptimer.h"
 #include "hw/ptimer.h"
 #include "qemu/main-loop.h"
 #include "qemu/main-loop.h"

+ 1 - 0
hw/timer/exynos4210_mct.c

@@ -52,6 +52,7 @@
  * there is no way to avoid frequently events).
  * there is no way to avoid frequently events).
  */
  */
 
 
+#include "qemu/osdep.h"
 #include "hw/sysbus.h"
 #include "hw/sysbus.h"
 #include "qemu/timer.h"
 #include "qemu/timer.h"
 #include "qemu/main-loop.h"
 #include "qemu/main-loop.h"

+ 1 - 0
hw/timer/exynos4210_pwm.c

@@ -20,6 +20,7 @@
  * with this program; if not, see <http://www.gnu.org/licenses/>.
  * with this program; if not, see <http://www.gnu.org/licenses/>.
  */
  */
 
 
+#include "qemu/osdep.h"
 #include "hw/sysbus.h"
 #include "hw/sysbus.h"
 #include "qemu/timer.h"
 #include "qemu/timer.h"
 #include "qemu-common.h"
 #include "qemu-common.h"

+ 1 - 0
hw/timer/exynos4210_rtc.c

@@ -25,6 +25,7 @@
  *  CLKOUTEN Bit[9] not used
  *  CLKOUTEN Bit[9] not used
  */
  */
 
 
+#include "qemu/osdep.h"
 #include "hw/sysbus.h"
 #include "hw/sysbus.h"
 #include "qemu/timer.h"
 #include "qemu/timer.h"
 #include "qemu-common.h"
 #include "qemu-common.h"

+ 1 - 0
hw/timer/imx_epit.c

@@ -12,6 +12,7 @@
  *
  *
  */
  */
 
 
+#include "qemu/osdep.h"
 #include "hw/timer/imx_epit.h"
 #include "hw/timer/imx_epit.h"
 #include "hw/misc/imx_ccm.h"
 #include "hw/misc/imx_ccm.h"
 #include "qemu/main-loop.h"
 #include "qemu/main-loop.h"

+ 1 - 0
hw/timer/imx_gpt.c

@@ -12,6 +12,7 @@
  *
  *
  */
  */
 
 
+#include "qemu/osdep.h"
 #include "hw/timer/imx_gpt.h"
 #include "hw/timer/imx_gpt.h"
 #include "hw/misc/imx_ccm.h"
 #include "hw/misc/imx_ccm.h"
 #include "qemu/main-loop.h"
 #include "qemu/main-loop.h"

+ 1 - 0
hw/timer/pl031.c

@@ -11,6 +11,7 @@
  * GNU GPL, version 2 or (at your option) any later version.
  * GNU GPL, version 2 or (at your option) any later version.
  */
  */
 
 
+#include "qemu/osdep.h"
 #include "hw/sysbus.h"
 #include "hw/sysbus.h"
 #include "qemu/timer.h"
 #include "qemu/timer.h"
 #include "sysemu/sysemu.h"
 #include "sysemu/sysemu.h"

+ 1 - 0
hw/timer/pxa2xx_timer.c

@@ -7,6 +7,7 @@
  * This code is licensed under the GPL.
  * This code is licensed under the GPL.
  */
  */
 
 
+#include "qemu/osdep.h"
 #include "hw/hw.h"
 #include "hw/hw.h"
 #include "qemu/timer.h"
 #include "qemu/timer.h"
 #include "sysemu/sysemu.h"
 #include "sysemu/sysemu.h"

+ 1 - 0
target-arm/arch_dump.c

@@ -18,6 +18,7 @@
  * with this program; if not, see <http://www.gnu.org/licenses/>.
  * with this program; if not, see <http://www.gnu.org/licenses/>.
  */
  */
 
 
+#include "qemu/osdep.h"
 #include "cpu.h"
 #include "cpu.h"
 #include "elf.h"
 #include "elf.h"
 #include "sysemu/dump.h"
 #include "sysemu/dump.h"