Changeset 403 for trunk/hal/x86_64/core


Ignore:
Timestamp:
Aug 17, 2017, 3:09:39 PM (7 years ago)
Author:
max@…
Message:

Sync with TSAR.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/hal/x86_64/core/hal_exception.c

    r392 r403  
    8787        thread_t *thread = curtls()->tls_thr;
    8888        process_t *process = thread->process;
    89         vseg_t *vseg;
    9089        intptr_t bad_vaddr;
    9190        error_t error;
     
    9594                        bad_vaddr = rcr2();
    9695
    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,
    10397                            bad_vaddr >> CONFIG_PPM_PAGE_SHIFT);
    10498
Note: See TracChangeset for help on using the changeset viewer.