License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[linux-block.git] / arch / score / include / asm / irq.h
CommitLineData
b2441318 1/* SPDX-License-Identifier: GPL-2.0 */
6bc9a396
CL
2#ifndef _ASM_SCORE_IRQ_H
3#define _ASM_SCORE_IRQ_H
4
5#define EXCEPTION_VECTOR_BASE_ADDR 0xa0000000
6#define VECTOR_ADDRESS_OFFSET_MODE4 0
7#define VECTOR_ADDRESS_OFFSET_MODE16 1
8
9#define DEBUG_VECTOR_SIZE (0x4)
10#define DEBUG_VECTOR_BASE_ADDR ((EXCEPTION_VECTOR_BASE_ADDR) + 0x1fc)
11
12#define GENERAL_VECTOR_SIZE (0x10)
13#define GENERAL_VECTOR_BASE_ADDR ((EXCEPTION_VECTOR_BASE_ADDR) + 0x200)
14
15#define NR_IRQS 64
16#define IRQ_VECTOR_SIZE (0x10)
17#define IRQ_VECTOR_BASE_ADDR ((EXCEPTION_VECTOR_BASE_ADDR) + 0x210)
18#define IRQ_VECTOR_END_ADDR ((EXCEPTION_VECTOR_BASE_ADDR) + 0x5f0)
19
20#define irq_canonicalize(irq) (irq)
21
6bc9a396
CL
22#define IRQ_TIMER (7) /* Timer IRQ number of SPCT6600 */
23
ffa818b4
CL
24extern void interrupt_exception_vector(void);
25
6bc9a396 26#endif /* _ASM_SCORE_IRQ_H */