From patchwork Sun Aug 1 17:37:07 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [05/20] Add a stub for some rc4030 functions, if rc4030 support is not compiled in. Date: Sun, 01 Aug 2010 07:37:07 -0000 From: =?utf-8?q?Herv=C3=A9_Poussineau_=3Chpoussin=40reactos=2Eorg=3E?= X-Patchwork-Id: 60475 Message-Id: <1280684242-19611-5-git-send-email-hpoussin@reactos.org> To: qemu-devel@nongnu.org Cc: =?UTF-8?q?Herv=C3=A9=20Poussineau?= 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