Changes in kernel/arch/sparc64/src/mm/sun4v/tlb.c [730ff63:1dbc43f] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/sparc64/src/mm/sun4v/tlb.c
r730ff63 r1dbc43f 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;254 253 255 254 if (ctx == ASID_KERNEL) { … … 257 256 /* NULL access in kernel */ 258 257 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.");264 258 } 265 } 266 267 t = page_mapping_find(as, va, true); 259 panic("Unexpected kernel page fault."); 260 } 261 262 t = page_mapping_find(AS, va, true); 268 263 if (t) { 269 264 /* … … 300 295 uintptr_t va = DMISS_ADDRESS(page_and_ctx); 301 296 uint16_t ctx = DMISS_CONTEXT(page_and_ctx); 302 as_t *as = AS; 303 304 if (ctx == ASID_KERNEL) 305 as = AS_KERNEL; 306 307 t = page_mapping_find(as, va, true); 297 298 t = page_mapping_find(AS, va, true); 308 299 if (t && PTE_WRITABLE(t)) { 309 300 /*
Note:
See TracChangeset
for help on using the changeset viewer.