blob: 1522a5878982beb1b0f8b9bba3ec245c07b33438 [file] [log] [blame]
The Android Open Source Project1dc9e472009-03-03 19:28:35 -08001/****************************************************************************
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 ***
Ben Cheng654325d2012-03-07 21:13:49 -080010 *** 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 ***
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080017 ****************************************************************************
18 ****************************************************************************/
19#ifndef __ASM_ARM_IRQ_H
20#define __ASM_ARM_IRQ_H
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080021#include <asm/arch/irqs.h>
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080022#ifndef irq_canonicalize
Ben Cheng654325d2012-03-07 21:13:49 -080023/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080024#define irq_canonicalize(i) (i)
25#endif
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080026#ifndef NR_IRQS
27#define NR_IRQS 128
Ben Cheng654325d2012-03-07 21:13:49 -080028/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080029#endif
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080030#ifndef NO_IRQ
31#define NO_IRQ ((unsigned int)(-1))
32#endif
Ben Cheng654325d2012-03-07 21:13:49 -080033/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080034struct irqaction;
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080035#define __IRQT_FALEDGE IRQ_TYPE_EDGE_FALLING
36#define __IRQT_RISEDGE IRQ_TYPE_EDGE_RISING
37#define __IRQT_LOWLVL IRQ_TYPE_LEVEL_LOW
Ben Cheng654325d2012-03-07 21:13:49 -080038/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080039#define __IRQT_HIGHLVL IRQ_TYPE_LEVEL_HIGH
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080040#define IRQT_NOEDGE (0)
41#define IRQT_RISING (__IRQT_RISEDGE)
42#define IRQT_FALLING (__IRQT_FALEDGE)
Ben Cheng654325d2012-03-07 21:13:49 -080043/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080044#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
Ben Cheng654325d2012-03-07 21:13:49 -080048/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080049#endif