]> git.ipfire.org Git - people/ms/u-boot.git/blob - arch/arc/cpu/arcv2/ivt.S
arc: merge common start-up code between ARC and ARCv2
[people/ms/u-boot.git] / arch / arc / cpu / arcv2 / ivt.S
1 /*
2 * Copyright (C) 2013-2015 Synopsys, Inc. All rights reserved.
3 *
4 * SPDX-License-Identifier: GPL-2.0+
5 */
6
7 .section .ivt, "a",@progbits
8 .align 4
9 /* Critical system events */
10 .word _start /* 0 - 0x000 */
11 .word memory_error /* 1 - 0x008 */
12 .word instruction_error /* 2 - 0x010 */
13
14 /* Exceptions */
15 .word EV_MachineCheck /* 0x100, Fatal Machine check (0x20) */
16 .word EV_TLBMissI /* 0x108, Intruction TLB miss (0x21) */
17 .word EV_TLBMissD /* 0x110, Data TLB miss (0x22) */
18 .word EV_TLBProtV /* 0x118, Protection Violation (0x23)
19 or Misaligned Access */
20 .word EV_PrivilegeV /* 0x120, Privilege Violation (0x24) */
21 .word EV_Trap /* 0x128, Trap exception (0x25) */
22 .word EV_Extension /* 0x130, Extn Intruction Excp (0x26) */
23
24 /* Device interrupts */
25 .rept 29
26 j interrupt_handler /* 3:31 - 0x018:0xF8 */
27 .endr