Home
last modified time | relevance | path

Searched hist:"3818 ed92dc5ddc647ecc114d560a1c0531be7151" (Results 1 – 1 of 1) sorted by relevance

/qemu/hw/arm/
H A Dsbsa-ref.c3818ed92dc5ddc647ecc114d560a1c0531be7151 Wed Feb 19 16:09:04 UTC 2020 Igor Mammedov <imammedo@redhat.com> arm/sbsa-ref: 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-31-imammedo@redhat.com>