Home | History | Annotate | Download | only in asm
      1 /****************************************************************************
      2  ****************************************************************************
      3  ***
      4  ***   This header was automatically generated from a Linux kernel header
      5  ***   of the same name, to make information necessary for userspace to
      6  ***   call into the kernel available to libc.  It contains only constants,
      7  ***   structures, and macros generated from the original header, and thus,
      8  ***   contains no copyrightable information.
      9  ***
     10  ***   To edit the content of this header, modify the corresponding
     11  ***   source file (e.g. under external/kernel-headers/original/) then
     12  ***   run bionic/libc/kernel/tools/update_all.py
     13  ***
     14  ***   Any manual change here will be lost the next time this script will
     15  ***   be run. You've been warned!
     16  ***
     17  ****************************************************************************
     18  ****************************************************************************/
     19 #ifndef __ASM_ARM_IRQ_H
     20 #define __ASM_ARM_IRQ_H
     21 #include <asm/arch/irqs.h>
     22 #ifndef irq_canonicalize
     23 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     24 #define irq_canonicalize(i) (i)
     25 #endif
     26 #ifndef NR_IRQS
     27 #define NR_IRQS 128
     28 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     29 #endif
     30 #ifndef NO_IRQ
     31 #define NO_IRQ ((unsigned int)(-1))
     32 #endif
     33 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     34 struct irqaction;
     35 #define __IRQT_FALEDGE IRQ_TYPE_EDGE_FALLING
     36 #define __IRQT_RISEDGE IRQ_TYPE_EDGE_RISING
     37 #define __IRQT_LOWLVL IRQ_TYPE_LEVEL_LOW
     38 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     39 #define __IRQT_HIGHLVL IRQ_TYPE_LEVEL_HIGH
     40 #define IRQT_NOEDGE (0)
     41 #define IRQT_RISING (__IRQT_RISEDGE)
     42 #define IRQT_FALLING (__IRQT_FALEDGE)
     43 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     44 #define IRQT_BOTHEDGE (__IRQT_RISEDGE|__IRQT_FALEDGE)
     45 #define IRQT_LOW (__IRQT_LOWLVL)
     46 #define IRQT_HIGH (__IRQT_HIGHLVL)
     47 #define IRQT_PROBE IRQ_TYPE_PROBE
     48 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     49 #endif
     50