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/arcv1 | |
parent | e02cda008591317b1625707ff8e115a4841aa889 (diff) |
Change-Id: Iaf8d18082d3991dec7c0ebbea540f092188eb4ec
Diffstat (limited to 'roms/u-boot/arch/arc/cpu/arcv1')
-rw-r--r-- | roms/u-boot/arch/arc/cpu/arcv1/Makefile | 5 | ||||
-rw-r--r-- | roms/u-boot/arch/arc/cpu/arcv1/ivt.S | 26 |
2 files changed, 31 insertions, 0 deletions
diff --git a/roms/u-boot/arch/arc/cpu/arcv1/Makefile b/roms/u-boot/arch/arc/cpu/arcv1/Makefile new file mode 100644 index 000000000..4d42ac667 --- /dev/null +++ b/roms/u-boot/arch/arc/cpu/arcv1/Makefile @@ -0,0 +1,5 @@ +# SPDX-License-Identifier: GPL-2.0+ +# +# Copyright (C) 2013-2014 Synopsys, Inc. All rights reserved. + +obj-y += ivt.o diff --git a/roms/u-boot/arch/arc/cpu/arcv1/ivt.S b/roms/u-boot/arch/arc/cpu/arcv1/ivt.S new file mode 100644 index 000000000..3d63430c2 --- /dev/null +++ b/roms/u-boot/arch/arc/cpu/arcv1/ivt.S @@ -0,0 +1,26 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ +/* + * Copyright (C) 2013-2014 Synopsys, Inc. All rights reserved. + */ + +.section .ivt, "ax",@progbits +.align 4 +_ivt: + /* Critical system events */ + j _start /* 0 - 0x000 */ + j memory_error /* 1 - 0x008 */ + j instruction_error /* 2 - 0x010 */ + + /* Device interrupts */ +.rept 29 + j interrupt_handler /* 3:31 - 0x018:0xF8 */ +.endr + /* Exceptions */ + j EV_MachineCheck /* 0x100, Fatal Machine check (0x20) */ + j EV_TLBMissI /* 0x108, Intruction TLB miss (0x21) */ + j EV_TLBMissD /* 0x110, Data TLB miss (0x22) */ + j EV_TLBProtV /* 0x118, Protection Violation (0x23) + or Misaligned Access */ + j EV_PrivilegeV /* 0x120, Privilege Violation (0x24) */ + j EV_Trap /* 0x128, Trap exception (0x25) */ + j EV_Extension /* 0x130, Extn Intruction Excp (0x26) */ |