Revision ff6986ce hw/intc/apic_common.c
b/hw/intc/apic_common.c | ||
---|---|---|
298 | 298 |
s->idx = apic_no++; |
299 | 299 |
|
300 | 300 |
info = APIC_COMMON_GET_CLASS(s); |
301 |
info->init(s);
|
|
301 |
info->realize(DEVICE(dev), NULL);
|
|
302 | 302 |
if (!mmio_registered) { |
303 | 303 |
ICCBus *b = ICC_BUS(qdev_get_parent_bus(DEVICE(dev))); |
304 | 304 |
memory_region_add_subregion(b->apic_address_space, 0, &s->io_memory); |
Also available in: Unified diff