mirror of
https://github.com/qemu/qemu.git
synced 2024-12-11 12:43:55 +08:00
5ec4f1d348
- Move initialization of the ISA bus from typhoon_init() to clipper_init(); this apsect of device topology is really associated with the individual model, not the core logic chipset. typhoon_init() now returns the IRQ to use for the output of the ISA PIC. - In clipper_init(), instantiate an i82378 instance, and connect its PIC output to the ISA IRQ input provided by typhoon_init(). Remove the explicit instantiations of i8254 and i82374, as these devices are subsumed by the i82378. Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Signed-off-by: Jason Thorpe <thorpej@me.com> Message-Id: <20210616141538.25436-1-thorpej@me.com> [rth: Remove direct dependencies on i82374, i8254, i8259.] Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
22 lines
544 B
C
22 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/boards.h"
|
|
#include "hw/intc/i8259.h"
|
|
|
|
|
|
PCIBus *typhoon_init(MemoryRegion *, qemu_irq *, qemu_irq *, AlphaCPU *[4],
|
|
pci_map_irq_fn, uint8_t devfn_min);
|
|
|
|
/* 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
|