Changeset 06b0211b in mainline for kernel/arch/sparc64/src/mm/sun4u/tlb.c
- Timestamp:
- 2013-04-29T11:29:45Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- aa2b32c
- Parents:
- ba4799a (diff), df956b9b (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/sparc64/src/mm/sun4u/tlb.c
rba4799a r06b0211b 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);199 198 size_t index = (istate->tpc >> MMU_PAGE_WIDTH) % MMU_PAGES_PER_PAGE; 200 199 pte_t *t; 201 200 202 t = page_mapping_find(AS, page_16k, true);201 t = page_mapping_find(AS, istate->tpc, true); 203 202 if (t && PTE_EXECUTABLE(t)) { 204 203 /* … … 216 215 * handler. 217 216 */ 218 as_page_fault( page_16k, PF_ACCESS_EXEC, istate);217 as_page_fault(istate->tpc, PF_ACCESS_EXEC, istate); 219 218 } 220 219 }
Note:
See TracChangeset
for help on using the changeset viewer.