3 * Kamil Lulko, <kamil.lulko@gmail.com>
5 * SPDX-License-Identifier: GPL-2.0+
9 #include <asm/armv7m.h>
10 #include <linux/linkage.h>
12 .type __hard_fault_entry, %function
14 mov r0, sp @ pass auto-saved registers as argument
17 .type __mm_fault_entry, %function
19 mov r0, sp @ pass auto-saved registers as argument
22 .type __bus_fault_entry, %function
24 mov r0, sp @ pass auto-saved registers as argument
27 .type __usage_fault_entry, %function
29 mov r0, sp @ pass auto-saved registers as argument
32 .type __invalid_entry, %function
34 mov r0, sp @ pass auto-saved registers as argument
39 .long CONFIG_SYS_INIT_SP_ADDR @ 0 - Reset stack pointer
40 .long reset @ 1 - Reset
41 .long __invalid_entry @ 2 - NMI
42 .long __hard_fault_entry @ 3 - HardFault
43 .long __mm_fault_entry @ 4 - MemManage
44 .long __bus_fault_entry @ 5 - BusFault
45 .long __usage_fault_entry @ 6 - UsageFault
46 .long __invalid_entry @ 7 - Reserved
47 .long __invalid_entry @ 8 - Reserved
48 .long __invalid_entry @ 9 - Reserved
49 .long __invalid_entry @ 10 - Reserved
50 .long __invalid_entry @ 11 - SVCall
51 .long __invalid_entry @ 12 - Debug Monitor
52 .long __invalid_entry @ 13 - Reserved
53 .long __invalid_entry @ 14 - PendSV
54 .long __invalid_entry @ 15 - SysTick
56 .long __invalid_entry @ 16..255 - External Interrupts