2006-09-25 23:32:13 -07:00
|
|
|
#ifndef __ASM_AVR32_IRQ_H
|
|
|
|
|
#define __ASM_AVR32_IRQ_H
|
|
|
|
|
|
|
|
|
|
#define NR_INTERNAL_IRQS 64
|
2007-02-05 16:57:13 +01:00
|
|
|
|
|
|
|
|
#include <asm/arch/irq.h>
|
|
|
|
|
|
|
|
|
|
#ifndef NR_IRQS
|
|
|
|
|
#define NR_IRQS (NR_INTERNAL_IRQS)
|
|
|
|
|
#endif
|
2006-09-25 23:32:13 -07:00
|
|
|
|
|
|
|
|
#define irq_canonicalize(i) (i)
|
|
|
|
|
|
2007-10-10 14:58:29 +02:00
|
|
|
#ifndef __ASSEMBLER__
|
|
|
|
|
int nmi_enable(void);
|
|
|
|
|
void nmi_disable(void);
|
2008-02-24 14:09:25 +01:00
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* Returns a bitmask of pending interrupts in a group.
|
|
|
|
|
*/
|
|
|
|
|
extern unsigned long intc_get_pending(unsigned int group);
|
2007-10-10 14:58:29 +02:00
|
|
|
#endif
|
|
|
|
|
|
2006-09-25 23:32:13 -07:00
|
|
|
#endif /* __ASM_AVR32_IOCTLS_H */
|