irqs.h
上传用户:jlfgdled
上传日期:2013-04-10
资源大小:33168k
文件大小:2k
源码类别:

Linux/Unix编程

开发平台:

Unix_Linux

  1. /*
  2.  *  linux/include/asm-arm/arch-camelot/irqs.h
  3.  *
  4.  *  Copyright (C) 2001 Altera Corporation
  5.  *
  6.  * This program is free software; you can redistribute it and/or modify
  7.  * it under the terms of the GNU General Public License as published by
  8.  * the Free Software Foundation; either version 2 of the License, or
  9.  * (at your option) any later version.
  10.  *
  11.  * This program is distributed in the hope that it will be useful,
  12.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14.  * GNU General Public License for more details.
  15.  *
  16.  * You should have received a copy of the GNU General Public License
  17.  * along with this program; if not, write to the Free Software
  18.  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  19.  */
  20. /* Use the Excalibur chip definitions */
  21. #define INT_CTRL00_TYPE
  22. #include "asm/arch/int_ctrl00.h"
  23. #define IRQ_PLD0                     INT_MS_P0_OFST
  24. #define IRQ_PLD1                     INT_MS_P1_OFST
  25. #define IRQ_PLD2                     INT_MS_P2_OFST
  26. #define IRQ_PLD3                     INT_MS_P3_OFST
  27. #define IRQ_PLD4                     INT_MS_P4_OFST
  28. #define IRQ_PLD5                     INT_MS_P5_OFST
  29. #define IRQ_EXT                      INT_MS_IP_OFST
  30. #define IRQ_UART                     INT_MS_UA_OFST
  31. #define IRQ_TIMER0                   INT_MS_T0_OFST
  32. #define IRQ_TIMER1                   INT_MS_T1_OFST
  33. #define IRQ_PLL                      INT_MS_PLL_OFST
  34. #define IRQ_EBI                      INT_MS_EBI_OFST
  35. #define IRQ_STRIPE_BRIDGE            INT_MS_PLL_OFST
  36. #define IRQ_AHB_BRIDGE               INT_MS_PLL_OFST
  37. #define IRQ_COMMRX                   INT_MS_CR_OFST
  38. #define IRQ_COMMTX                   INT_MS_CT_OFST
  39. #define IRQ_FAST_COMM                INT_MS_FC_OFST
  40. #define NR_IRQS                         (INT_MS_FC_OFST + 1)