From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:60051) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RaxqB-0007Qo-CP for qemu-devel@nongnu.org; Wed, 14 Dec 2011 18:02:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RaxqA-0006PU-6v for qemu-devel@nongnu.org; Wed, 14 Dec 2011 18:02:23 -0500 Received: from smtp1-g21.free.fr ([212.27.42.1]:50503) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Raxq9-0006P5-5b for qemu-devel@nongnu.org; Wed, 14 Dec 2011 18:02:22 -0500 From: =?UTF-8?q?Herv=C3=A9=20Poussineau?= Date: Thu, 15 Dec 2011 00:02:34 +0100 Message-Id: <1323903763-22933-3-git-send-email-hpoussin@reactos.org> In-Reply-To: <1323903763-22933-1-git-send-email-hpoussin@reactos.org> References: <1323903763-22933-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: Anthony Liguori , =?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.7.3