score: cleanups: dead code, 0 as pointer, shadowed variables
[linux-2.6.git] / arch / score / include / asm / irq.h
1 #ifndef _ASM_SCORE_IRQ_H
2 #define _ASM_SCORE_IRQ_H
3
4 #define EXCEPTION_VECTOR_BASE_ADDR      0xa0000000
5 #define VECTOR_ADDRESS_OFFSET_MODE4     0
6 #define VECTOR_ADDRESS_OFFSET_MODE16    1
7
8 #define DEBUG_VECTOR_SIZE               (0x4)
9 #define DEBUG_VECTOR_BASE_ADDR          ((EXCEPTION_VECTOR_BASE_ADDR) + 0x1fc)
10
11 #define GENERAL_VECTOR_SIZE             (0x10)
12 #define GENERAL_VECTOR_BASE_ADDR        ((EXCEPTION_VECTOR_BASE_ADDR) + 0x200)
13
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)
18
19 #define irq_canonicalize(irq)   (irq)
20
21 #define P_INT_PNDL              0x95F50000
22 #define P_INT_PNDH              0x95F50004
23 #define P_INT_PRIORITY_M        0x95F50008
24 #define P_INT_PRIORITY_SG0      0x95F50010
25 #define P_INT_PRIORITY_SG1      0x95F50014
26 #define P_INT_PRIORITY_SG2      0x95F50018
27 #define P_INT_PRIORITY_SG3      0x95F5001C
28 #define P_INT_MASKL             0x95F50020
29 #define P_INT_MASKH             0x95F50024
30
31 #define IRQ_TIMER (7)           /* Timer IRQ number of SPCT6600 */
32
33 #endif /* _ASM_SCORE_IRQ_H */