Changeset f7bb6d1 in mainline for kernel/arch/sparc64/src/mm/sun4v/tlb.c
- Timestamp:
- 2013-09-17T19:51:20Z (11 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 6ac3d27
- Parents:
- 3efc35a (diff), ca62f86 (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/sun4v/tlb.c
r3efc35a rf7bb6d1 251 251 uintptr_t va = DMISS_ADDRESS(page_and_ctx); 252 252 uint16_t ctx = DMISS_CONTEXT(page_and_ctx); 253 as_t *as = AS; 253 254 254 255 if (ctx == ASID_KERNEL) { … … 256 257 /* NULL access in kernel */ 257 258 panic("NULL pointer dereference."); 259 } else if (va >= end_of_identity) { 260 /* Kernel non-identity */ 261 as = AS_KERNEL; 262 } else { 263 panic("Unexpected kernel page fault."); 258 264 } 259 panic("Unexpected kernel page fault."); 260 } 261 262 t = page_mapping_find(AS, va, true); 265 } 266 267 t = page_mapping_find(as, va, true); 263 268 if (t) { 264 269 /* … … 295 300 uintptr_t va = DMISS_ADDRESS(page_and_ctx); 296 301 uint16_t ctx = DMISS_CONTEXT(page_and_ctx); 297 298 t = page_mapping_find(AS, va, true); 302 as_t *as = AS; 303 304 if (ctx == ASID_KERNEL) 305 as = AS_KERNEL; 306 307 t = page_mapping_find(as, va, true); 299 308 if (t && PTE_WRITABLE(t)) { 300 309 /*
Note:
See TracChangeset
for help on using the changeset viewer.