]> git.proxmox.com Git - qemu.git/blame - hw/openpic.h
openpic: remove irq_out
[qemu.git] / hw / openpic.h
CommitLineData
b7169916
AJ
1#if !defined(__OPENPIC_H__)
2#define __OPENPIC_H__
3
4/* OpenPIC have 5 outputs per CPU connected and one IRQ out single output */
5enum {
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,
12};
13
5861a338
AG
14/* OpenPIC capability flags */
15#define OPENPIC_FLAG_IDE_CRIT (1 << 0)
16
8a5faa1d 17qemu_irq *openpic_init (MemoryRegion **pmem, int nb_cpus,
5bac0701 18 qemu_irq **irqs);
a8170e5e 19qemu_irq *mpic_init (MemoryRegion *address_space, hwaddr base,
5bac0701 20 int nb_cpus, qemu_irq **irqs);
b7169916 21#endif /* __OPENPIC_H__ */