Changeset 401 for trunk/hal/tsar_mips32/core/hal_exception.c
- Timestamp:
- Aug 17, 2017, 3:02:18 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/hal/tsar_mips32/core/hal_exception.c
r391 r401 132 132 static error_t hal_mmu_exception( thread_t * this ) 133 133 { 134 vseg_t * vseg; // vseg containing the bad_vaddr135 134 process_t * process; // local process descriptor 136 135 error_t error; // return value … … 176 175 "thread %x is a kernel thread / vaddr = %x\n", this->trdid , bad_vaddr ); 177 176 178 // vaddr must be contained in a registered vseg179 error = vmm_get_vseg( process , bad_vaddr , &vseg );180 181 vmm_dmsg("\n[INFO] %s : found vseg for thread %x / vseg_min = %x / vseg_max = %x\n",182 __FUNCTION__ , this->trdid , vseg->min , vseg->max );183 184 177 // analyse exception code 185 178 if( excp_code & MMU_EXCP_PAGE_UNMAPPED ) … … 190 183 // try to map the unmapped PTE 191 184 error = vmm_handle_page_fault( process, 192 vseg,193 185 bad_vaddr >> CONFIG_PPM_PAGE_SHIFT ); // vpn 194 186 // disable IRQs
Note: See TracChangeset
for help on using the changeset viewer.