2 * Common Blackfin IRQ definitions (i.e. the CEC)
4 * Copyright 2005-2011 Analog Devices Inc.
6 * Licensed under the GPL-2 or later
9 #ifndef _MACH_COMMON_IRQ_H_
10 #define _MACH_COMMON_IRQ_H_
13 * Core events interrupt source definitions
15 * Event Source Event Name
16 * Emulation EMU 0 (highest priority)
21 * Hardware Error IVHW 5
26 * Peripherals IVG10 10
27 * Peripherals IVG11 11
28 * Peripherals IVG12 12
29 * Peripherals IVG13 13
31 * System Call IVG15 15 (lowest priority)
34 /* The ABSTRACT IRQ definitions */
35 #define IRQ_EMU 0 /* Emulation */
36 #define IRQ_RST 1 /* reset */
37 #define IRQ_NMI 2 /* Non Maskable */
38 #define IRQ_EVX 3 /* Exception */
39 #define IRQ_UNUSED 4 /* - unused interrupt */
40 #define IRQ_HWERR 5 /* Hardware Error */
41 #define IRQ_CORETMR 6 /* Core timer */
43 #define BFIN_IRQ(x) ((x) + 7)
55 #define NR_IRQS (NR_MACH_IRQS + NR_SPARE_IRQS)