From: Dmitry Eremin-Solenikov Date: Mon, 31 Jan 2011 15:20:41 +0000 (+0300) Subject: sysbus: print number of irqs in dev_print X-Git-Tag: TizenStudio_2.0_p2.3~3400 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1ce02de9c284b2c6684591b73d2eb316c421f11d;p=sdk%2Femulator%2Fqemu.git sysbus: print number of irqs in dev_print Signed-off-by: Dmitry Eremin-Solenikov Signed-off-by: Andrzej Zaborowski --- diff --git a/hw/sysbus.c b/hw/sysbus.c index 1583bd8..1928b51 100644 --- a/hw/sysbus.c +++ b/hw/sysbus.c @@ -178,6 +178,7 @@ static void sysbus_dev_print(Monitor *mon, DeviceState *dev, int indent) SysBusDevice *s = sysbus_from_qdev(dev); int i; + monitor_printf(mon, "%*sirq %d\n", indent, "", s->num_irq); for (i = 0; i < s->num_mmio; i++) { monitor_printf(mon, "%*smmio " TARGET_FMT_plx "/" TARGET_FMT_plx "\n", indent, "", s->mmio[i].addr, s->mmio[i].size);