From patchwork Sun Aug 1 17:37:07 2010 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: 60475 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 5C5971007D1 for ; Mon, 2 Aug 2010 04:18:51 +1000 (EST) Received: from localhost ([127.0.0.1]:52195 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ofd7W-0002NL-L5 for incoming@patchwork.ozlabs.org; Sun, 01 Aug 2010 14:18:46 -0400 Received: from [140.186.70.92] (port=41791 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ofczv-0006pX-8Y for qemu-devel@nongnu.org; Sun, 01 Aug 2010 14:10:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Ofczu-0005ua-1r for qemu-devel@nongnu.org; Sun, 01 Aug 2010 14:10:55 -0400 Received: from smtp5-g21.free.fr ([212.27.42.5]:43166) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ofczt-0005u9-Ek for qemu-devel@nongnu.org; Sun, 01 Aug 2010 14:10:53 -0400 Received: from localhost.localdomain (unknown [88.171.126.33]) by smtp5-g21.free.fr (Postfix) with ESMTP id 4423ED48052; Sun, 1 Aug 2010 20:10:48 +0200 (CEST) From: =?UTF-8?q?Herv=C3=A9=20Poussineau?= To: qemu-devel@nongnu.org Date: Sun, 1 Aug 2010 19:37:07 +0200 Message-Id: <1280684242-19611-5-git-send-email-hpoussin@reactos.org> X-Mailer: git-send-email 1.7.1.GIT In-Reply-To: <4C5579DA.8050508@reactos.org> References: <4C5579DA.8050508@reactos.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) Cc: =?UTF-8?q?Herv=C3=A9=20Poussineau?= Subject: [Qemu-devel] [PATCH 05/20] Add a stub for some rc4030 functions, if rc4030 support is not compiled in. X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Will be used by next commits, when rc4030 devices will be converted to qdev Signed-off-by: Hervé Poussineau --- arch_init.c | 21 +++++++++++++++++++++ 1 files changed, 21 insertions(+), 0 deletions(-) diff --git a/arch_init.c b/arch_init.c index 47bb4b2..67b8d83 100644 --- a/arch_init.c +++ b/arch_init.c @@ -40,6 +40,7 @@ #include "net.h" #include "gdbstub.h" #include "hw/smbios.h" +#include "hw/rc4030.h" #ifdef TARGET_SPARC int graphic_width = 1024; @@ -640,3 +641,23 @@ int xen_available(void) return 0; #endif } + +#ifndef TARGET_MIPS +void rc4030_init_irq(RC4030Device *dev, qemu_irq *p, int rc4030irq) +{ +} + +void rc4030_qdev_register(RC4030DeviceInfo *info) +{ +} + +RC4030Device *rc4030_create(const char *name) +{ + return NULL; +} + +RC4030Device *rc4030_create_simple(const char *name) +{ + return NULL; +} +#endif