Changeset c15b374 in mainline for kernel/arch/sparc64
- Timestamp:
- 2010-07-12T14:42:46Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 44c69b66
- Parents:
- d5a1c73
- Location:
- kernel/arch/sparc64/src/mm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/sparc64/src/mm/sun4u/tlb.c
rd5a1c73 rc15b374 259 259 /* NULL access in kernel */ 260 260 do_fast_data_access_mmu_miss_fault(istate, tag, 261 "Dereferencing NULL pointer ");261 "Dereferencing NULL pointer."); 262 262 } else if (page_8k >= end_of_identity) { 263 263 /* … … 442 442 { 443 443 fault_if_from_uspace(istate, "%s, Address=%p.", str, va); 444 panic_memtrap(istate, PF_ACCESS_EXEC, va, "%s.",str);444 panic_memtrap(istate, PF_ACCESS_EXEC, va, str); 445 445 } 446 446 … … 453 453 fault_if_from_uspace(istate, "%s, Page=%p (ASID=%d).", str, va, 454 454 tag.context); 455 panic_memtrap(istate, PF_ACCESS_ READ, va, "%s.", str);455 panic_memtrap(istate, PF_ACCESS_UNKNOWN, va, str); 456 456 } 457 457 … … 464 464 fault_if_from_uspace(istate, "%s, Page=%p (ASID=%d).", str, va, 465 465 tag.context); 466 panic_memtrap(istate, PF_ACCESS_WRITE, va, "%s.",str);466 panic_memtrap(istate, PF_ACCESS_WRITE, va, str); 467 467 } 468 468 -
kernel/arch/sparc64/src/mm/sun4v/tlb.c
rd5a1c73 rc15b374 359 359 { 360 360 fault_if_from_uspace(istate, "%s, Address=%p.", str, va); 361 panic_memtrap(istate, PF_ACCESS_EXEC, va, "%s.",str);361 panic_memtrap(istate, PF_ACCESS_EXEC, va, str); 362 362 } 363 363 … … 367 367 fault_if_from_uspace(istate, "%s, Page=%p (ASID=%d).", str, 368 368 DMISS_ADDRESS(page_and_ctx), DMISS_CONTEXT(page_and_ctx)); 369 panic_memtrap(istate, PF_ACCESS_ READ, DMISS_ADDRESS(page_and_ctx),370 "%s.");369 panic_memtrap(istate, PF_ACCESS_UNKNOWN, DMISS_ADDRESS(page_and_ctx), 370 str); 371 371 } 372 372 … … 377 377 DMISS_ADDRESS(page_and_ctx), DMISS_CONTEXT(page_and_ctx)); 378 378 panic_memtrap(istate, PF_ACCESS_WRITE, DMISS_ADDRESS(page_and_ctx), 379 "%s.");379 str); 380 380 } 381 381
Note:
See TracChangeset
for help on using the changeset viewer.