Revision 87ecb68b hw/irq.h

b/hw/irq.h
1
#ifndef QEMU_IRQ_H
2
#define QEMU_IRQ_H
3

  
1 4
/* Generic IRQ/GPIO pin infrastructure.  */
2 5

  
6
/* FIXME: Rmove one of these.  */
3 7
typedef void (*qemu_irq_handler)(void *opaque, int n, int level);
4

  
5
typedef struct IRQState *qemu_irq;
8
typedef void SetIRQFunc(void *opaque, int irq_num, int level);
6 9

  
7 10
void qemu_set_irq(qemu_irq irq, int level);
8 11

  
......
21 24

  
22 25
/* Returns a new IRQ with opposite polarity.  */
23 26
qemu_irq qemu_irq_invert(qemu_irq irq);
27

  
28
#endif

Also available in: Unified diff