diff options
author | 2023-10-10 14:33:42 +0000 | |
---|---|---|
committer | 2023-10-10 14:33:42 +0000 | |
commit | af1a266670d040d2f4083ff309d732d648afba2a (patch) | |
tree | 2fc46203448ddcc6f81546d379abfaeb323575e9 /roms/u-boot/arch/arc/cpu/arcv2 | |
parent | e02cda008591317b1625707ff8e115a4841aa889 (diff) |
Change-Id: Iaf8d18082d3991dec7c0ebbea540f092188eb4ec
Diffstat (limited to 'roms/u-boot/arch/arc/cpu/arcv2')
-rw-r--r-- | roms/u-boot/arch/arc/cpu/arcv2/Makefile | 5 | ||||
-rw-r--r-- | roms/u-boot/arch/arc/cpu/arcv2/ivt.S | 31 |
2 files changed, 36 insertions, 0 deletions
diff --git a/roms/u-boot/arch/arc/cpu/arcv2/Makefile b/roms/u-boot/arch/arc/cpu/arcv2/Makefile new file mode 100644 index 000000000..ab740266b --- /dev/null +++ b/roms/u-boot/arch/arc/cpu/arcv2/Makefile @@ -0,0 +1,5 @@ +# SPDX-License-Identifier: GPL-2.0+ +# +# Copyright (C) 2013-2015 Synopsys, Inc. All rights reserved. + +obj-y += ivt.o diff --git a/roms/u-boot/arch/arc/cpu/arcv2/ivt.S b/roms/u-boot/arch/arc/cpu/arcv2/ivt.S new file mode 100644 index 000000000..3f5b4094f --- /dev/null +++ b/roms/u-boot/arch/arc/cpu/arcv2/ivt.S @@ -0,0 +1,31 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ +/* + * Copyright (C) 2013-2015 Synopsys, Inc. All rights reserved. + */ + +.section .ivt, "a",@progbits +.align 4 + /* Critical system events */ +.word _start /* 0x00 - Reset */ +.word memory_error /* 0x01 - Memory Error */ +.word instruction_error /* 0x02 - Instruction Error */ + + /* Exceptions */ +.word EV_MachineCheck /* 0x03 - Fatal Machine check */ +.word EV_TLBMissI /* 0x04 - Intruction TLB miss */ +.word EV_TLBMissD /* 0x05 - Data TLB miss */ +.word EV_TLBProtV /* 0x06 - Protection Violation or Misaligned Access */ +.word EV_PrivilegeV /* 0x07 - Privilege Violation */ +.word EV_SWI /* 0x08 - Software Interrupt */ +.word EV_Trap /* 0x09 - Trap */ +.word EV_Extension /* 0x0A - Extension Intruction Exception */ +.word EV_DivZero /* 0x0B - Division by Zero */ +.word EV_DCError /* 0x0C - Data cache consistency error */ +.word EV_Maligned /* 0x0D - Misaligned data access */ +.word 0 /* 0x0E - Unused */ +.word 0 /* 0x0F - Unused */ + + /* Device interrupts */ +.rept 240 +.word interrupt_handler /* 0x10 - 0xFF */ +.endr |