mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33: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
|
@ -73,7 +73,7 @@ static void puv3_board_init(CPUUniCore32State *env, ram_addr_t ram_size)
|
|||
MemoryRegion *ram_memory = g_new(MemoryRegion, 1);
|
||||
|
||||
/* SDRAM at address zero. */
|
||||
memory_region_init_ram(ram_memory, "puv3.ram", ram_size);
|
||||
memory_region_init_ram(ram_memory, NULL, "puv3.ram", ram_size);
|
||||
vmstate_register_ram_global(ram_memory);
|
||||
memory_region_add_subregion(get_system_memory(), 0, ram_memory);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue