Alexey Brodkin | 4d93617 | 2015-02-19 18:40:58 +0300 | [diff] [blame] | 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 */ |
Alexey Brodkin | 699c4e5 | 2016-08-04 09:21:50 +0300 | [diff] [blame] | 10 | .word _start /* 0x00 - Reset */ |
| 11 | .word memory_error /* 0x01 - Memory Error */ |
| 12 | .word instruction_error /* 0x02 - Instruction Error */ |
Alexey Brodkin | 4d93617 | 2015-02-19 18:40:58 +0300 | [diff] [blame] | 13 | |
| 14 | /* Exceptions */ |
Alexey Brodkin | 699c4e5 | 2016-08-04 09:21:50 +0300 | [diff] [blame] | 15 | .word EV_MachineCheck /* 0x03 - Fatal Machine check */ |
| 16 | .word EV_TLBMissI /* 0x04 - Intruction TLB miss */ |
| 17 | .word EV_TLBMissD /* 0x05 - Data TLB miss */ |
| 18 | .word EV_TLBProtV /* 0x06 - Protection Violation or Misaligned Access */ |
| 19 | .word EV_PrivilegeV /* 0x07 - Privilege Violation */ |
| 20 | .word EV_SWI /* 0x08 - Software Interrupt */ |
| 21 | .word EV_Trap /* 0x09 - Trap */ |
| 22 | .word EV_Extension /* 0x0A - Extension Intruction Exception */ |
| 23 | .word EV_DivZero /* 0x0B - Division by Zero */ |
| 24 | .word EV_DCError /* 0x0C - Data cache consistency error */ |
| 25 | .word EV_Maligned /* 0x0D - Misaligned data access */ |
| 26 | .word 0 /* 0x0E - Unused */ |
| 27 | .word 0 /* 0x0F - Unused */ |
Alexey Brodkin | 4d93617 | 2015-02-19 18:40:58 +0300 | [diff] [blame] | 28 | |
| 29 | /* Device interrupts */ |
Alexey Brodkin | 699c4e5 | 2016-08-04 09:21:50 +0300 | [diff] [blame] | 30 | .rept 240 |
| 31 | .word interrupt_handler /* 0x10 - 0xFF */ |
Alexey Brodkin | 4d93617 | 2015-02-19 18:40:58 +0300 | [diff] [blame] | 32 | .endr |