sim-card
/
qemu
Archived
10
0
Fork 0

sysbus: print number of irqs in dev_print

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: Andrzej Zaborowski <andrew.zaborowski@intel.com>
This commit is contained in:
Dmitry Eremin-Solenikov 2011-01-31 18:20:41 +03:00 committed by Andrzej Zaborowski
parent 7a719c7ce5
commit 0fba9fd6c3
1 changed files with 1 additions and 0 deletions

View File

@ -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);