]> Git Repo - qemu.git/commit
arm/raspi: use memdev for RAM
authorIgor Mammedov <[email protected]>
Wed, 19 Feb 2020 16:09:03 +0000 (11:09 -0500)
committerPatchew Importer <[email protected]>
Wed, 19 Feb 2020 16:49:56 +0000 (16:49 +0000)
commita4317ae8ba5e77f88a98d2509220ae5ce1565f6c
treed24291ca7878a03516235adffd61fe86a89efd92
parent778f43267a3fd0b3cb8f9142ba9d0cc9b78f8c5f
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 <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Message-Id: <20200219160953[email protected]>
hw/arm/raspi.c
This page took 0.026976 seconds and 4 git commands to generate.