summaryrefslogtreecommitdiff
path: root/firmware/target/arm/tcc77x/crt0.S
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/tcc77x/crt0.S')
-rw-r--r--firmware/target/arm/tcc77x/crt0.S29
1 files changed, 0 insertions, 29 deletions
diff --git a/firmware/target/arm/tcc77x/crt0.S b/firmware/target/arm/tcc77x/crt0.S
index d0873102d4..aebd8974da 100644
--- a/firmware/target/arm/tcc77x/crt0.S
+++ b/firmware/target/arm/tcc77x/crt0.S
@@ -212,35 +212,6 @@ vectors_end:
212 212
213 .text 213 .text
214 214
215/* All illegal exceptions call into UIE with exception address as first
216 parameter. This is calculated differently depending on which exception
217 we're in. Second parameter is exception number, used for a string lookup
218 in UIE.
219 */
220undef_instr_handler:
221 sub r0, lr, #4
222 mov r1, #0
223 b UIE
224
225/* We run sys mode most of the time, and should never see a software
226 exception being thrown. Make it illegal and call UIE.
227 */
228software_int_handler:
229reserved_handler:
230 sub r0, lr, #4
231 mov r1, #4
232 b UIE
233
234prefetch_abort_handler:
235 sub r0, lr, #4
236 mov r1, #1
237 b UIE
238
239data_abort_handler:
240 sub r0, lr, #8
241 mov r1, #2
242 b UIE
243
244irq_handler: 215irq_handler:
245 stmfd sp!, {r0-r3, r12, lr} 216 stmfd sp!, {r0-r3, r12, lr}
246 bl irq 217 bl irq