1 /* include/asm-mips/mach-goldfish/irq.h 2 ** 3 ** Copyright (C) 2007 Google, Inc. 4 ** 5 ** This software is licensed under the terms of the GNU General Public 6 ** License version 2, as published by the Free Software Foundation, and 7 ** may be copied, distributed, and modified under those terms. 8 ** 9 ** This program is distributed in the hope that it will be useful, 10 ** but WITHOUT ANY WARRANTY; without even the implied warranty of 11 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 ** GNU General Public License for more details. 13 ** 14 */ 15 16 #ifndef __ASM_MACH_GOLDFISH_IRQ_H 17 #define __ASM_MACH_GOLDFISH_IRQ_H 18 19 /* 0..7 MIPS CPU interrupts */ 20 #define MIPS_CPU_IRQ_BASE 0 21 #define MIPS_CPU_IRQ_PIC 2 22 #define MIPS_CPU_IRQ_FIQ 3 /* Not used? */ 23 #define MIPS_CPU_IRQ_COMPARE 7 24 25 /* 8..39 Cascaded Goldfish PIC interrupts */ 26 #define GOLDFISH_IRQ_BASE 8 27 #define GOLDFISH_IRQ_PBUS 1 28 #define GOLDFISH_IRQ_RTC 3 29 #define GOLDFISH_IRQ_TTY 4 30 31 #define NR_IRQS 40 32 33 #endif 34