From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:49583) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RIQyJ-0001sl-F1 for qemu-devel@nongnu.org; Mon, 24 Oct 2011 16:18:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RIQyG-0001Xk-37 for qemu-devel@nongnu.org; Mon, 24 Oct 2011 16:18:10 -0400 Received: from smtp23.services.sfr.fr ([93.17.128.19]:57912) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RIQyF-0001XU-SF for qemu-devel@nongnu.org; Mon, 24 Oct 2011 16:18:07 -0400 From: =?UTF-8?q?Herv=C3=A9=20Poussineau?= Date: Mon, 24 Oct 2011 22:18:16 +0200 Message-Id: <1319487505-5915-3-git-send-email-hpoussin@reactos.org> In-Reply-To: <1319487505-5915-1-git-send-email-hpoussin@reactos.org> References: <1319487505-5915-1-git-send-email-hpoussin@reactos.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PATCH 02/11] isa: move ISABus structure definition to header file List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: =?UTF-8?q?Herv=C3=A9=20Poussineau?= Signed-off-by: Herv=C3=A9 Poussineau --- 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" =20 -struct ISABus { - BusState qbus; - MemoryRegion *address_space_io; - qemu_irq *irqs; -}; static ISABus *isabus; target_phys_addr_t isa_mem_base =3D 0; =20 diff --git a/hw/isa.h b/hw/isa.h index 4b58e37..0462521 100644 --- a/hw/isa.h +++ b/hw/isa.h @@ -13,6 +13,12 @@ typedef struct ISABus ISABus; typedef struct ISADevice ISADevice; typedef struct ISADeviceInfo ISADeviceInfo; =20 +struct ISABus { + BusState qbus; + MemoryRegion *address_space_io; + qemu_irq *irqs; +}; + struct ISADevice { DeviceState qdev; uint32_t isairq[2]; --=20 1.7.6.3