Changeset a0f6a61 in mainline
- Timestamp:
- 2008-02-05T11:06:53Z (17 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- b07c332
- Parents:
- c053f615
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/mips32/src/mm/tlb.c
rc053f615 ra0f6a61 468 468 entry_lo_t lo0, lo1; 469 469 entry_hi_t hi, hi_save; 470 int i;470 unsigned int i; 471 471 472 472 hi_save.value = cp0_entry_hi_read(); 473 474 printf("TLB:\n"); 473 474 printf("# ASID VPN2 MASK G V D C PFN\n"); 475 printf("-- ---- ------ ---- - - - - ------\n"); 476 475 477 for (i = 0; i < TLB_ENTRY_COUNT; i++) { 476 478 cp0_index_write(i); … … 482 484 lo1.value = cp0_entry_lo1_read(); 483 485 484 printf("%d: asid=%d, vpn2=%d, mask=%d\tg[0]=%d, v[0]=%d, d[0]=%d, c[0]=%hhd, pfn[0]=%d\n" 485 "\t\t\t\tg[1]=%d, v[1]=%d, d[1]=%d, c[1]=%hhd, pfn[1]=%d\n", 486 i, hi.asid, hi.vpn2, mask.mask, lo0.g, lo0.v, lo0.d, lo0.c, lo0.pfn, 487 lo1.g, lo1.v, lo1.d, lo1.c, lo1.pfn); 486 printf("%-2u %-4u %#6x %#4x %1u %1u %1u %1u %#6x\n", 487 i, hi.asid, hi.vpn2, mask.mask, 488 lo0.g, lo0.v, lo0.d, lo0.c, lo0.pfn); 489 printf(" %1u %1u %1u %1u %#6x\n", 490 lo1.g, lo1.v, lo1.d, lo1.c, lo1.pfn); 488 491 } 489 492
Note:
See TracChangeset
for help on using the changeset viewer.