From patchwork Mon Oct 24 20:18:16 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Herv=C3=A9_Poussineau?= X-Patchwork-Id: 121402 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [140.186.70.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id D5A87B6F8A for ; Tue, 25 Oct 2011 07:18:41 +1100 (EST) Received: from localhost ([::1]:40787 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RIQyc-00026Q-W6 for incoming@patchwork.ozlabs.org; Mon, 24 Oct 2011 16:18:30 -0400 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 Received: from filter.sfr.fr (localhost [127.0.0.1]) by msfrf2304.sfr.fr (SMTP Server) with ESMTP id 6A24B700007E; Mon, 24 Oct 2011 22:18:07 +0200 (CEST) Received: from localhost.localdomain (unknown [92.90.16.152]) by msfrf2304.sfr.fr (SMTP Server) with ESMTP id F3C7A7000076; Mon, 24 Oct 2011 22:18:06 +0200 (CEST) X-SFR-UUID: 20111024201806998.F3C7A7000076@msfrf2304.sfr.fr From: =?UTF-8?q?Herv=C3=A9=20Poussineau?= To: qemu-devel@nongnu.org Date: Mon, 24 Oct 2011 22:18:16 +0200 Message-Id: <1319487505-5915-3-git-send-email-hpoussin@reactos.org> X-Mailer: git-send-email 1.7.6.3 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 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 93.17.128.19 Cc: =?UTF-8?q?Herv=C3=A9=20Poussineau?= Subject: [Qemu-devel] [PATCH 02/11] isa: move ISABus structure definition to header file X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Signed-off-by: Hervé Poussineau Reviewed-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 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; +struct ISABus { + BusState qbus; + MemoryRegion *address_space_io; + qemu_irq *irqs; +}; + struct ISADevice { DeviceState qdev; uint32_t isairq[2];