mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 01:33:56 -06:00
hw/[u-x]*: pass owner to memory_region_init* functions
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
853dca1205
commit
22fc860b0a
12 changed files with 31 additions and 25 deletions
|
@ -417,7 +417,8 @@ static int i6300esb_init(PCIDevice *dev)
|
|||
d->timer = qemu_new_timer_ns(vm_clock, i6300esb_timer_expired, d);
|
||||
d->previous_reboot_flag = 0;
|
||||
|
||||
memory_region_init_io(&d->io_mem, NULL, &i6300esb_ops, d, "i6300esb", 0x10);
|
||||
memory_region_init_io(&d->io_mem, OBJECT(d), &i6300esb_ops, d,
|
||||
"i6300esb", 0x10);
|
||||
pci_register_bar(&d->dev, 0, 0, &d->io_mem);
|
||||
/* qemu_register_coalesced_mmio (addr, 0x10); ? */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue