Changes in kernel/arch/sparc64/src/mm/sun4u/tlb.c [f238e86:a000878c] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/sparc64/src/mm/sun4u/tlb.c
rf238e86 ra000878c 50 50 #include <panic.h> 51 51 #include <arch/asm.h> 52 #include <genarch/mm/page_ht.h> 52 53 53 54 #ifdef CONFIG_TSB … … 63 64 tlb_tag_access_reg_t, const char *); 64 65 65 c har *context_encoding[] = {66 const char *context_encoding[] = { 66 67 "Primary", 67 68 "Secondary", … … 475 476 } 476 477 477 void d ump_sfsr_and_sfar(void)478 void describe_dmmu_fault(void) 478 479 { 479 480 tlb_sfsr_reg_t sfsr; … … 498 499 } 499 500 501 void dump_sfsr_and_sfar(void) 502 { 503 tlb_sfsr_reg_t sfsr; 504 uintptr_t sfar; 505 506 sfsr.value = dtlb_sfsr_read(); 507 sfar = dtlb_sfar_read(); 508 509 #if defined (US) 510 printf("DTLB SFSR: asi=%#x, ft=%#x, e=%d, ct=%d, pr=%d, w=%d, ow=%d, " 511 "fv=%d\n", sfsr.asi, sfsr.ft, sfsr.e, sfsr.ct, sfsr.pr, sfsr.w, 512 sfsr.ow, sfsr.fv); 513 #elif defined (US3) 514 printf("DTLB SFSR: nf=%d, asi=%#x, tm=%d, ft=%#x, e=%d, ct=%d, pr=%d, " 515 "w=%d, ow=%d, fv=%d\n", sfsr.nf, sfsr.asi, sfsr.tm, sfsr.ft, 516 sfsr.e, sfsr.ct, sfsr.pr, sfsr.w, sfsr.ow, sfsr.fv); 517 #endif 518 519 printf("DTLB SFAR: address=%p\n", sfar); 520 521 dtlb_sfsr_write(0); 522 } 523 500 524 #if defined (US) 501 525 /** Invalidate all unlocked ITLB and DTLB entries. */
Note:
See TracChangeset
for help on using the changeset viewer.