irq.h 431 B

123456789101112131415161718192021222324
  1. #ifndef __ASM_AVR32_IRQ_H
  2. #define __ASM_AVR32_IRQ_H
  3. #define NR_INTERNAL_IRQS 64
  4. #include <mach/irq.h>
  5. #ifndef NR_IRQS
  6. #define NR_IRQS (NR_INTERNAL_IRQS)
  7. #endif
  8. #define irq_canonicalize(i) (i)
  9. #ifndef __ASSEMBLER__
  10. int nmi_enable(void);
  11. void nmi_disable(void);
  12. /*
  13. * Returns a bitmask of pending interrupts in a group.
  14. */
  15. extern unsigned long intc_get_pending(unsigned int group);
  16. #endif
  17. #endif /* __ASM_AVR32_IOCTLS_H */