summary refs log tree commit diff stats
path: root/hw/core/null-machine.c
diff options
context:
space:
mode:
authorIgor Mammedov <imammedo@redhat.com>2020-02-19 11:09:03 -0500
committerPatchew Importer <importer@patchew.org>2020-02-19 16:49:56 +0000
commita4317ae8ba5e77f88a98d2509220ae5ce1565f6c (patch)
treed24291ca7878a03516235adffd61fe86a89efd92 /hw/core/null-machine.c
parent778f43267a3fd0b3cb8f9142ba9d0cc9b78f8c5f (diff)
downloadfocaccia-qemu-a4317ae8ba5e77f88a98d2509220ae5ce1565f6c.tar.gz
focaccia-qemu-a4317ae8ba5e77f88a98d2509220ae5ce1565f6c.zip
arm/raspi: 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.

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20200219160953.13771-30-imammedo@redhat.com>
Diffstat (limited to 'hw/core/null-machine.c')
0 files changed, 0 insertions, 0 deletions