diff options
Diffstat (limited to 'firmware/target/arm/tcc780x/crt0.S')
-rw-r--r-- | firmware/target/arm/tcc780x/crt0.S | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/firmware/target/arm/tcc780x/crt0.S b/firmware/target/arm/tcc780x/crt0.S index 1dbccf9828..5d271616d0 100644 --- a/firmware/target/arm/tcc780x/crt0.S +++ b/firmware/target/arm/tcc780x/crt0.S | |||
@@ -282,35 +282,6 @@ vectors_end: | |||
282 | 282 | ||
283 | .text | 283 | .text |
284 | 284 | ||
285 | /* All illegal exceptions call into UIE with exception address as first | ||
286 | parameter. This is calculated differently depending on which exception | ||
287 | we're in. Second parameter is exception number, used for a string lookup | ||
288 | in UIE. | ||
289 | */ | ||
290 | undef_instr_handler: | ||
291 | sub r0, lr, #4 | ||
292 | mov r1, #0 | ||
293 | b UIE | ||
294 | |||
295 | /* We run sys mode most of the time, and should never see a software | ||
296 | exception being thrown. Make it illegal and call UIE. | ||
297 | */ | ||
298 | software_int_handler: | ||
299 | reserved_handler: | ||
300 | sub r0, lr, #4 | ||
301 | mov r1, #4 | ||
302 | b UIE | ||
303 | |||
304 | prefetch_abort_handler: | ||
305 | sub r0, lr, #4 | ||
306 | mov r1, #1 | ||
307 | b UIE | ||
308 | |||
309 | data_abort_handler: | ||
310 | sub r0, lr, #8 | ||
311 | mov r1, #2 | ||
312 | b UIE | ||
313 | |||
314 | #ifdef BOOTLOADER | 285 | #ifdef BOOTLOADER |
315 | fiq_handler: | 286 | fiq_handler: |
316 | subs pc, lr, #4 | 287 | subs pc, lr, #4 |