hw: include hw header files with full paths

Done with this script:

cd hw
for i in `find . -name '*.h' | sed 's/^..//'`; do
  echo '\,^#.*include.*["<]'$i'[">], s,'$i',hw/&,'
done | sed -i -f - `find . -type f`

This is so that paths remain valid as files are moved.

Instead, files in hw/dataplane are referenced with the relative path.
We know they are not going to move to include/, and they are the only
include files that are in subdirectories _and_ move.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
Paolo Bonzini 2013-02-04 15:40:22 +01:00
parent 7948b4b009
commit 83c9f4ca79
487 changed files with 1604 additions and 1604 deletions

View File

@ -18,7 +18,7 @@
* with this program; if not, see <http://www.gnu.org/licenses/>.
*/
#include "sysbus.h"
#include "hw/sysbus.h"
/* A15MP private memory region. */

View File

@ -8,7 +8,7 @@
* This code is licensed under the GPL.
*/
#include "sysbus.h"
#include "hw/sysbus.h"
typedef struct A9MPPrivState {
SysBusDevice busdev;

View File

@ -8,7 +8,7 @@
* This code is licensed under the GPL.
*/
#include "sysbus.h"
#include "hw/sysbus.h"
/* A9MP private memory region. */

View File

@ -17,10 +17,10 @@
* GNU GPL, version 2 or (at your option) any later version.
*/
#include "hw.h"
#include "audiodev.h"
#include "hw/hw.h"
#include "hw/audiodev.h"
#include "audio/audio.h"
#include "pci/pci.h"
#include "hw/pci/pci.h"
#include "sysemu/dma.h"
enum {

View File

@ -19,9 +19,9 @@
* GNU GPL, version 2 or (at your option) any later version.
*/
#include "sysemu/sysemu.h"
#include "hw.h"
#include "pc.h"
#include "acpi.h"
#include "hw/hw.h"
#include "hw/pc.h"
#include "hw/acpi.h"
#include "monitor/monitor.h"
struct acpi_table_header {

View File

@ -23,16 +23,16 @@
* Contributions after 2012-01-13 are licensed under the terms of the
* GNU GPL, version 2 or (at your option) any later version.
*/
#include "hw.h"
#include "pc.h"
#include "pci/pci.h"
#include "hw/hw.h"
#include "hw/pc.h"
#include "hw/pci/pci.h"
#include "qemu/timer.h"
#include "sysemu/sysemu.h"
#include "acpi.h"
#include "hw/acpi.h"
#include "sysemu/kvm.h"
#include "exec/address-spaces.h"
#include "ich9.h"
#include "hw/ich9.h"
//#define DEBUG

View File

@ -21,7 +21,7 @@
#ifndef HW_ACPI_ICH9_H
#define HW_ACPI_ICH9_H
#include "acpi.h"
#include "hw/acpi.h"
typedef struct ICH9LPCPMRegs {
/*

View File

@ -18,16 +18,16 @@
* Contributions after 2012-01-13 are licensed under the terms of the
* GNU GPL, version 2 or (at your option) any later version.
*/
#include "hw.h"
#include "pc.h"
#include "apm.h"
#include "pm_smbus.h"
#include "pci/pci.h"
#include "acpi.h"
#include "hw/hw.h"
#include "hw/pc.h"
#include "hw/apm.h"
#include "hw/pm_smbus.h"
#include "hw/pci/pci.h"
#include "hw/acpi.h"
#include "sysemu/sysemu.h"
#include "qemu/range.h"
#include "exec/ioport.h"
#include "fw_cfg.h"
#include "hw/fw_cfg.h"
#include "exec/address-spaces.h"
//#define DEBUG

View File

@ -21,8 +21,8 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
#include "hw.h"
#include "adb.h"
#include "hw/hw.h"
#include "hw/adb.h"
#include "ui/console.h"
/* debug ADB */

View File

@ -26,7 +26,7 @@
#if !defined(__ADB_H__)
#define __ADB_H__
#include "qdev.h"
#include "hw/qdev.h"
#define MAX_ADB_DEVICES 16

View File

@ -22,10 +22,10 @@
* THE SOFTWARE.
*/
#include "hw.h"
#include "audiodev.h"
#include "hw/hw.h"
#include "hw/audiodev.h"
#include "audio/audio.h"
#include "isa.h"
#include "hw/isa.h"
//#define DEBUG
@ -47,7 +47,7 @@
void YMF262UpdateOneQEMU (int which, INT16 *dst, int length);
#define SHIFT 2
#else
#include "fmopl.h"
#include "hw/fmopl.h"
#define SHIFT 1
#endif

View File

@ -10,7 +10,7 @@
* GNU GPL, version 2 or (at your option) any later version.
*/
#include "ssi.h"
#include "hw/ssi.h"
#include "ui/console.h"
typedef struct {

View File

@ -6,16 +6,16 @@
* that we need to emulate as well.
*/
#include "hw.h"
#include "hw/hw.h"
#include "elf.h"
#include "loader.h"
#include "boards.h"
#include "alpha_sys.h"
#include "hw/loader.h"
#include "hw/boards.h"
#include "hw/alpha_sys.h"
#include "sysemu/sysemu.h"
#include "mc146818rtc.h"
#include "ide.h"
#include "i8254.h"
#include "serial.h"
#include "hw/mc146818rtc.h"
#include "hw/ide.h"
#include "hw/i8254.h"
#include "hw/serial.h"
#define MAX_IDE_BUS 2

View File

@ -7,7 +7,7 @@
*/
#include "config.h"
#include "alpha_sys.h"
#include "hw/alpha_sys.h"
#include "qemu/log.h"
#include "sysemu/sysemu.h"

View File

@ -3,11 +3,11 @@
#ifndef HW_ALPHA_H
#define HW_ALPHA_H 1
#include "pci/pci.h"
#include "pci/pci_host.h"
#include "ide.h"
#include "pc.h"
#include "irq.h"
#include "hw/pci/pci.h"
#include "hw/pci/pci_host.h"
#include "hw/ide.h"
#include "hw/pc.h"
#include "hw/irq.h"
PCIBus *typhoon_init(ram_addr_t, ISABus **, qemu_irq *, AlphaCPU *[4],

View File

@ -8,10 +8,10 @@
#include "cpu.h"
#include "exec/exec-all.h"
#include "hw.h"
#include "devices.h"
#include "hw/hw.h"
#include "hw/devices.h"
#include "sysemu/sysemu.h"
#include "alpha_sys.h"
#include "hw/alpha_sys.h"
#include "exec/address-spaces.h"

View File

@ -6,10 +6,10 @@
* This code is licensed under the GPL
*/
#include "hw.h"
#include "mcf.h"
#include "boards.h"
#include "loader.h"
#include "hw/hw.h"
#include "hw/mcf.h"
#include "hw/boards.h"
#include "hw/loader.h"
#include "elf.h"
#include "exec/address-spaces.h"

View File

@ -26,12 +26,12 @@
Ultrasparc PCI host is called the PCI Bus Module (PBM). The APB is
the secondary PCI bridge. */
#include "sysbus.h"
#include "pci/pci.h"
#include "pci/pci_host.h"
#include "pci/pci_bridge.h"
#include "pci/pci_bus.h"
#include "apb_pci.h"
#include "hw/sysbus.h"
#include "hw/pci/pci.h"
#include "hw/pci/pci_host.h"
#include "hw/pci/pci_bridge.h"
#include "hw/pci/pci_bus.h"
#include "hw/apb_pci.h"
#include "sysemu/sysemu.h"
#include "exec/address-spaces.h"

View File

@ -17,14 +17,14 @@
* License along with this library; if not, see <http://www.gnu.org/licenses/>
*/
#include "qemu/thread.h"
#include "apic_internal.h"
#include "apic.h"
#include "ioapic.h"
#include "pci/msi.h"
#include "hw/apic_internal.h"
#include "hw/apic.h"
#include "hw/ioapic.h"
#include "hw/pci/msi.h"
#include "qemu/host-utils.h"
#include "trace.h"
#include "pc.h"
#include "apic-msidef.h"
#include "hw/pc.h"
#include "hw/apic-msidef.h"
#define MAX_APIC_WORDS 8

View File

@ -17,8 +17,8 @@
* 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 "apic.h"
#include "apic_internal.h"
#include "hw/apic.h"
#include "hw/apic_internal.h"
#include "trace.h"
#include "sysemu/kvm.h"

View File

@ -21,7 +21,7 @@
#define QEMU_APIC_INTERNAL_H
#include "exec/memory.h"
#include "sysbus.h"
#include "hw/sysbus.h"
#include "qemu/timer.h"
/* APIC Local Vector Table */

View File

@ -20,9 +20,9 @@
* GNU GPL, version 2 or (at your option) any later version.
*/
#include "apm.h"
#include "hw.h"
#include "pci/pci.h"
#include "hw/apm.h"
#include "hw/hw.h"
#include "hw/pci/pci.h"
//#define DEBUG

View File

@ -3,7 +3,7 @@
#include <stdint.h>
#include "qemu-common.h"
#include "hw.h"
#include "hw/hw.h"
#include "exec/memory.h"
typedef void (*apm_ctrl_changed_t)(uint32_t val, void *arg);

View File

@ -30,8 +30,8 @@
*
*/
#include "hw.h"
#include "isa.h"
#include "hw/hw.h"
#include "hw/isa.h"
#include "ui/console.h"
#include "qemu/timer.h"

View File

@ -7,7 +7,7 @@
* This code is licensed under the GPL.
*/
#include "sysbus.h"
#include "hw/sysbus.h"
#include "qemu/timer.h"
/* MPCore private memory region. */

View File

@ -8,11 +8,11 @@
*/
#include "config.h"
#include "hw.h"
#include "arm-misc.h"
#include "hw/hw.h"
#include "hw/arm-misc.h"
#include "sysemu/sysemu.h"
#include "boards.h"
#include "loader.h"
#include "hw/boards.h"
#include "hw/loader.h"
#include "elf.h"
#include "sysemu/device_tree.h"
#include "qemu/config-file.h"

View File

@ -18,8 +18,8 @@
* armv7m_nvic device.
*/
#include "sysbus.h"
#include "arm_gic_internal.h"
#include "hw/sysbus.h"
#include "hw/arm_gic_internal.h"
//#define DEBUG_GIC

View File

@ -18,7 +18,7 @@
* with this program; if not, see <http://www.gnu.org/licenses/>.
*/
#include "arm_gic_internal.h"
#include "hw/arm_gic_internal.h"
static void gic_save(QEMUFile *f, void *opaque)
{

View File

@ -21,7 +21,7 @@
#ifndef QEMU_ARM_GIC_INTERNAL_H
#define QEMU_ARM_GIC_INTERNAL_H
#include "sysbus.h"
#include "hw/sysbus.h"
/* Maximum number of possible interrupts, determined by the GIC architecture */
#define GIC_MAXIRQ 1020

View File

@ -18,7 +18,7 @@
*
*/
#include "sysbus.h"
#include "hw/sysbus.h"
/* L2C-310 r3p2 */
#define CACHE_ID 0x410000c8

View File

@ -19,7 +19,7 @@
* with this program; if not, see <http://www.gnu.org/licenses/>.
*/
#include "sysbus.h"
#include "hw/sysbus.h"
#include "qemu/timer.h"
/* This device implements the per-cpu private timer and watchdog block

View File

@ -7,8 +7,8 @@
* This code is licensed under the LGPL
*/
#include "hw.h"
#include "arm-misc.h"
#include "hw/hw.h"
#include "hw/arm-misc.h"
/* Input 0 is IRQ and input 1 is FIQ. */
static void arm_pic_cpu_handler(void *opaque, int irq, int level)

View File

@ -7,10 +7,10 @@
* This code is licensed under the GPL.
*/
#include "hw.h"
#include "hw/hw.h"
#include "qemu/timer.h"
#include "sysbus.h"
#include "primecell.h"
#include "hw/sysbus.h"
#include "hw/primecell.h"
#include "sysemu/sysemu.h"
#define LOCK_VALUE 0xa05f

View File

@ -7,11 +7,11 @@
* This code is licensed under the GPL.
*/
#include "sysbus.h"
#include "hw/sysbus.h"
#include "qemu/timer.h"
#include "qemu-common.h"
#include "qdev.h"
#include "ptimer.h"
#include "hw/qdev.h"
#include "hw/ptimer.h"
/* Common timer implementation. */

View File

@ -7,9 +7,9 @@
* This code is licensed under the GPL.
*/
#include "sysbus.h"
#include "arm-misc.h"
#include "loader.h"
#include "hw/sysbus.h"
#include "hw/arm-misc.h"
#include "hw/loader.h"
#include "elf.h"
/* Bitbanded IO. Each word corresponds to a single bit. */

View File

@ -10,11 +10,11 @@
* NVIC. Much of that is also implemented here.
*/
#include "sysbus.h"
#include "hw/sysbus.h"
#include "qemu/timer.h"
#include "arm-misc.h"
#include "hw/arm-misc.h"
#include "exec/address-spaces.h"
#include "arm_gic_internal.h"
#include "hw/arm_gic_internal.h"
typedef struct {
GICState gic;

View File

@ -22,14 +22,14 @@
* THE SOFTWARE.
*/
#include "sysbus.h"
#include "hw/sysbus.h"
#include "net/net.h"
#include "flash.h"
#include "boards.h"
#include "etraxfs.h"
#include "loader.h"
#include "hw/flash.h"
#include "hw/boards.h"
#include "hw/etraxfs.h"
#include "hw/loader.h"
#include "elf.h"
#include "cris-boot.h"
#include "hw/cris-boot.h"
#include "sysemu/blockdev.h"
#include "exec/address-spaces.h"

View File

@ -9,9 +9,9 @@
* Contributions after 2012-01-13 are licensed under the terms of the
* GNU GPL, version 2 or (at your option) any later version.
*/
#include "hw.h"
#include "bitbang_i2c.h"
#include "sysbus.h"
#include "hw/hw.h"
#include "hw/bitbang_i2c.h"
#include "hw/sysbus.h"
//#define DEBUG_BITBANG_I2C

View File

@ -1,7 +1,7 @@
#ifndef BITBANG_I2C_H
#define BITBANG_I2C_H
#include "i2c.h"
#include "hw/i2c.h"
typedef struct bitbang_i2c_interface bitbang_i2c_interface;

View File

@ -20,8 +20,8 @@
#include "qemu-common.h"
#include "ui/console.h"
#include "devices.h"
#include "vga_int.h"
#include "hw/devices.h"
#include "hw/vga_int.h"
#include "ui/pixel_ops.h"
typedef void (*blizzard_fn_t)(uint8_t *, const uint8_t *, unsigned int);
@ -941,15 +941,15 @@ static void blizzard_screen_dump(void *opaque, const char *filename,
}
#define DEPTH 8
#include "blizzard_template.h"
#include "hw/blizzard_template.h"
#define DEPTH 15
#include "blizzard_template.h"
#include "hw/blizzard_template.h"
#define DEPTH 16
#include "blizzard_template.h"
#include "hw/blizzard_template.h"
#define DEPTH 24
#include "blizzard_template.h"
#include "hw/blizzard_template.h"
#define DEPTH 32
#include "blizzard_template.h"
#include "hw/blizzard_template.h"
void *s1d13745_init(qemu_irq gpio_int)
{

View File

@ -4,7 +4,7 @@
#define HW_BOARDS_H
#include "sysemu/blockdev.h"
#include "qdev.h"
#include "hw/qdev.h"
#define DEFAULT_MACHINE_OPTIONS \
.boot_order = "cad"

View File

@ -39,11 +39,11 @@
#include <assert.h>
#include "hw.h"
#include "pci/pci.h"
#include "pc.h"
#include "mips.h"
#include "pci/pci_host.h"
#include "hw/hw.h"
#include "hw/pci/pci.h"
#include "hw/pc.h"
#include "hw/mips.h"
#include "hw/pci/pci_host.h"
#include "sysemu/sysemu.h"
#include "exec/address-spaces.h"

View File

@ -21,9 +21,9 @@
#include "qemu-common.h"
#include "char/char.h"
#include "qemu/timer.h"
#include "irq.h"
#include "hw/irq.h"
#include "bt/bt.h"
#include "bt.h"
#include "hw/bt.h"
struct csrhci_s {
int enable;

View File

@ -20,9 +20,9 @@
#include "qemu-common.h"
#include "qemu/timer.h"
#include "usb.h"
#include "hw/usb.h"
#include "bt/bt.h"
#include "bt.h"
#include "hw/bt.h"
struct bt_hci_s {
uint8_t *(*evt_packet)(void *opaque);

View File

@ -21,8 +21,8 @@
#include "qemu-common.h"
#include "qemu/timer.h"
#include "ui/console.h"
#include "hid.h"
#include "bt.h"
#include "hw/hid.h"
#include "hw/bt.h"
enum hid_transaction_req {
BT_HANDSHAKE = 0x0,

View File

@ -19,7 +19,7 @@
#include "qemu-common.h"
#include "qemu/timer.h"
#include "bt.h"
#include "hw/bt.h"
#define L2CAP_CID_MAX 0x100 /* Between 0x40 and 0x10000 */

View File

@ -18,7 +18,7 @@
*/
#include "qemu-common.h"
#include "bt.h"
#include "hw/bt.h"
struct bt_l2cap_sdp_state_s {
struct bt_l2cap_conn_params_s *channel;

View File

@ -19,7 +19,7 @@
#include "qemu-common.h"
#include "bt/bt.h"
#include "bt.h"
#include "hw/bt.h"
/* Slave implementations can ignore this */
static void bt_dummy_lmp_mode_change(struct bt_link_s *link)

View File

@ -24,7 +24,7 @@
#include <zlib.h> /* For crc32 */
#include "sysbus.h"
#include "hw/sysbus.h"
#include "net/net.h"
#include "net/checksum.h"

View File

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

View File

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

View File

@ -21,8 +21,8 @@
*/
#include "qemu-common.h"
#include "irq.h"
#include "devices.h"
#include "hw/irq.h"
#include "hw/devices.h"
#include "sysemu/sysemu.h"
//#define DEBUG

View File

@ -10,7 +10,7 @@
#ifndef CCID_H
#define CCID_H
#include "qdev.h"
#include "hw/qdev.h"
typedef struct CCIDCardState CCIDCardState;
typedef struct CCIDCardInfo CCIDCardInfo;

View File

@ -26,7 +26,7 @@
here. */
#include "qemu-common.h"
#include "scsi.h"
#include "hw/scsi.h"
static void lba_to_msf(uint8_t *buf, int lba)
{

View File

@ -26,11 +26,11 @@
* Reference: Finn Thogersons' VGADOC4b
* available at http://home.worldonline.dk/~finth/
*/
#include "hw.h"
#include "pci/pci.h"
#include "hw/hw.h"
#include "hw/pci/pci.h"
#include "ui/console.h"
#include "vga_int.h"
#include "loader.h"
#include "hw/vga_int.h"
#include "hw/loader.h"
/*
* TODO:
@ -288,63 +288,63 @@ static void cirrus_bitblt_fill_nop(CirrusVGAState *s,
#define ROP_NAME 0
#define ROP_FN(d, s) 0
#include "cirrus_vga_rop.h"
#include "hw/cirrus_vga_rop.h"
#define ROP_NAME src_and_dst
#define ROP_FN(d, s) (s) & (d)
#include "cirrus_vga_rop.h"
#include "hw/cirrus_vga_rop.h"
#define ROP_NAME src_and_notdst
#define ROP_FN(d, s) (s) & (~(d))
#include "cirrus_vga_rop.h"
#include "hw/cirrus_vga_rop.h"
#define ROP_NAME notdst
#define ROP_FN(d, s) ~(d)
#include "cirrus_vga_rop.h"
#include "hw/cirrus_vga_rop.h"
#define ROP_NAME src
#define ROP_FN(d, s) s
#include "cirrus_vga_rop.h"
#include "hw/cirrus_vga_rop.h"
#define ROP_NAME 1
#define ROP_FN(d, s) ~0
#include "cirrus_vga_rop.h"
#include "hw/cirrus_vga_rop.h"
#define ROP_NAME notsrc_and_dst
#define ROP_FN(d, s) (~(s)) & (d)
#include "cirrus_vga_rop.h"
#include "hw/cirrus_vga_rop.h"
#define ROP_NAME src_xor_dst
#define ROP_FN(d, s) (s) ^ (d)
#include "cirrus_vga_rop.h"
#include "hw/cirrus_vga_rop.h"
#define ROP_NAME src_or_dst
#define ROP_FN(d, s) (s) | (d)
#include "cirrus_vga_rop.h"
#include "hw/cirrus_vga_rop.h"
#define ROP_NAME notsrc_or_notdst
#define ROP_FN(d, s) (~(s)) | (~(d))
#include "cirrus_vga_rop.h"
#include "hw/cirrus_vga_rop.h"
#define ROP_NAME src_notxor_dst
#define ROP_FN(d, s) ~((s) ^ (d))
#include "cirrus_vga_rop.h"
#include "hw/cirrus_vga_rop.h"
#define ROP_NAME src_or_notdst
#define ROP_FN(d, s) (s) | (~(d))
#include "cirrus_vga_rop.h"
#include "hw/cirrus_vga_rop.h"
#define ROP_NAME notsrc
#define ROP_FN(d, s) (~(s))
#include "cirrus_vga_rop.h"
#include "hw/cirrus_vga_rop.h"
#define ROP_NAME notsrc_or_dst
#define ROP_FN(d, s) (~(s)) | (d)
#include "cirrus_vga_rop.h"
#include "hw/cirrus_vga_rop.h"
#define ROP_NAME notsrc_and_notdst
#define ROP_FN(d, s) (~(s)) & (~(d))
#include "cirrus_vga_rop.h"
#include "hw/cirrus_vga_rop.h"
static const cirrus_bitblt_rop_t cirrus_fwd_rop[16] = {
cirrus_bitblt_rop_fwd_0,
@ -2165,13 +2165,13 @@ static void cirrus_cursor_invalidate(VGACommonState *s1)
}
#define DEPTH 8
#include "cirrus_vga_template.h"
#include "hw/cirrus_vga_template.h"
#define DEPTH 16
#include "cirrus_vga_template.h"
#include "hw/cirrus_vga_template.h"
#define DEPTH 32
#include "cirrus_vga_template.h"
#include "hw/cirrus_vga_template.h"
static void cirrus_cursor_draw_line(VGACommonState *s1, uint8_t *d1, int scr_y)
{

View File

@ -191,16 +191,16 @@ glue(glue(cirrus_bitblt_rop_bkwd_transp_, ROP_NAME),_16)(CirrusVGAState *s,
}
#define DEPTH 8
#include "cirrus_vga_rop2.h"
#include "hw/cirrus_vga_rop2.h"
#define DEPTH 16
#include "cirrus_vga_rop2.h"
#include "hw/cirrus_vga_rop2.h"
#define DEPTH 24
#include "cirrus_vga_rop2.h"
#include "hw/cirrus_vga_rop2.h"
#define DEPTH 32
#include "cirrus_vga_rop2.h"
#include "hw/cirrus_vga_rop2.h"
#undef ROP_NAME
#undef ROP_OP

View File

@ -8,13 +8,13 @@
* Contributions after 2012-01-13 are licensed under the terms of the
* GNU GPL, version 2 or (at your option) any later version.
*/
#include "hw.h"
#include "sysbus.h"
#include "boards.h"
#include "devices.h"
#include "strongarm.h"
#include "arm-misc.h"
#include "flash.h"
#include "hw/hw.h"
#include "hw/sysbus.h"
#include "hw/boards.h"
#include "hw/devices.h"
#include "hw/strongarm.h"
#include "hw/arm-misc.h"
#include "hw/flash.h"
#include "sysemu/blockdev.h"
#include "exec/address-spaces.h"

View File

@ -22,10 +22,10 @@
* THE SOFTWARE.
*/
#include "hw.h"
#include "loader.h"
#include "hw/hw.h"
#include "hw/loader.h"
#include "elf.h"
#include "cris-boot.h"
#include "hw/cris-boot.h"
static void main_cpu_reset(void *opaque)
{

View File

@ -22,9 +22,9 @@
* THE SOFTWARE.
*/
#include "sysbus.h"
#include "hw.h"
#include "etraxfs.h"
#include "hw/sysbus.h"
#include "hw/hw.h"
#include "hw/etraxfs.h"
#define D(x)

View File

@ -22,7 +22,7 @@
* THE SOFTWARE.
*/
#include "sysbus.h"
#include "hw/sysbus.h"
#include "trace.h"
/*

View File

@ -21,11 +21,11 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
#include "hw.h"
#include "audiodev.h"
#include "hw/hw.h"
#include "hw/audiodev.h"
#include "audio/audio.h"
#include "isa.h"
#include "qdev.h"
#include "hw/isa.h"
#include "hw/qdev.h"
#include "qemu/timer.h"
/*

View File

@ -22,9 +22,9 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
#include "hw.h"
#include "ppc/mac.h"
#include "adb.h"
#include "hw/hw.h"
#include "hw/ppc/mac.h"
#include "hw/adb.h"
#include "qemu/timer.h"
#include "sysemu/sysemu.h"

View File

@ -13,7 +13,7 @@
*/
#include <sys/epoll.h>
#include "hw/dataplane/event-poll.h"
#include "event-poll.h"
/* Add an event notifier and its callback for polling */
void event_poll_add(EventPoll *poll, EventHandler *handler,

View File

@ -12,7 +12,7 @@
*
*/
#include "hw/dataplane/ioq.h"
#include "ioq.h"
void ioq_init(IOQueue *ioq, int fd, unsigned int max_reqs)
{

View File

@ -22,7 +22,7 @@
#include "migration/migration.h"
#include "block/block.h"
#include "hw/virtio-blk.h"
#include "hw/dataplane/virtio-blk.h"
#include "virtio-blk.h"
enum {
SEG_MAX = 126, /* maximum number of I/O segments */

View File

@ -15,7 +15,7 @@
*/
#include "trace.h"
#include "hw/dataplane/vring.h"
#include "vring.h"
#include "qemu/error-report.h"
/* Map the guest's vring to host memory */

View File

@ -19,7 +19,7 @@
#include <linux/virtio_ring.h>
#include "qemu-common.h"
#include "hw/dataplane/hostmem.h"
#include "hostmem.h"
#include "hw/virtio.h"
typedef struct {

View File

@ -24,10 +24,10 @@
* THE SOFTWARE.
*/
#include "hw.h"
#include "hw/hw.h"
#include "char/char.h"
#include "isa.h"
#include "pc.h"
#include "hw/isa.h"
#include "hw/pc.h"
#define TYPE_ISA_DEBUGCON_DEVICE "isa-debugcon"
#define ISA_DEBUGCON_DEVICE(obj) \

View File

@ -7,8 +7,8 @@
* (at your option) any later version.
*/
#include "hw.h"
#include "isa.h"
#include "hw/hw.h"
#include "hw/isa.h"
#define TYPE_ISA_DEBUG_EXIT_DEVICE "isa-debug-exit"
#define ISA_DEBUG_EXIT_DEVICE(obj) \

View File

@ -23,12 +23,12 @@
* THE SOFTWARE.
*/
#include "dec_pci.h"
#include "sysbus.h"
#include "pci/pci.h"
#include "pci/pci_host.h"
#include "pci/pci_bridge.h"
#include "pci/pci_bus.h"
#include "hw/dec_pci.h"
#include "hw/sysbus.h"
#include "hw/pci/pci.h"
#include "hw/pci/pci_host.h"
#include "hw/pci/pci_bridge.h"
#include "hw/pci/pci_bus.h"
/* debug DEC */
//#define DEBUG_DEC

View File

@ -21,8 +21,8 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
#include "hw.h"
#include "isa.h"
#include "hw/hw.h"
#include "hw/isa.h"
#include "qemu/main-loop.h"
/* #define DEBUG_DMA */

View File

@ -17,10 +17,10 @@
* with this program; if not, see <http://www.gnu.org/licenses/>.
*/
#include "hw.h"
#include "hw/hw.h"
#include "qemu/timer.h"
#include "net/net.h"
#include "mips.h"
#include "hw/mips.h"
//#define DEBUG_SONIC

View File

@ -22,7 +22,7 @@
* THE SOFTWARE.
*/
#include "sysbus.h"
#include "hw/sysbus.h"
#include "trace.h"
typedef struct {

View File

@ -10,7 +10,7 @@
* GNU GPL, version 2 or (at your option) any later version.
*/
#include "i2c.h"
#include "hw/i2c.h"
/* Size of NVRAM including both the user-accessible area and the
* secondary register area.

View File

@ -6,9 +6,9 @@
* This code is licensed under the GPL
*/
#include "hw.h"
#include "boards.h"
#include "loader.h"
#include "hw/hw.h"
#include "hw/boards.h"
#include "hw/loader.h"
#include "elf.h"
#include "exec/address-spaces.h"

View File

@ -25,15 +25,15 @@
*/
#include "hw.h"
#include "pci/pci.h"
#include "hw/hw.h"
#include "hw/pci/pci.h"
#include "net/net.h"
#include "net/checksum.h"
#include "loader.h"
#include "hw/loader.h"
#include "sysemu/sysemu.h"
#include "sysemu/dma.h"
#include "e1000_hw.h"
#include "hw/e1000_hw.h"
#define E1000_DEBUG

View File

@ -11,8 +11,8 @@
* GNU GPL, version 2 or (at your option) any later version.
*/
#include "hw.h"
#include "flash.h"
#include "hw/hw.h"
#include "hw/flash.h"
/*
* Pre-calculated 256-way 1 byte column parity. Table borrowed from Linux.

View File

@ -22,7 +22,7 @@
* THE SOFTWARE.
*/
#include "sysbus.h"
#include "hw/sysbus.h"
#include "trace.h"
/* There are 3 versions of this chip used in SMP sun4m systems:

View File

@ -41,10 +41,10 @@
*/
#include <stddef.h> /* offsetof */
#include "hw.h"
#include "pci/pci.h"
#include "hw/hw.h"
#include "hw/pci/pci.h"
#include "net/net.h"
#include "eeprom93xx.h"
#include "hw/eeprom93xx.h"
#include "sysemu/sysemu.h"
#include "sysemu/dma.h"

View File

@ -35,8 +35,8 @@
* - No emulation of EEPROM timings.
*/
#include "hw.h"
#include "eeprom93xx.h"
#include "hw/hw.h"
#include "hw/eeprom93xx.h"
/* Debug EEPROM emulation. */
//~ #define DEBUG_EEPROM

View File

@ -9,9 +9,9 @@
* version.
*/
#include "hw.h"
#include "sysbus.h"
#include "empty_slot.h"
#include "hw/hw.h"
#include "hw/sysbus.h"
#include "hw/empty_slot.h"
//#define DEBUG_EMPTY_SLOT

View File

@ -26,10 +26,10 @@
/* #define VERBOSE_ES1370 */
#define SILENT_ES1370
#include "hw.h"
#include "audiodev.h"
#include "hw/hw.h"
#include "hw/audiodev.h"
#include "audio/audio.h"
#include "pci/pci.h"
#include "hw/pci/pci.h"
#include "sysemu/dma.h"
/* Missing stuff:

View File

@ -22,9 +22,9 @@
* THE SOFTWARE.
*/
#include "hw.h"
#include "sysbus.h"
#include "escc.h"
#include "hw/hw.h"
#include "hw/sysbus.h"
#include "hw/escc.h"
#include "char/char.h"
#include "ui/console.h"
#include "trace.h"

View File

@ -23,9 +23,9 @@
* THE SOFTWARE.
*/
#include "pci/pci.h"
#include "eeprom93xx.h"
#include "esp.h"
#include "hw/pci/pci.h"
#include "hw/eeprom93xx.h"
#include "hw/esp.h"
#include "trace.h"
#include "qemu/log.h"

View File

@ -23,8 +23,8 @@
* THE SOFTWARE.
*/
#include "sysbus.h"
#include "esp.h"
#include "hw/sysbus.h"
#include "hw/esp.h"
#include "trace.h"
#include "qemu/log.h"

View File

@ -1,7 +1,7 @@
#ifndef QEMU_HW_ESP_H
#define QEMU_HW_ESP_H
#include "scsi.h"
#include "hw/scsi.h"
/* esp.c */
#define ESP_MAX_DEVS 7

View File

@ -26,7 +26,7 @@
#define HW_EXTRAXFS_H 1
#include "net/net.h"
#include "etraxfs_dma.h"
#include "hw/etraxfs_dma.h"
qemu_irq *cris_pic_init_cpu(CPUCRISState *env);

View File

@ -23,12 +23,12 @@
*/
#include <stdio.h>
#include <sys/time.h>
#include "hw.h"
#include "hw/hw.h"
#include "exec/address-spaces.h"
#include "qemu-common.h"
#include "sysemu/sysemu.h"
#include "etraxfs_dma.h"
#include "hw/etraxfs_dma.h"
#define D(x)

View File

@ -23,9 +23,9 @@
*/
#include <stdio.h>
#include "sysbus.h"
#include "hw/sysbus.h"
#include "net/net.h"
#include "etraxfs.h"
#include "hw/etraxfs.h"
#define D(x)

View File

@ -22,8 +22,8 @@
* THE SOFTWARE.
*/
#include "sysbus.h"
#include "hw.h"
#include "hw/sysbus.h"
#include "hw/hw.h"
//#include "pc.h"
//#include "etraxfs.h"

View File

@ -22,7 +22,7 @@
* THE SOFTWARE.
*/
#include "sysbus.h"
#include "hw/sysbus.h"
#include "char/char.h"
#include "qemu/log.h"

View File

@ -21,10 +21,10 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
#include "sysbus.h"
#include "hw/sysbus.h"
#include "sysemu/sysemu.h"
#include "qemu/timer.h"
#include "ptimer.h"
#include "hw/ptimer.h"
#define D(x)

View File

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

View File

@ -27,9 +27,9 @@
* IRQs are passed to GIC through Combiner.
*/
#include "sysbus.h"
#include "hw/sysbus.h"
#include "exynos4210.h"
#include "hw/exynos4210.h"
//#define DEBUG_COMBINER

View File

@ -24,7 +24,7 @@
#include "qemu-common.h"
#include "exec/cpu-all.h"
#include "sysbus.h"
#include "hw/sysbus.h"
#include "ui/console.h"
#include "ui/pixel_ops.h"
#include "qemu/bswap.h"

View File

@ -20,10 +20,10 @@
* with this program; if not, see <http://www.gnu.org/licenses/>.
*/
#include "sysbus.h"
#include "hw/sysbus.h"
#include "qemu-common.h"
#include "irq.h"
#include "exynos4210.h"
#include "hw/irq.h"
#include "hw/exynos4210.h"
enum ExtGicId {
EXT_GIC_ID_MDMA_LCD0 = 66,

View File

@ -21,8 +21,8 @@
*/
#include "qemu/timer.h"
#include "sysbus.h"
#include "i2c.h"
#include "hw/sysbus.h"
#include "hw/i2c.h"
#ifndef EXYNOS4_I2C_DEBUG
#define EXYNOS4_I2C_DEBUG 0

View File

@ -52,12 +52,12 @@
* there is no way to avoid frequently events).
*/
#include "sysbus.h"
#include "hw/sysbus.h"
#include "qemu/timer.h"
#include "qemu-common.h"
#include "ptimer.h"
#include "hw/ptimer.h"
#include "exynos4210.h"
#include "hw/exynos4210.h"
//#define DEBUG_MCT

View File

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

View File

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

Some files were not shown because too many files have changed in this diff Show More