xref: /openbmc/u-boot/arch/arc/cpu/arcv2/ivt.S (revision 83d290c56fab2d38cd1ab4c4cc7099559c1d5046)
1*83d290c5STom Rini/* SPDX-License-Identifier: GPL-2.0+ */
24d93617dSAlexey Brodkin/*
34d93617dSAlexey Brodkin * Copyright (C) 2013-2015 Synopsys, Inc. All rights reserved.
44d93617dSAlexey Brodkin */
54d93617dSAlexey Brodkin
64d93617dSAlexey Brodkin.section .ivt, "a",@progbits
74d93617dSAlexey Brodkin.align 4
84d93617dSAlexey Brodkin	/* Critical system events */
9699c4e59SAlexey Brodkin.word	_start			/* 0x00 - Reset */
10699c4e59SAlexey Brodkin.word	memory_error		/* 0x01 - Memory Error */
11699c4e59SAlexey Brodkin.word	instruction_error	/* 0x02 - Instruction Error */
124d93617dSAlexey Brodkin
134d93617dSAlexey Brodkin	/* Exceptions */
14699c4e59SAlexey Brodkin.word	EV_MachineCheck		/* 0x03 - Fatal Machine check */
15699c4e59SAlexey Brodkin.word	EV_TLBMissI		/* 0x04 - Intruction TLB miss */
16699c4e59SAlexey Brodkin.word	EV_TLBMissD		/* 0x05 - Data TLB miss */
17699c4e59SAlexey Brodkin.word	EV_TLBProtV		/* 0x06 - Protection Violation or Misaligned Access */
18699c4e59SAlexey Brodkin.word	EV_PrivilegeV		/* 0x07 - Privilege Violation */
19699c4e59SAlexey Brodkin.word	EV_SWI			/* 0x08 - Software Interrupt */
20699c4e59SAlexey Brodkin.word	EV_Trap			/* 0x09 - Trap */
21699c4e59SAlexey Brodkin.word	EV_Extension		/* 0x0A - Extension Intruction Exception */
22699c4e59SAlexey Brodkin.word	EV_DivZero		/* 0x0B - Division by Zero */
23699c4e59SAlexey Brodkin.word	EV_DCError		/* 0x0C - Data cache consistency error */
24699c4e59SAlexey Brodkin.word	EV_Maligned		/* 0x0D - Misaligned data access */
25699c4e59SAlexey Brodkin.word	0			/* 0x0E - Unused */
26699c4e59SAlexey Brodkin.word	0			/* 0x0F - Unused */
274d93617dSAlexey Brodkin
284d93617dSAlexey Brodkin	/* Device interrupts */
29699c4e59SAlexey Brodkin.rept	240
30699c4e59SAlexey Brodkin.word	interrupt_handler	/* 0x10 - 0xFF */
314d93617dSAlexey Brodkin.endr
32