xref: /rk3399_rockchip-uboot/arch/arc/cpu/arcv2/ivt.S (revision 699c4e592b32f43d4ba2cc0d53848118a77d590a)
14d93617dSAlexey Brodkin/*
24d93617dSAlexey Brodkin * Copyright (C) 2013-2015 Synopsys, Inc. All rights reserved.
34d93617dSAlexey Brodkin *
44d93617dSAlexey Brodkin * SPDX-License-Identifier:	GPL-2.0+
54d93617dSAlexey Brodkin */
64d93617dSAlexey Brodkin
74d93617dSAlexey Brodkin.section .ivt, "a",@progbits
84d93617dSAlexey Brodkin.align 4
94d93617dSAlexey Brodkin	/* Critical system events */
10*699c4e59SAlexey Brodkin.word	_start			/* 0x00 - Reset */
11*699c4e59SAlexey Brodkin.word	memory_error		/* 0x01 - Memory Error */
12*699c4e59SAlexey Brodkin.word	instruction_error	/* 0x02 - Instruction Error */
134d93617dSAlexey Brodkin
144d93617dSAlexey Brodkin	/* Exceptions */
15*699c4e59SAlexey Brodkin.word	EV_MachineCheck		/* 0x03 - Fatal Machine check */
16*699c4e59SAlexey Brodkin.word	EV_TLBMissI		/* 0x04 - Intruction TLB miss */
17*699c4e59SAlexey Brodkin.word	EV_TLBMissD		/* 0x05 - Data TLB miss */
18*699c4e59SAlexey Brodkin.word	EV_TLBProtV		/* 0x06 - Protection Violation or Misaligned Access */
19*699c4e59SAlexey Brodkin.word	EV_PrivilegeV		/* 0x07 - Privilege Violation */
20*699c4e59SAlexey Brodkin.word	EV_SWI			/* 0x08 - Software Interrupt */
21*699c4e59SAlexey Brodkin.word	EV_Trap			/* 0x09 - Trap */
22*699c4e59SAlexey Brodkin.word	EV_Extension		/* 0x0A - Extension Intruction Exception */
23*699c4e59SAlexey Brodkin.word	EV_DivZero		/* 0x0B - Division by Zero */
24*699c4e59SAlexey Brodkin.word	EV_DCError		/* 0x0C - Data cache consistency error */
25*699c4e59SAlexey Brodkin.word	EV_Maligned		/* 0x0D - Misaligned data access */
26*699c4e59SAlexey Brodkin.word	0			/* 0x0E - Unused */
27*699c4e59SAlexey Brodkin.word	0			/* 0x0F - Unused */
284d93617dSAlexey Brodkin
294d93617dSAlexey Brodkin	/* Device interrupts */
30*699c4e59SAlexey Brodkin.rept	240
31*699c4e59SAlexey Brodkin.word	interrupt_handler	/* 0x10 - 0xFF */
324d93617dSAlexey Brodkin.endr
33