mips: memory: Replace memory_region_init_ram with memory_region_allocate_system_memory
commit6a926fbc6fff58598cce9404019204090a8e8361
authorDirk Müller <dirk@dmllr.de>
Tue, 24 Mar 2015 21:28:15 +0000 (24 22:28 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 25 Mar 2015 13:35:31 +0000 (25 14:35 +0100)
tree9c83eaafd3858f5a668980188cccf10d9844ca05
parent1d5bfde1b978b57156d851d140b99eac8b2adbe4
mips: memory: Replace memory_region_init_ram with memory_region_allocate_system_memory

Commit 0b183fc871:"memory: move mem_path handling to
memory_region_allocate_system_memory" split memory_region_init_ram and
memory_region_init_ram_from_file. Also it moved mem-path handling a step
up from memory_region_init_ram to memory_region_allocate_system_memory.

Therefore for any board that uses memory_region_init_ram directly,
-mem-path is not supported.

Fix this by replacing memory_region_init_ram with
memory_region_allocate_system_memory.

Signed-off-by: Dirk Mueller <dmueller@suse.com>
Message-Id: <CAL5wTH4-=HJUvwBu+2o6jGanJesJOyNf3sL8-5+d_-6C3cWBfA@mail.gmail.com>
Reviewed-by: Andreas Färber <afaerber@suse.de>
Acked-by: Leon Alrae <leon.alrae@imgtec.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/mips/mips_fulong2e.c
hw/mips/mips_jazz.c
hw/mips/mips_malta.c
hw/mips/mips_mipssim.c
hw/mips/mips_r4k.c