isa: give ISABus/ISADevice to isa_create(), isa_bus_irqs() and isa_get_irq() functions
[qemu/qmp-unstable.git] / hw / openpic.h
blob715f0847bf435e5812859d3a18a37f16ead36d83
1 #if !defined(__OPENPIC_H__)
2 #define __OPENPIC_H__
4 /* OpenPIC have 5 outputs per CPU connected and one IRQ out single output */
5 enum {
6 OPENPIC_OUTPUT_INT = 0, /* IRQ */
7 OPENPIC_OUTPUT_CINT, /* critical IRQ */
8 OPENPIC_OUTPUT_MCK, /* Machine check event */
9 OPENPIC_OUTPUT_DEBUG, /* Inconditional debug event */
10 OPENPIC_OUTPUT_RESET, /* Core reset event */
11 OPENPIC_OUTPUT_NB,
14 qemu_irq *openpic_init (PCIBus *bus, MemoryRegion **pmem, int nb_cpus,
15 qemu_irq **irqs, qemu_irq irq_out);
16 qemu_irq *mpic_init (MemoryRegion *address_space, target_phys_addr_t base,
17 int nb_cpus, qemu_irq **irqs, qemu_irq irq_out);
18 #endif /* __OPENPIC_H__ */