2009-03-27 07:25:49 -06: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 14:10:13 -07:00
|
|
|
#define NR_IRQS (32 + 1)
|
2009-06-18 11:55:33 -06:00
|
|
|
#include <asm-generic/irq.h>
|
2009-03-27 07:25:49 -06:00
|
|
|
|
|
|
|
struct pt_regs;
|
|
|
|
extern void do_IRQ(struct pt_regs *regs);
|
|
|
|
|
2012-01-26 14:10:13 -07:00
|
|
|
/* should be defined in each interrupt controller driver */
|
|
|
|
extern unsigned int get_irq(void);
|
2010-01-14 07:16:31 -07:00
|
|
|
|
2009-03-27 07:25:49 -06:00
|
|
|
#endif /* _ASM_MICROBLAZE_IRQ_H */
|