Changes in kernel/arch/sparc64/src/mm/sun4u/tlb.c [59fb782:1dbc43f] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/sparc64/src/mm/sun4u/tlb.c
r59fb782 r1dbc43f 196 196 void fast_instruction_access_mmu_miss(sysarg_t unused, istate_t *istate) 197 197 { 198 uintptr_t page_16k = ALIGN_DOWN(istate->tpc, PAGE_SIZE); 198 199 size_t index = (istate->tpc >> MMU_PAGE_WIDTH) % MMU_PAGES_PER_PAGE; 199 200 pte_t *t; 200 201 201 t = page_mapping_find(AS, istate->tpc, true);202 t = page_mapping_find(AS, page_16k, true); 202 203 if (t && PTE_EXECUTABLE(t)) { 203 204 /* … … 215 216 * handler. 216 217 */ 217 as_page_fault( istate->tpc, PF_ACCESS_EXEC, istate);218 as_page_fault(page_16k, PF_ACCESS_EXEC, istate); 218 219 } 219 220 }
Note:
See TracChangeset
for help on using the changeset viewer.