tools, slub: Fix off-by-one buffer corruption after readlink() call
[linux-2.6/linux-mips.git] / arch / score / include / asm / irq.h
blobc883f3df33fa2349917e91ce46ad47dc69394503
1 #ifndef _ASM_SCORE_IRQ_H
2 #define _ASM_SCORE_IRQ_H
4 #define EXCEPTION_VECTOR_BASE_ADDR 0xa0000000
5 #define VECTOR_ADDRESS_OFFSET_MODE4 0
6 #define VECTOR_ADDRESS_OFFSET_MODE16 1
8 #define DEBUG_VECTOR_SIZE (0x4)
9 #define DEBUG_VECTOR_BASE_ADDR ((EXCEPTION_VECTOR_BASE_ADDR) + 0x1fc)
11 #define GENERAL_VECTOR_SIZE (0x10)
12 #define GENERAL_VECTOR_BASE_ADDR ((EXCEPTION_VECTOR_BASE_ADDR) + 0x200)
14 #define NR_IRQS 64
15 #define IRQ_VECTOR_SIZE (0x10)
16 #define IRQ_VECTOR_BASE_ADDR ((EXCEPTION_VECTOR_BASE_ADDR) + 0x210)
17 #define IRQ_VECTOR_END_ADDR ((EXCEPTION_VECTOR_BASE_ADDR) + 0x5f0)
19 #define irq_canonicalize(irq) (irq)
21 #define IRQ_TIMER (7) /* Timer IRQ number of SPCT6600 */
23 extern void interrupt_exception_vector(void);
25 #endif /* _ASM_SCORE_IRQ_H */