Rev 3837 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3837 | Rev 3857 | ||
---|---|---|---|
Line 206... | Line 206... | ||
206 | b jump_to_kernel |
206 | b jump_to_kernel |
207 | 207 | ||
208 | .org 0xc00 |
208 | .org 0xc00 |
209 | .global exc_syscall |
209 | .global exc_syscall |
210 | exc_syscall: |
210 | exc_syscall: |
211 | CONTEXT_STORE |
211 | CONTEXT_STORE |
212 | 212 | ||
213 | b jump_to_kernel_syscall |
213 | b jump_to_kernel_syscall |
214 | 214 | ||
215 | .org 0xd00 |
215 | .org 0xd00 |
216 | .global exc_trace |
216 | .global exc_trace |
Line 218... | Line 218... | ||
218 | CONTEXT_STORE |
218 | CONTEXT_STORE |
219 | 219 | ||
220 | li r3, 12 |
220 | li r3, 12 |
221 | b jump_to_kernel |
221 | b jump_to_kernel |
222 | 222 | ||
- | 223 | .org 0x1000 |
|
- | 224 | .global exc_itlb_miss |
|
- | 225 | exc_itlb_miss: |
|
- | 226 | CONTEXT_STORE |
|
- | 227 | ||
- | 228 | b tlb_miss |
|
- | 229 | ||
- | 230 | .org 0x1100 |
|
- | 231 | .global exc_dtlb_miss_load |
|
- | 232 | exc_dtlb_miss_load: |
|
- | 233 | CONTEXT_STORE |
|
- | 234 | ||
- | 235 | b tlb_miss |
|
- | 236 | ||
- | 237 | .org 0x1200 |
|
- | 238 | .global exc_dtlb_miss_store |
|
- | 239 | exc_dtlb_miss_store: |
|
- | 240 | CONTEXT_STORE |
|
- | 241 | ||
- | 242 | b tlb_miss |
|
- | 243 | ||
223 | .org 0x4000 |
244 | .org 0x4000 |
224 | data_storage: |
245 | data_storage: |
225 | li r3, 2 |
246 | li r3, 2 |
226 | mr r4, sp |
247 | mr r4, sp |
227 | addi r4, r4, 8 |
248 | addi r4, r4, 8 |
Line 243... | Line 264... | ||
243 | bne iret_real |
264 | bne iret_real |
244 | 265 | ||
245 | li r3, 3 |
266 | li r3, 3 |
246 | b jump_to_kernel |
267 | b jump_to_kernel |
247 | 268 | ||
- | 269 | tlb_miss: |
|
- | 270 | li r3, 16 |
|
- | 271 | mfspr r4, tlbmiss |
|
- | 272 | mfspr r5, ptehi |
|
- | 273 | mfspr r6, ptelo |
|
- | 274 | mr r7, sp |
|
- | 275 | addi r7, r7, 20 |
|
- | 276 | ||
- | 277 | bl tlb_refill_real |
|
- | 278 | b iret_real |
|
- | 279 | ||
248 | jump_to_kernel: |
280 | jump_to_kernel: |
249 | lis r12, iret@ha |
281 | lis r12, iret@ha |
250 | addi r12, r12, iret@l |
282 | addi r12, r12, iret@l |
251 | mtlr r12 |
283 | mtlr r12 |
252 | 284 |