Changeset 38e5675b in mainline for kernel/arch/ia64/src/mm/tlb.c
- Timestamp:
- 2010-06-28T18:12:48Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ac11ac7
- Parents:
- 62baed17
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ia64/src/mm/tlb.c
r62baed17 r38e5675b 500 500 if (as_page_fault(va, PF_ACCESS_EXEC, istate) == AS_PF_FAULT) { 501 501 fault_if_from_uspace(istate, "Page fault at %p.", va); 502 panic ("%s: va=%p, rid=%d, iip=%p.", __func__, va, rid,503 istate->cr_iip);502 panic_memtrap(istate, PF_ACCESS_EXEC, va, 503 "Page fault."); 504 504 } 505 505 } … … 622 622 if (as_page_fault(va, PF_ACCESS_READ, istate) == AS_PF_FAULT) { 623 623 fault_if_from_uspace(istate, "Page fault at %p.", va); 624 panic ("%s: va=%p, rid=%d, iip=%p.", __func__, va, rid,625 istate->cr_iip);624 panic_memtrap(istate, PF_ACCESS_READ, va, 625 "Page fault."); 626 626 } 627 627 } … … 671 671 if (as_page_fault(va, PF_ACCESS_WRITE, istate) == AS_PF_FAULT) { 672 672 fault_if_from_uspace(istate, "Page fault at %p.", va); 673 panic ("%s: va=%p, rid=%d, iip=%p.", __func__, va, rid,674 istate->cr_iip);673 panic_memtrap(istate, PF_ACCESS_WRITE, va, 674 "Page fault."); 675 675 } 676 676 } … … 708 708 if (as_page_fault(va, PF_ACCESS_EXEC, istate) == AS_PF_FAULT) { 709 709 fault_if_from_uspace(istate, "Page fault at %p.", va); 710 panic ("%s: va=%p, rid=%d, iip=%p.", __func__, va, rid,711 istate->cr_iip);710 panic_memtrap(istate, PF_ACCESS_EXEC, va, 711 "Page fault."); 712 712 } 713 713 } … … 745 745 if (as_page_fault(va, PF_ACCESS_READ, istate) == AS_PF_FAULT) { 746 746 fault_if_from_uspace(istate, "Page fault at %p.", va); 747 panic ("%s: va=%p, rid=%d, iip=%p.", __func__, va, rid,748 istate->cr_iip);747 panic_memtrap(istate, PF_ACCESS_READ, va, 748 "Page fault."); 749 749 } 750 750 } … … 778 778 if (as_page_fault(va, PF_ACCESS_WRITE, istate) == AS_PF_FAULT) { 779 779 fault_if_from_uspace(istate, "Page fault at %p.", va); 780 panic("%s: va=%p, rid=%d, iip=%p.", __func__, va, rid, 781 istate->cr_iip); 780 panic_memtrap(istate, PF_ACCESS_WRITE, va, "Page fault."); 782 781 } 783 782 page_table_unlock(AS, true); … … 819 818 if (as_page_fault(va, PF_ACCESS_READ, istate) == AS_PF_FAULT) { 820 819 fault_if_from_uspace(istate, "Page fault at %p.", va); 821 panic("%s: va=%p, rid=%d.", __func__, va, rid); 820 panic_memtrap(istate, PF_ACCESS_READ, va, 821 "Page fault."); 822 822 } 823 823 }
Note:
See TracChangeset
for help on using the changeset viewer.