irq.h 755 B

1234567891011121314151617181920212223242526
  1. #ifndef _ASM_SCORE_IRQ_H
  2. #define _ASM_SCORE_IRQ_H
  3. #define EXCEPTION_VECTOR_BASE_ADDR 0xa0000000
  4. #define VECTOR_ADDRESS_OFFSET_MODE4 0
  5. #define VECTOR_ADDRESS_OFFSET_MODE16 1
  6. #define DEBUG_VECTOR_SIZE (0x4)
  7. #define DEBUG_VECTOR_BASE_ADDR ((EXCEPTION_VECTOR_BASE_ADDR) + 0x1fc)
  8. #define GENERAL_VECTOR_SIZE (0x10)
  9. #define GENERAL_VECTOR_BASE_ADDR ((EXCEPTION_VECTOR_BASE_ADDR) + 0x200)
  10. #define NR_IRQS 64
  11. #define IRQ_VECTOR_SIZE (0x10)
  12. #define IRQ_VECTOR_BASE_ADDR ((EXCEPTION_VECTOR_BASE_ADDR) + 0x210)
  13. #define IRQ_VECTOR_END_ADDR ((EXCEPTION_VECTOR_BASE_ADDR) + 0x5f0)
  14. #define irq_canonicalize(irq) (irq)
  15. #define IRQ_TIMER (7) /* Timer IRQ number of SPCT6600 */
  16. extern void interrupt_exception_vector(void);
  17. #endif /* _ASM_SCORE_IRQ_H */