Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
irq.h
Go to the documentation of this file.
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 IRQ_TIMER (7) /* Timer IRQ number of SPCT6600 */
22 
23 extern void interrupt_exception_vector(void);
24 
25 #endif /* _ASM_SCORE_IRQ_H */