irqs.h 634 B

12345678910111213141516171819202122
  1. /*
  2. * Copyright 2004-2007 Freescale Semiconductor, Inc. All Rights Reserved.
  3. */
  4. /*
  5. * This program is free software; you can redistribute it and/or modify
  6. * it under the terms of the GNU General Public License version 2 as
  7. * published by the Free Software Foundation.
  8. */
  9. #ifndef __ASM_ARCH_MXC_IRQS_H__
  10. #define __ASM_ARCH_MXC_IRQS_H__
  11. #include <mach/hardware.h>
  12. extern void imx_irq_set_priority(unsigned char irq, unsigned char prio);
  13. /* all normal IRQs can be FIQs */
  14. #define FIQ_START 0
  15. /* switch betwean IRQ and FIQ */
  16. extern int mxc_set_irq_fiq(unsigned int irq, unsigned int type);
  17. #endif /* __ASM_ARCH_MXC_IRQS_H__ */