b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame^] | 1 | /* |
| 2 | * Copyright (C) 2006 Atmark Techno, Inc. |
| 3 | * |
| 4 | * This file is subject to the terms and conditions of the GNU General Public |
| 5 | * License. See the file "COPYING" in the main directory of this archive |
| 6 | * for more details. |
| 7 | */ |
| 8 | |
| 9 | #ifndef _ASM_MICROBLAZE_IRQ_H |
| 10 | #define _ASM_MICROBLAZE_IRQ_H |
| 11 | |
| 12 | #define NR_IRQS (32 + 1) |
| 13 | #include <asm-generic/irq.h> |
| 14 | |
| 15 | struct pt_regs; |
| 16 | extern void do_IRQ(struct pt_regs *regs); |
| 17 | |
| 18 | /* should be defined in each interrupt controller driver */ |
| 19 | extern unsigned int xintc_get_irq(void); |
| 20 | |
| 21 | #endif /* _ASM_MICROBLAZE_IRQ_H */ |