Changeset ccb426c in mainline for kernel/arch/mips32/src


Ignore:
Timestamp:
2010-06-24T09:56:58Z (15 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
549012c
Parents:
851f33a
Message:

improve other kernel printouts

Location:
kernel/arch/mips32/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/mips32/src/debugger.c

    r851f33a rccb426c  
    260260        unsigned int i;
    261261       
    262         printf("#  Count Address    INPROG ONESHOT FUNCCALL In symbol\n");
    263         printf("-- ----- ---------- ------ ------- -------- ---------\n");
     262        printf("[nr] [count] [address ] [inprog] [oneshot] [funccall] [in symbol\n");
    264263       
    265264        for (i = 0; i < BKPOINTS_MAX; i++) {
     
    268267                            breakpoints[i].address);
    269268                       
    270                         printf("%-2u %-5d %#10zx %-6s %-7s %-8s %s\n", i,
     269                        printf("%-4u %7" PRIs " %p %-8s %-9s %-10s %s\n", i,
    271270                            breakpoints[i].counter, breakpoints[i].address,
    272271                            ((breakpoints[i].flags & BKPOINT_INPROG) ? "true" :
  • kernel/arch/mips32/src/mm/frame.c

    r851f33a rccb426c  
    249249void physmem_print(void)
    250250{
    251         printf("Base       Size\n");
    252         printf("---------- ----------\n");
     251        printf("[base    ] [size    ]\n");
    253252       
    254253        size_t i;
  • kernel/arch/mips32/src/mm/tlb.c

    r851f33a rccb426c  
    455455        hi_save.value = cp0_entry_hi_read();
    456456       
    457         printf("#  ASID VPN2   MASK G V D C PFN\n");
    458         printf("-- ---- ------ ---- - - - - ------\n");
     457        printf("[nr] [asid] [vpn2] [mask] [gvdc] [pfn ]\n");
    459458       
    460459        for (i = 0; i < TLB_ENTRY_COUNT; i++) {
     
    467466                lo1.value = cp0_entry_lo1_read();
    468467               
    469                 printf("%-2u %-4u %#6x %#4x %1u %1u %1u %1u %#6x\n",
     468                printf("%-4u %-6u %#6x %#6x  %1u%1u%1u%1u %#6x\n",
    470469                    i, hi.asid, hi.vpn2, mask.mask,
    471470                    lo0.g, lo0.v, lo0.d, lo0.c, lo0.pfn);
    472                 printf("                    %1u %1u %1u %1u %#6x\n",
     471                printf("                           %1u%1u%1u%1u %#6x\n",
    473472                    lo1.g, lo1.v, lo1.d, lo1.c, lo1.pfn);
    474473        }
Note: See TracChangeset for help on using the changeset viewer.