diff options
Diffstat (limited to 'firmware/target/arm/s5l8700')
-rw-r--r-- | firmware/target/arm/s5l8700/crt0.S | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/firmware/target/arm/s5l8700/crt0.S b/firmware/target/arm/s5l8700/crt0.S index 0582ab0c8f..93bfa8f06c 100644 --- a/firmware/target/arm/s5l8700/crt0.S +++ b/firmware/target/arm/s5l8700/crt0.S | |||
@@ -507,33 +507,3 @@ start_loc: | |||
507 | #endif | 507 | #endif |
508 | 508 | ||
509 | bl main | 509 | bl main |
510 | |||
511 | .text | ||
512 | /* .global UIE*/ | ||
513 | |||
514 | /* All illegal exceptions call into UIE with exception address as first | ||
515 | * parameter. This is calculated differently depending on which exception | ||
516 | * we're in. Second parameter is exception number, used for a string lookup | ||
517 | * in UIE. */ | ||
518 | undef_instr_handler: | ||
519 | sub r0, lr, #4 | ||
520 | mov r1, #0 | ||
521 | b UIE | ||
522 | |||
523 | /* We run sys mode most of the time, and should never see a software | ||
524 | * exception being thrown. Make it illegal and call UIE. */ | ||
525 | software_int_handler: | ||
526 | reserved_handler: | ||
527 | sub r0, lr, #4 | ||
528 | mov r1, #4 | ||
529 | b UIE | ||
530 | |||
531 | prefetch_abort_handler: | ||
532 | sub r0, lr, #4 | ||
533 | mov r1, #1 | ||
534 | b UIE | ||
535 | |||
536 | data_abort_handler: | ||
537 | sub r0, lr, #8 | ||
538 | mov r1, #2 | ||
539 | b UIE | ||