Go to the documentation of this file. 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)
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)