Rev 1411 | Rev 1702 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 1411 | Rev 1595 | ||
|---|---|---|---|
| Line 181... | Line 181... | ||
| 181 | access = PF_ACCESS_EXEC; |
181 | access = PF_ACCESS_EXEC; |
| 182 | else |
182 | else |
| 183 | access = PF_ACCESS_READ; |
183 | access = PF_ACCESS_READ; |
| 184 | 184 | ||
| 185 | if (as_page_fault(page, access, istate) == AS_PF_FAULT) { |
185 | if (as_page_fault(page, access, istate) == AS_PF_FAULT) { |
| - | 186 | fault_if_from_uspace(istate, "Page fault: %#x", page); |
|
| - | 187 | ||
| 186 | print_info_errcode(n, istate); |
188 | print_info_errcode(n, istate); |
| 187 | printf("Page fault address: %llX\n", page); |
189 | printf("Page fault address: %llX\n", page); |
| 188 | panic("page fault\n"); |
190 | panic("page fault\n"); |
| 189 | } |
191 | } |
| 190 | } |
192 | } |