irqs.h 634 字节
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13
/*
 *  Copyright 2004-2007 Freescale Semiconductor, Inc. All Rights Reserved.
 */

/*
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 as
 * published by the Free Software Foundation.
 */

#ifndef __ASM_ARCH_MXC_IRQS_H__
#define __ASM_ARCH_MXC_IRQS_H__

14
#include <mach/hardware.h>
15
extern void imx_irq_set_priority(unsigned char irq, unsigned char prio);
16

P
Paulius Zaleckas 已提交
17 18 19 20 21
/* all normal IRQs can be FIQs */
#define FIQ_START	0
/* switch betwean IRQ and FIQ */
extern int mxc_set_irq_fiq(unsigned int irq, unsigned int type);

22
#endif /* __ASM_ARCH_MXC_IRQS_H__ */