aboutsummaryrefslogtreecommitdiff
path: root/lib/chibios-contrib/os/common/startup/RISCV-ECLIC/compilers/GCC/vectors.S
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chibios-contrib/os/common/startup/RISCV-ECLIC/compilers/GCC/vectors.S')
-rw-r--r--lib/chibios-contrib/os/common/startup/RISCV-ECLIC/compilers/GCC/vectors.S226
1 files changed, 226 insertions, 0 deletions
diff --git a/lib/chibios-contrib/os/common/startup/RISCV-ECLIC/compilers/GCC/vectors.S b/lib/chibios-contrib/os/common/startup/RISCV-ECLIC/compilers/GCC/vectors.S
new file mode 100644
index 000000000..1300662c7
--- /dev/null
+++ b/lib/chibios-contrib/os/common/startup/RISCV-ECLIC/compilers/GCC/vectors.S
@@ -0,0 +1,226 @@
1/*
2 ChibiOS - Copyright (C) 2021 Stefan Kerkmann
3
4 Licensed under the Apache License, Version 2.0 (the "License");
5 you may not use this file except in compliance with the License.
6 You may obtain a copy of the License at
7
8 http://www.apache.org/licenses/LICENSE-2.0
9
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
15*/
16
17/**
18 * @file vectors.S
19 * @brief Interrupt vectors for RISC-V ECLIC devices.
20 *
21 * @defgroup RISCV_ECLIC_STARTUP
22 * @{
23 */
24
25#define _FROM_ASM_
26
27/*===========================================================================*/
28/* Module constants. */
29/*===========================================================================*/
30
31/*===========================================================================*/
32/* Module pre-compile time settings. */
33/*===========================================================================*/
34
35/*===========================================================================*/
36/* Code section. */
37/*===========================================================================*/
38
39#if !defined(__DOXYGEN__)
40.section .vectors, "a", %progbits
41.globl vector_base
42.type vector_base, %object
43.option push
44.option norelax
45vector_base:
46 .word vector0
47 .word vector1
48 .word vector2
49 .word vector3
50 .word vector4
51 .word vector5
52 .word vector6
53 .word vector7
54 .word vector8
55 .word vector9
56 .word vector10
57 .word vector11
58 .word vector12
59 .word vector13
60 .word vector14
61 .word vector15
62 .word vector16
63 .word vector17
64 .word vector18
65 .word vector19
66 .word vector20
67 .word vector21
68 .word vector22
69 .word vector23
70 .word vector24
71 .word vector25
72 .word vector26
73 .word vector27
74 .word vector28
75 .word vector29
76 .word vector30
77 .word vector31
78 .word vector32
79 .word vector33
80 .word vector34
81 .word vector35
82 .word vector36
83 .word vector37
84 .word vector38
85 .word vector39
86 .word vector40
87 .word vector41
88 .word vector42
89 .word vector43
90 .word vector44
91 .word vector45
92 .word vector46
93 .word vector47
94 .word vector48
95 .word vector49
96 .word vector50
97 .word vector51
98 .word vector52
99 .word vector53
100 .word vector54
101 .word vector55
102 .word vector56
103 .word vector57
104 .word vector58
105 .word vector59
106 .word vector60
107 .word vector61
108 .word vector62
109 .word vector63
110 .word vector64
111 .word vector65
112 .word vector66
113 .word vector67
114 .word vector68
115 .word vector69
116 .word vector70
117 .word vector71
118 .word vector72
119 .word vector73
120 .word vector74
121 .word vector75
122 .word vector76
123 .word vector77
124 .word vector78
125 .word vector79
126 .word vector80
127 .word vector81
128 .word vector82
129 .word vector83
130 .word vector84
131 .word vector85
132 .word vector86
133 .size vector_base, . - vector_base
134 .option pop
135
136 .weak vector0
137 .weak vector1
138 .weak vector2
139 .weak vector3
140 .weak vector4
141 .weak vector5
142 .weak vector6
143 .weak vector7
144 .weak vector8
145 .weak vector9
146 .weak vector10
147 .weak vector11
148 .weak vector12
149 .weak vector13
150 .weak vector14
151 .weak vector15
152 .weak vector16
153 .weak vector17
154 .weak vector18
155 .weak vector19
156 .weak vector20
157 .weak vector21
158 .weak vector22
159 .weak vector23
160 .weak vector24
161 .weak vector25
162 .weak vector26
163 .weak vector27
164 .weak vector28
165 .weak vector29
166 .weak vector30
167 .weak vector31
168 .weak vector32
169 .weak vector33
170 .weak vector34
171 .weak vector35
172 .weak vector36
173 .weak vector37
174 .weak vector38
175 .weak vector39
176 .weak vector40
177 .weak vector41
178 .weak vector42
179 .weak vector43
180 .weak vector44
181 .weak vector45
182 .weak vector46
183 .weak vector47
184 .weak vector48
185 .weak vector49
186 .weak vector50
187 .weak vector51
188 .weak vector52
189 .weak vector53
190 .weak vector54
191 .weak vector55
192 .weak vector56
193 .weak vector57
194 .weak vector58
195 .weak vector59
196 .weak vector60
197 .weak vector61
198 .weak vector62
199 .weak vector63
200 .weak vector64
201 .weak vector65
202 .weak vector66
203 .weak vector67
204 .weak vector68
205 .weak vector69
206 .weak vector70
207 .weak vector71
208 .weak vector72
209 .weak vector73
210 .weak vector74
211 .weak vector75
212 .weak vector76
213 .weak vector77
214 .weak vector78
215 .weak vector79
216 .weak vector80
217 .weak vector81
218 .weak vector82
219 .weak vector83
220 .weak vector84
221 .weak vector85
222 .weak vector86
223
224#endif /* !defined(__DOXYGEN__) */
225
226/** @} */