diff options
author | Igor Mammedov <imammedo@redhat.com> | 2020-02-19 11:08:42 -0500 |
---|---|---|
committer | Patchew Importer <importer@patchew.org> | 2020-02-19 16:49:54 +0000 |
commit | b844d822cf628b175a732bbfd25d9348200a1ec6 (patch) | |
tree | a6343b212fc94435063fdee02b8fc17cae76cc9d /hw/alpha/alpha_sys.h | |
parent | fe64d06afc1c5d895f220c268cfe4d5f1e65d44e (diff) | |
download | qemu-b844d822cf628b175a732bbfd25d9348200a1ec6.zip qemu-b844d822cf628b175a732bbfd25d9348200a1ec6.tar.gz qemu-b844d822cf628b175a732bbfd25d9348200a1ec6.tar.bz2 |
alpha/dp264: 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>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Acked-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20200219160953.13771-9-imammedo@redhat.com>
Diffstat (limited to 'hw/alpha/alpha_sys.h')
-rw-r--r-- | hw/alpha/alpha_sys.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/alpha/alpha_sys.h b/hw/alpha/alpha_sys.h index 95033d7..bc0a286 100644 --- a/hw/alpha/alpha_sys.h +++ b/hw/alpha/alpha_sys.h @@ -11,7 +11,7 @@ #include "hw/intc/i8259.h" -PCIBus *typhoon_init(ram_addr_t, ISABus **, qemu_irq *, AlphaCPU *[4], +PCIBus *typhoon_init(MemoryRegion *, ISABus **, qemu_irq *, AlphaCPU *[4], pci_map_irq_fn); /* alpha_pci.c. */ |