From d1a1be180c0e0299d7b7c1e3e6ed3b7002bdf8e0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Herv=C3=A9=20Poussineau?= Date: Thu, 15 Dec 2011 22:09:52 +0100 Subject: [PATCH] isa: move ISABus structure definition to header file MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Hervé Poussineau Signed-off-by: Anthony Liguori --- hw/isa-bus.c | 5 ----- hw/isa.h | 6 ++++++ 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/hw/isa-bus.c b/hw/isa-bus.c index dcbb134..7c94f0b 100644 --- a/hw/isa-bus.c +++ b/hw/isa-bus.c @@ -22,11 +22,6 @@ #include "isa.h" #include "exec-memory.h" -struct ISABus { - BusState qbus; - MemoryRegion *address_space_io; - qemu_irq *irqs; -}; static ISABus *isabus; target_phys_addr_t isa_mem_base = 0; diff --git a/hw/isa.h b/hw/isa.h index 1e75f87..b11a0be 100644 --- a/hw/isa.h +++ b/hw/isa.h @@ -12,6 +12,12 @@ typedef struct ISADevice ISADevice; typedef struct ISADeviceInfo ISADeviceInfo; +struct ISABus { + BusState qbus; + MemoryRegion *address_space_io; + qemu_irq *irqs; +}; + struct ISADevice { DeviceState qdev; uint32_t isairq[2]; -- 2.7.4