mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00: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
|
@ -236,14 +236,14 @@ static int arm_mptimer_init(SysBusDevice *dev)
|
|||
* * timer for core 1
|
||||
* and so on.
|
||||
*/
|
||||
memory_region_init_io(&s->iomem, &arm_thistimer_ops, s,
|
||||
memory_region_init_io(&s->iomem, NULL, &arm_thistimer_ops, s,
|
||||
"arm_mptimer_timer", 0x20);
|
||||
sysbus_init_mmio(dev, &s->iomem);
|
||||
for (i = 0; i < s->num_cpu; i++) {
|
||||
TimerBlock *tb = &s->timerblock[i];
|
||||
tb->timer = qemu_new_timer_ns(vm_clock, timerblock_tick, tb);
|
||||
sysbus_init_irq(dev, &tb->irq);
|
||||
memory_region_init_io(&tb->iomem, &timerblock_ops, tb,
|
||||
memory_region_init_io(&tb->iomem, NULL, &timerblock_ops, tb,
|
||||
"arm_mptimer_timerblock", 0x20);
|
||||
sysbus_init_mmio(dev, &tb->iomem);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue