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