mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 01:03:55 -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
|
@ -1516,7 +1516,7 @@ static void map_list(OpenPICState *opp, const MemReg *list, int *count)
|
|||
while (list->name) {
|
||||
assert(*count < ARRAY_SIZE(opp->sub_io_mem));
|
||||
|
||||
memory_region_init_io(&opp->sub_io_mem[*count], list->ops, opp,
|
||||
memory_region_init_io(&opp->sub_io_mem[*count], NULL, list->ops, opp,
|
||||
list->name, list->size);
|
||||
|
||||
memory_region_add_subregion(&opp->mem, list->start_addr,
|
||||
|
@ -1531,7 +1531,7 @@ static void openpic_init(Object *obj)
|
|||
{
|
||||
OpenPICState *opp = OPENPIC(obj);
|
||||
|
||||
memory_region_init(&opp->mem, "openpic", 0x40000);
|
||||
memory_region_init(&opp->mem, NULL, "openpic", 0x40000);
|
||||
}
|
||||
|
||||
static void openpic_realize(DeviceState *dev, Error **errp)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue