aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorIgor Mammedov <imammedo@redhat.com>2020-02-19 11:09:38 -0500
committerPatchew Importer <importer@patchew.org>2020-02-19 16:50:00 +0000
commit2dc9ce13d210d591a0b9d98234fe6f39a535bf68 (patch)
tree1694fc343bbb854b1ac7e843e4ade227ecb035ec /include
parent4428dcf7b990d6dae05de8611dcd7098121534c8 (diff)
downloadqemu-2dc9ce13d210d591a0b9d98234fe6f39a535bf68.zip
qemu-2dc9ce13d210d591a0b9d98234fe6f39a535bf68.tar.gz
qemu-2dc9ce13d210d591a0b9d98234fe6f39a535bf68.tar.bz2
ppc/ppc405_boards: use memdev for RAM
memory_region_allocate_system_memory() API is going away, so replace it with memdev allocated MemoryRegion. The later is initialized by generic code, so board only needs to opt in to memdev scheme by providing MachineClass::default_ram_id and using MachineState::ram instead of manually initializing RAM memory region. PS: in ref405ep alias RAM into ram_memories[] to avoid re-factoring its user ppc405ep_init(), which would be invasive and out of scope this patch. Signed-off-by: Igor Mammedov <imammedo@redhat.com> Acked-by: David Gibson <david@gibson.dropbear.id.au> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20200219160953.13771-65-imammedo@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions