diff options
Diffstat (limited to 'firmware/target/arm/rk27xx/crt0.S')
-rw-r--r-- | firmware/target/arm/rk27xx/crt0.S | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/firmware/target/arm/rk27xx/crt0.S b/firmware/target/arm/rk27xx/crt0.S index 1bbd46a12c..deea0eeaec 100644 --- a/firmware/target/arm/rk27xx/crt0.S +++ b/firmware/target/arm/rk27xx/crt0.S | |||
@@ -196,30 +196,3 @@ entry_point: | |||
196 | bhi 1b | 196 | bhi 1b |
197 | 197 | ||
198 | bl main | 198 | bl main |
199 | |||
200 | /* All illegal exceptions call into UIE with exception address as first | ||
201 | * parameter. This is calculated differently depending on which exception | ||
202 | * we're in. Second parameter is exception number, used for a string lookup | ||
203 | * in UIE. */ | ||
204 | undef_instr_handler: | ||
205 | sub r0, lr, #4 | ||
206 | mov r1, #0 | ||
207 | b UIE | ||
208 | |||
209 | prefetch_abort_handler: | ||
210 | sub r0, lr, #4 | ||
211 | mov r1, #1 | ||
212 | b UIE | ||
213 | |||
214 | data_abort_handler: | ||
215 | sub r0, lr, #8 | ||
216 | mov r1, #2 | ||
217 | b UIE | ||
218 | |||
219 | /* We run sys mode most of the time, and should never see a software | ||
220 | * exception being thrown. Make it illegal and call UIE */ | ||
221 | software_int_handler: | ||
222 | reserved_handler: | ||
223 | sub r0, lr, #4 | ||
224 | mov r1, #5 | ||
225 | b UIE | ||