2009-03-27 13:25:49 +00:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2006 Atmark Techno, Inc.
|
|
|
|
*
|
|
|
|
* This file is subject to the terms and conditions of the GNU General Public
|
|
|
|
* License. See the file "COPYING" in the main directory of this archive
|
|
|
|
* for more details.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _ASM_MICROBLAZE_IRQ_H
|
|
|
|
#define _ASM_MICROBLAZE_IRQ_H
|
|
|
|
|
2012-01-26 21:10:13 +00:00
|
|
|
#define NR_IRQS (32 + 1)
|
2009-06-18 17:55:33 +00:00
|
|
|
#include <asm-generic/irq.h>
|
2009-03-27 13:25:49 +00:00
|
|
|
|
|
|
|
struct pt_regs;
|
|
|
|
extern void do_IRQ(struct pt_regs *regs);
|
|
|
|
|
2012-01-26 21:10:13 +00:00
|
|
|
/* should be defined in each interrupt controller driver */
|
|
|
|
extern unsigned int get_irq(void);
|
2010-01-14 14:16:31 +00:00
|
|
|
|
2009-03-27 13:25:49 +00:00
|
|
|
#endif /* _ASM_MICROBLAZE_IRQ_H */
|