mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 17:53:56 -06:00
memory: Rename memory_region_init_rom() and _rom_device() to _nomigrate()
Rename memory_region_init_rom() to memory_region_init_rom_nomigrate() and memory_region_init_rom_device() to memory_region_init_rom_device_nomigrate(). Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Message-id: 1499438577-7674-5-git-send-email-peter.maydell@linaro.org
This commit is contained in:
parent
1cfe48c1ce
commit
b59821a95b
10 changed files with 47 additions and 39 deletions
|
@ -484,7 +484,7 @@ static void boston_mach_init(MachineState *machine)
|
|||
sysbus_mmio_map_overlap(SYS_BUS_DEVICE(s->cps), 0, 0, 1);
|
||||
|
||||
flash = g_new(MemoryRegion, 1);
|
||||
memory_region_init_rom_device(flash, NULL, &boston_flash_ops, s,
|
||||
memory_region_init_rom_device_nomigrate(flash, NULL, &boston_flash_ops, s,
|
||||
"boston.flash", 128 * M_BYTE, &err);
|
||||
memory_region_add_subregion_overlap(sys_mem, 0x18000000, flash, 0);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue