xref: /openbmc/u-boot/arch/arc/cpu/arcv2/ivt.S (revision 872cfa20)
1/* SPDX-License-Identifier: GPL-2.0+ */
2/*
3 * Copyright (C) 2013-2015 Synopsys, Inc. All rights reserved.
4 */
5
6.section .ivt, "a",@progbits
7.align 4
8	/* Critical system events */
9.word	_start			/* 0x00 - Reset */
10.word	memory_error		/* 0x01 - Memory Error */
11.word	instruction_error	/* 0x02 - Instruction Error */
12
13	/* Exceptions */
14.word	EV_MachineCheck		/* 0x03 - Fatal Machine check */
15.word	EV_TLBMissI		/* 0x04 - Intruction TLB miss */
16.word	EV_TLBMissD		/* 0x05 - Data TLB miss */
17.word	EV_TLBProtV		/* 0x06 - Protection Violation or Misaligned Access */
18.word	EV_PrivilegeV		/* 0x07 - Privilege Violation */
19.word	EV_SWI			/* 0x08 - Software Interrupt */
20.word	EV_Trap			/* 0x09 - Trap */
21.word	EV_Extension		/* 0x0A - Extension Intruction Exception */
22.word	EV_DivZero		/* 0x0B - Division by Zero */
23.word	EV_DCError		/* 0x0C - Data cache consistency error */
24.word	EV_Maligned		/* 0x0D - Misaligned data access */
25.word	0			/* 0x0E - Unused */
26.word	0			/* 0x0F - Unused */
27
28	/* Device interrupts */
29.rept	240
30.word	interrupt_handler	/* 0x10 - 0xFF */
31.endr
32