irq.h
上传用户:lgb322
上传日期:2013-02-24
资源大小:30529k
文件大小:1k
源码类别:

嵌入式Linux

开发平台:

Unix_Linux

  1. /*
  2.  * linux/include/asm-arm/arch-s3c2400/irq.h
  3.  *
  4.  * Copyright (C) 2001 MIZI Research, Inc.
  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. /*
  21.  * Author : Nandy Lyu <nandy@mizi.com>
  22.  *   Date : 13 December 2001
  23.  */
  24. extern void set_EINT_IRQ_edge(int no_eint, int edge);
  25. extern int set_external_irq(int irq, int edge, int pullup);
  26. /*
  27.  * This prototype is required for cascading of multiplexed interrupts.
  28.  * Since it doesn't exist elsewhere, we'll put it here for now.
  29.  */
  30. extern unsigned int fixup_irq(int i);
  31. extern void do_IRQ(int irq, struct pt_regs *regs);