1 #ifndef __ASM_MACH_IRQS_H
2 #define __ASM_MACH_IRQS_H
7 #define evt2irq(evt) (((evt) >> 5) - 16)
8 #define irq2evt(irq) (((irq) + 16) << 5)
11 #define INTCS_VECT_BASE 0x2200
12 #define INTCS_VECT(n, vect) INTC_VECT((n), INTCS_VECT_BASE + (vect))
13 #define intcs_evt2irq(evt) evt2irq(INTCS_VECT_BASE + (evt))
15 #endif /* __ASM_MACH_IRQS_H */