hw: move headers to include/

Many of these should be cleaned up with proper qdev-/QOM-ification.
Right now there are many catch-all headers in include/hw/ARCH depending
on cpu.h, and this makes it necessary to compile these files per-target.
However, fixing this does not belong in these patches.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
Paolo Bonzini 2013-02-05 17:06:20 +01:00
parent bb585a784e
commit 0d09e41a51
511 changed files with 829 additions and 830 deletions

View file

@ -8,7 +8,7 @@
*/
#include "hw/sysbus.h"
#include "hw/arm-misc.h"
#include "hw/arm.h"
#include "hw/loader.h"
#include "elf.h"

View file

@ -9,7 +9,7 @@
#include "config.h"
#include "hw/hw.h"
#include "hw/arm-misc.h"
#include "hw/arm.h"
#include "sysemu/sysemu.h"
#include "hw/boards.h"
#include "hw/loader.h"

View file

@ -11,10 +11,10 @@
#include "hw/hw.h"
#include "hw/sysbus.h"
#include "hw/boards.h"
#include "hw/devices.h"
#include "hw/arm/devices.h"
#include "hw/strongarm.h"
#include "hw/arm-misc.h"
#include "hw/flash.h"
#include "hw/arm.h"
#include "hw/block/flash.h"
#include "sysemu/blockdev.h"
#include "exec/address-spaces.h"

View file

@ -24,9 +24,9 @@
#include "hw/boards.h"
#include "sysemu/sysemu.h"
#include "hw/sysbus.h"
#include "hw/arm-misc.h"
#include "hw/arm.h"
#include "hw/loader.h"
#include "hw/exynos4210.h"
#include "hw/arm/exynos4210.h"
#include "hw/usb/hcd-ehci.h"
#define EXYNOS4210_CHIPID_ADDR 0x10000000

View file

@ -24,9 +24,9 @@
#include "sysemu/sysemu.h"
#include "hw/sysbus.h"
#include "net/net.h"
#include "hw/arm-misc.h"
#include "hw/arm.h"
#include "exec/address-spaces.h"
#include "hw/exynos4210.h"
#include "hw/arm/exynos4210.h"
#include "hw/boards.h"
#undef DEBUG

View file

@ -35,10 +35,10 @@
*/
#include "hw/hw.h"
#include "hw/pxa.h"
#include "hw/arm/pxa.h"
#include "net/net.h"
#include "hw/flash.h"
#include "hw/devices.h"
#include "hw/block/flash.h"
#include "hw/arm/devices.h"
#include "hw/boards.h"
#include "sysemu/blockdev.h"
#include "exec/address-spaces.h"

View file

@ -18,8 +18,8 @@
*/
#include "hw/sysbus.h"
#include "hw/arm-misc.h"
#include "hw/devices.h"
#include "hw/arm.h"
#include "hw/arm/devices.h"
#include "hw/loader.h"
#include "net/net.h"
#include "sysemu/sysemu.h"

View file

@ -8,9 +8,9 @@
*/
#include "hw/sysbus.h"
#include "hw/devices.h"
#include "hw/arm/devices.h"
#include "hw/boards.h"
#include "hw/arm-misc.h"
#include "hw/arm.h"
#include "net/net.h"
#include "exec/address-spaces.h"
#include "sysemu/sysemu.h"

View file

@ -16,13 +16,13 @@
#include "hw/sysbus.h"
#include "exec/address-spaces.h"
#include "hw/hw.h"
#include "hw/arm-misc.h"
#include "hw/devices.h"
#include "hw/arm.h"
#include "hw/arm/devices.h"
#include "net/net.h"
#include "sysemu/sysemu.h"
#include "hw/boards.h"
#include "hw/serial.h"
#include "hw/imx.h"
#include "hw/char/serial.h"
#include "hw/arm/imx.h"
/* Memory map for Kzm Emulation Baseboard:
* 0x00000000-0x00003fff 16k secure ROM IGNORED

View file

@ -12,12 +12,12 @@
* GNU GPL, version 2 or (at your option) any later version.
*/
#include "hw/hw.h"
#include "hw/pxa.h"
#include "hw/arm-misc.h"
#include "hw/arm/pxa.h"
#include "hw/arm.h"
#include "net/net.h"
#include "hw/devices.h"
#include "hw/arm/devices.h"
#include "hw/boards.h"
#include "hw/flash.h"
#include "hw/block/flash.h"
#include "sysemu/blockdev.h"
#include "hw/sysbus.h"
#include "exec/address-spaces.h"

View file

@ -10,18 +10,18 @@
*/
#include "hw/sysbus.h"
#include "hw/arm-misc.h"
#include "hw/devices.h"
#include "hw/arm.h"
#include "hw/arm/devices.h"
#include "net/net.h"
#include "sysemu/sysemu.h"
#include "hw/boards.h"
#include "hw/serial.h"
#include "hw/char/serial.h"
#include "qemu/timer.h"
#include "hw/ptimer.h"
#include "block/block.h"
#include "hw/flash.h"
#include "hw/block/flash.h"
#include "ui/console.h"
#include "hw/i2c.h"
#include "hw/i2c/i2c.h"
#include "sysemu/blockdev.h"
#include "exec/address-spaces.h"
#include "ui/pixel_ops.h"

View file

@ -20,14 +20,14 @@
#include "qemu-common.h"
#include "sysemu/sysemu.h"
#include "hw/omap.h"
#include "hw/arm-misc.h"
#include "hw/arm/omap.h"
#include "hw/arm.h"
#include "hw/irq.h"
#include "ui/console.h"
#include "hw/boards.h"
#include "hw/i2c.h"
#include "hw/devices.h"
#include "hw/flash.h"
#include "hw/i2c/i2c.h"
#include "hw/arm/devices.h"
#include "hw/block/flash.h"
#include "hw/hw.h"
#include "hw/bt.h"
#include "hw/loader.h"

View file

@ -17,10 +17,10 @@
* with this program; if not, see <http://www.gnu.org/licenses/>.
*/
#include "hw/hw.h"
#include "hw/arm-misc.h"
#include "hw/omap.h"
#include "hw/arm.h"
#include "hw/arm/omap.h"
#include "sysemu/sysemu.h"
#include "hw/soc_dma.h"
#include "hw/arm/soc_dma.h"
#include "sysemu/blockdev.h"
#include "qemu/range.h"
#include "hw/sysbus.h"

View file

@ -20,13 +20,13 @@
#include "sysemu/blockdev.h"
#include "hw/hw.h"
#include "hw/arm-misc.h"
#include "hw/omap.h"
#include "hw/arm.h"
#include "hw/arm/omap.h"
#include "sysemu/sysemu.h"
#include "qemu/timer.h"
#include "char/char.h"
#include "hw/flash.h"
#include "hw/soc_dma.h"
#include "hw/block/flash.h"
#include "hw/arm/soc_dma.h"
#include "hw/sysbus.h"
#include "audio/audio.h"

View file

@ -27,10 +27,10 @@
*/
#include "hw/hw.h"
#include "ui/console.h"
#include "hw/omap.h"
#include "hw/arm/omap.h"
#include "hw/boards.h"
#include "hw/arm-misc.h"
#include "hw/flash.h"
#include "hw/arm.h"
#include "hw/block/flash.h"
#include "sysemu/blockdev.h"
#include "exec/address-spaces.h"

View file

@ -20,10 +20,10 @@
#include "audio/audio.h"
#include "sysemu/sysemu.h"
#include "ui/console.h"
#include "hw/omap.h"
#include "hw/arm/omap.h"
#include "hw/boards.h"
#include "hw/arm-misc.h"
#include "hw/devices.h"
#include "hw/arm.h"
#include "hw/arm/devices.h"
#include "hw/loader.h"
#include "exec/address-spaces.h"

View file

@ -8,7 +8,7 @@
*/
#include "hw/hw.h"
#include "hw/arm-misc.h"
#include "hw/arm.h"
#include "sysemu/kvm.h"
/* Input 0 is IRQ and input 1 is FIQ. */

View file

@ -8,10 +8,10 @@
*/
#include "hw/sysbus.h"
#include "hw/pxa.h"
#include "hw/arm/pxa.h"
#include "sysemu/sysemu.h"
#include "hw/serial.h"
#include "hw/i2c.h"
#include "hw/char/serial.h"
#include "hw/i2c/i2c.h"
#include "hw/ssi.h"
#include "char/char.h"
#include "sysemu/blockdev.h"

View file

@ -9,7 +9,7 @@
#include "hw/hw.h"
#include "hw/sysbus.h"
#include "hw/pxa.h"
#include "hw/arm/pxa.h"
#define PXA2XX_GPIO_BANKS 4

View file

@ -9,7 +9,7 @@
*/
#include "hw/hw.h"
#include "hw/pxa.h"
#include "hw/arm/pxa.h"
#include "hw/sysbus.h"
#define ICIP 0x00 /* Interrupt Controller IRQ Pending register */

View file

@ -8,14 +8,14 @@
*/
#include "hw/sysbus.h"
#include "hw/arm-misc.h"
#include "hw/primecell.h"
#include "hw/devices.h"
#include "hw/arm.h"
#include "hw/arm/primecell.h"
#include "hw/arm/devices.h"
#include "hw/pci/pci.h"
#include "net/net.h"
#include "sysemu/sysemu.h"
#include "hw/boards.h"
#include "hw/i2c.h"
#include "hw/i2c/i2c.h"
#include "sysemu/blockdev.h"
#include "exec/address-spaces.h"

View file

@ -11,16 +11,16 @@
*/
#include "hw/hw.h"
#include "hw/pxa.h"
#include "hw/arm-misc.h"
#include "hw/arm/pxa.h"
#include "hw/arm.h"
#include "sysemu/sysemu.h"
#include "hw/pcmcia.h"
#include "hw/i2c.h"
#include "hw/i2c/i2c.h"
#include "hw/ssi.h"
#include "hw/flash.h"
#include "hw/block/flash.h"
#include "qemu/timer.h"
#include "hw/devices.h"
#include "hw/sharpsl.h"
#include "hw/arm/devices.h"
#include "hw/arm/sharpsl.h"
#include "ui/console.h"
#include "block/block.h"
#include "audio/audio.h"

View file

@ -9,10 +9,10 @@
#include "hw/sysbus.h"
#include "hw/ssi.h"
#include "hw/arm-misc.h"
#include "hw/devices.h"
#include "hw/arm.h"
#include "hw/arm/devices.h"
#include "qemu/timer.h"
#include "hw/i2c.h"
#include "hw/i2c/i2c.h"
#include "net/net.h"
#include "hw/boards.h"
#include "exec/address-spaces.h"

View file

@ -12,14 +12,14 @@
*/
#include "hw/hw.h"
#include "hw/pxa.h"
#include "hw/arm-misc.h"
#include "hw/devices.h"
#include "hw/sharpsl.h"
#include "hw/arm/pxa.h"
#include "hw/arm.h"
#include "hw/arm/devices.h"
#include "hw/arm/sharpsl.h"
#include "hw/pcmcia.h"
#include "block/block.h"
#include "hw/boards.h"
#include "hw/i2c.h"
#include "hw/i2c/i2c.h"
#include "hw/ssi.h"
#include "sysemu/blockdev.h"
#include "hw/sysbus.h"

View file

@ -8,16 +8,16 @@
*/
#include "hw/sysbus.h"
#include "hw/arm-misc.h"
#include "hw/devices.h"
#include "hw/arm.h"
#include "hw/arm/devices.h"
#include "net/net.h"
#include "sysemu/sysemu.h"
#include "hw/pci/pci.h"
#include "hw/i2c.h"
#include "hw/i2c/i2c.h"
#include "hw/boards.h"
#include "sysemu/blockdev.h"
#include "exec/address-spaces.h"
#include "hw/flash.h"
#include "hw/block/flash.h"
#define VERSATILE_FLASH_ADDR 0x34000000
#define VERSATILE_FLASH_SIZE (64 * 1024 * 1024)

View file

@ -22,15 +22,15 @@
*/
#include "hw/sysbus.h"
#include "hw/arm-misc.h"
#include "hw/primecell.h"
#include "hw/devices.h"
#include "hw/arm.h"
#include "hw/arm/primecell.h"
#include "hw/arm/devices.h"
#include "net/net.h"
#include "sysemu/sysemu.h"
#include "hw/boards.h"
#include "exec/address-spaces.h"
#include "sysemu/blockdev.h"
#include "hw/flash.h"
#include "hw/block/flash.h"
#define VEXPRESS_BOARD_ID 0x8e0
#define VEXPRESS_FLASH_SIZE (64 * 1024 * 1024)

View file

@ -16,12 +16,12 @@
*/
#include "hw/sysbus.h"
#include "hw/arm-misc.h"
#include "hw/arm.h"
#include "net/net.h"
#include "exec/address-spaces.h"
#include "sysemu/sysemu.h"
#include "hw/boards.h"
#include "hw/flash.h"
#include "hw/block/flash.h"
#include "sysemu/blockdev.h"
#include "hw/loader.h"
#include "hw/ssi.h"

View file

@ -12,14 +12,14 @@
*/
#include "hw/hw.h"
#include "hw/pxa.h"
#include "hw/arm-misc.h"
#include "hw/devices.h"
#include "hw/i2c.h"
#include "hw/arm/pxa.h"
#include "hw/arm.h"
#include "hw/arm/devices.h"
#include "hw/i2c/i2c.h"
#include "hw/ssi.h"
#include "hw/boards.h"
#include "sysemu/sysemu.h"
#include "hw/flash.h"
#include "hw/block/flash.h"
#include "sysemu/blockdev.h"
#include "ui/console.h"
#include "audio/audio.h"