diff options
Diffstat (limited to 'firmware/target/arm/s5l8702')
-rw-r--r-- | firmware/target/arm/s5l8702/crt0.S | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/firmware/target/arm/s5l8702/crt0.S b/firmware/target/arm/s5l8702/crt0.S index e894e8f157..563e863a66 100644 --- a/firmware/target/arm/s5l8702/crt0.S +++ b/firmware/target/arm/s5l8702/crt0.S | |||
@@ -179,33 +179,3 @@ start_loc: | |||
179 | bhi 1b | 179 | bhi 1b |
180 | 180 | ||
181 | bl main | 181 | bl main |
182 | |||
183 | .text | ||
184 | /* .global UIE*/ | ||
185 | |||
186 | /* All illegal exceptions call into UIE with exception address as first | ||
187 | * parameter. This is calculated differently depending on which exception | ||
188 | * we're in. Second parameter is exception number, used for a string lookup | ||
189 | * in UIE. */ | ||
190 | undef_instr_handler: | ||
191 | sub r0, lr, #4 | ||
192 | mov r1, #0 | ||
193 | b UIE | ||
194 | |||
195 | /* We run sys mode most of the time, and should never see a software | ||
196 | * exception being thrown. Make it illegal and call UIE. */ | ||
197 | software_int_handler: | ||
198 | reserved_handler: | ||
199 | sub r0, lr, #4 | ||
200 | mov r1, #4 | ||
201 | b UIE | ||
202 | |||
203 | prefetch_abort_handler: | ||
204 | sub r0, lr, #4 | ||
205 | mov r1, #1 | ||
206 | b UIE | ||
207 | |||
208 | data_abort_handler: | ||
209 | sub r0, lr, #8 | ||
210 | mov r1, #2 | ||
211 | b UIE | ||