mirror of
https://github.com/qemu/qemu.git
synced 2024-12-11 20:53:51 +08:00
b844d822cf
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>
23 lines
544 B
C
23 lines
544 B
C
/* Alpha cores and system support chips. */
|
|
|
|
#ifndef HW_ALPHA_SYS_H
|
|
#define HW_ALPHA_SYS_H
|
|
|
|
#include "target/alpha/cpu-qom.h"
|
|
#include "hw/pci/pci.h"
|
|
#include "hw/pci/pci_host.h"
|
|
#include "hw/ide.h"
|
|
#include "hw/boards.h"
|
|
#include "hw/intc/i8259.h"
|
|
|
|
|
|
PCIBus *typhoon_init(MemoryRegion *, ISABus **, qemu_irq *, AlphaCPU *[4],
|
|
pci_map_irq_fn);
|
|
|
|
/* alpha_pci.c. */
|
|
extern const MemoryRegionOps alpha_pci_ignore_ops;
|
|
extern const MemoryRegionOps alpha_pci_conf1_ops;
|
|
extern const MemoryRegionOps alpha_pci_iack_ops;
|
|
|
|
#endif
|