Rev 1221 | Rev 1411 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1221 | Rev 1288 | ||
---|---|---|---|
Line 445... | Line 445... | ||
445 | } else { |
445 | } else { |
446 | /* |
446 | /* |
447 | * Forward the page fault to address space page fault handler. |
447 | * Forward the page fault to address space page fault handler. |
448 | */ |
448 | */ |
449 | page_table_unlock(AS, true); |
449 | page_table_unlock(AS, true); |
450 | if (!as_page_fault(va)) { |
450 | if (as_page_fault(va, istate) == AS_PF_FAULT) { |
451 | panic("%s: va=%p, rid=%d, iip=%p\n", __FUNCTION__, istate->cr_ifa, rr.map.rid, istate->cr_iip); |
451 | panic("%s: va=%p, rid=%d, iip=%p\n", __FUNCTION__, istate->cr_ifa, rr.map.rid, istate->cr_iip); |
452 | } |
452 | } |
453 | } |
453 | } |
454 | } |
454 | } |
455 | 455 | ||
Line 491... | Line 491... | ||
491 | } else { |
491 | } else { |
492 | /* |
492 | /* |
493 | * Forward the page fault to address space page fault handler. |
493 | * Forward the page fault to address space page fault handler. |
494 | */ |
494 | */ |
495 | page_table_unlock(AS, true); |
495 | page_table_unlock(AS, true); |
496 | if (!as_page_fault(va)) { |
496 | if (as_page_fault(va, istate) == AS_PF_FAULT) { |
497 | panic("%s: va=%p, rid=%d, iip=%p\n", __FUNCTION__, va, rid, istate->cr_iip); |
497 | panic("%s: va=%p, rid=%d, iip=%p\n", __FUNCTION__, va, rid, istate->cr_iip); |
498 | } |
498 | } |
499 | } |
499 | } |
500 | } |
500 | } |
501 | 501 | ||
Line 606... | Line 606... | ||
606 | else |
606 | else |
607 | dtc_pte_copy(t); |
607 | dtc_pte_copy(t); |
608 | page_table_unlock(AS, true); |
608 | page_table_unlock(AS, true); |
609 | } else { |
609 | } else { |
610 | page_table_unlock(AS, true); |
610 | page_table_unlock(AS, true); |
611 | if (!as_page_fault(va)) { |
611 | if (as_page_fault(va, istate) == AS_PF_FAULT) { |
612 | panic("%s: va=%p, rid=%d\n", __FUNCTION__, va, rr.map.rid); |
612 | panic("%s: va=%p, rid=%d\n", __FUNCTION__, va, rr.map.rid); |
613 | } |
613 | } |
614 | } |
614 | } |
615 | } |
615 | } |