mirror of
https://github.com/xemu-project/xemu.git
synced 2025-02-13 08:34:38 +00:00
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:
parent
7a719c7ce5
commit
0fba9fd6c3
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user