Changeset 403 for trunk/hal/x86_64/core
- Timestamp:
- Aug 17, 2017, 3:09:39 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/hal/x86_64/core/hal_exception.c
r392 r403 87 87 thread_t *thread = curtls()->tls_thr; 88 88 process_t *process = thread->process; 89 vseg_t *vseg;90 89 intptr_t bad_vaddr; 91 90 error_t error; … … 95 94 bad_vaddr = rcr2(); 96 95 97 error = vmm_get_vseg(process, bad_vaddr, &vseg); 98 if (error) { 99 x86_panic("vseg not found!"); 100 } 101 102 error = vmm_handle_page_fault(process, vseg, 96 error = vmm_handle_page_fault(process, 103 97 bad_vaddr >> CONFIG_PPM_PAGE_SHIFT); 104 98
Note: See TracChangeset
for help on using the changeset viewer.