Revision 2c9b15ca hw/xen/xen_pt.c
b/hw/xen/xen_pt.c | ||
---|---|---|
416 | 416 |
} |
417 | 417 |
} |
418 | 418 |
|
419 |
memory_region_init_io(&s->bar[i], &ops, &s->dev, |
|
419 |
memory_region_init_io(&s->bar[i], NULL, &ops, &s->dev,
|
|
420 | 420 |
"xen-pci-pt-bar", r->size); |
421 | 421 |
pci_register_bar(&s->dev, i, type, &s->bar[i]); |
422 | 422 |
|
... | ... | |
440 | 440 |
|
441 | 441 |
s->bases[PCI_ROM_SLOT].access.maddr = d->rom.base_addr; |
442 | 442 |
|
443 |
memory_region_init_rom_device(&s->rom, NULL, NULL, |
|
443 |
memory_region_init_rom_device(&s->rom, NULL, NULL, NULL,
|
|
444 | 444 |
"xen-pci-pt-rom", d->rom.size); |
445 | 445 |
pci_register_bar(&s->dev, PCI_ROM_SLOT, PCI_BASE_ADDRESS_MEM_PREFETCH, |
446 | 446 |
&s->rom); |
Also available in: Unified diff