projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a719c7
)
sysbus: print number of irqs in dev_print
author
Dmitry Eremin-Solenikov
<dbaryshkov@gmail.com>
Mon, 31 Jan 2011 15:20:41 +0000
(18:20 +0300)
committer
Andrzej Zaborowski
<balrog@zabor.org>
Fri, 11 Feb 2011 00:13:52 +0000
(
01:13
+0100)
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: Andrzej Zaborowski <andrew.zaborowski@intel.com>
hw/sysbus.c
patch
|
blob
|
history
diff --git
a/hw/sysbus.c
b/hw/sysbus.c
index
1583bd8
..
1928b51
100644
(file)
--- 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);