mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-28 21:03:54 -06:00
memory: add owner argument to initialization functions
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
5767e4e198
commit
2c9b15cab1
319 changed files with 787 additions and 759 deletions
|
@ -180,7 +180,7 @@ static int lm32_timer_init(SysBusDevice *dev)
|
|||
s->ptimer = ptimer_init(s->bh);
|
||||
ptimer_set_freq(s->ptimer, s->freq_hz);
|
||||
|
||||
memory_region_init_io(&s->iomem, &timer_ops, s, "timer", R_MAX * 4);
|
||||
memory_region_init_io(&s->iomem, NULL, &timer_ops, s, "timer", R_MAX * 4);
|
||||
sysbus_init_mmio(dev, &s->iomem);
|
||||
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue