Changeset ccb426c in mainline
- Timestamp:
- 2010-06-24T09:56:58Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 549012c
- Parents:
- 851f33a
- Location:
- kernel
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/amd64/src/debugger.c
r851f33a rccb426c 349 349 { 350 350 #ifdef __32_BITS__ 351 printf("# Count Address In symbol\n"); 352 printf("-- ----- ---------- ---------\n"); 351 printf("[nr] [count] [address ] [in symbol\n"); 353 352 #endif 354 353 355 354 #ifdef __64_BITS__ 356 printf("# Count Address In symbol\n"); 357 printf("-- ----- ------------------ ---------\n"); 355 printf("[nr] [count] [address ] [in symbol\n"); 358 356 #endif 359 357 … … 365 363 366 364 #ifdef __32_BITS__ 367 printf("%- 2u %-5" PRIs " %p %s\n", i,365 printf("%-4u %7" PRIs " %p %s\n", i, 368 366 breakpoints[i].counter, breakpoints[i].address, 369 367 symbol); … … 371 369 372 370 #ifdef __64_BITS__ 373 printf("%- 2u %-5" PRIs " %p %s\n", i,371 printf("%-4u %7" PRIs " %p %s\n", i, 374 372 breakpoints[i].counter, breakpoints[i].address, 375 373 symbol); -
kernel/arch/ia32/src/mm/frame.c
r851f33a rccb426c 123 123 const char *name; 124 124 125 printf("Base Size Name\n"); 126 printf("------------------ ------------------ ---------\n"); 125 printf("[base ] [size ] [name\n"); 127 126 128 127 for (i = 0; i < e820counter; i++) { -
kernel/arch/mips32/src/debugger.c
r851f33a rccb426c 260 260 unsigned int i; 261 261 262 printf("# Count Address INPROG ONESHOT FUNCCALL In symbol\n"); 263 printf("-- ----- ---------- ------ ------- -------- ---------\n"); 262 printf("[nr] [count] [address ] [inprog] [oneshot] [funccall] [in symbol\n"); 264 263 265 264 for (i = 0; i < BKPOINTS_MAX; i++) { … … 268 267 breakpoints[i].address); 269 268 270 printf("%- 2u %-5d %#10zx %-6s %-7s %-8s %s\n", i,269 printf("%-4u %7" PRIs " %p %-8s %-9s %-10s %s\n", i, 271 270 breakpoints[i].counter, breakpoints[i].address, 272 271 ((breakpoints[i].flags & BKPOINT_INPROG) ? "true" : -
kernel/arch/mips32/src/mm/frame.c
r851f33a rccb426c 249 249 void physmem_print(void) 250 250 { 251 printf("Base Size\n"); 252 printf("---------- ----------\n"); 251 printf("[base ] [size ]\n"); 253 252 254 253 size_t i; -
kernel/arch/mips32/src/mm/tlb.c
r851f33a rccb426c 455 455 hi_save.value = cp0_entry_hi_read(); 456 456 457 printf("# ASID VPN2 MASK G V D C PFN\n"); 458 printf("-- ---- ------ ---- - - - - ------\n"); 457 printf("[nr] [asid] [vpn2] [mask] [gvdc] [pfn ]\n"); 459 458 460 459 for (i = 0; i < TLB_ENTRY_COUNT; i++) { … … 467 466 lo1.value = cp0_entry_lo1_read(); 468 467 469 printf("%- 2u %-4u %#6x %#4x %1u %1u %1u %1u%#6x\n",468 printf("%-4u %-6u %#6x %#6x %1u%1u%1u%1u %#6x\n", 470 469 i, hi.asid, hi.vpn2, mask.mask, 471 470 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", 473 472 lo1.g, lo1.v, lo1.d, lo1.c, lo1.pfn); 474 473 } -
kernel/arch/ppc32/src/mm/frame.c
r851f33a rccb426c 45 45 void physmem_print(void) 46 46 { 47 printf("Base Size\n"); 48 printf("---------- ----------\n"); 47 printf("[base ] [size ]\n"); 49 48 50 49 size_t i; -
kernel/generic/src/mm/frame.c
r851f33a rccb426c 1234 1234 { 1235 1235 #ifdef __32_BITS__ 1236 printf("# base address frames flags free frames busy frames\n"); 1237 printf("-- ------------ ------------ -------- ------------ ------------\n"); 1236 printf("[nr] [base addr ] [frames ] [flags ] [free frames ] [busy frames ]\n"); 1238 1237 #endif 1239 1238 1240 1239 #ifdef __64_BITS__ 1241 printf("# base address frames flags free frames busy frames\n"); 1242 printf("-- -------------------- ------------ -------- ------------ ------------\n"); 1240 printf("[nr] [base address ] [frames ] [flags ] [free frames ] [busy frames ]\n"); 1243 1241 #endif 1244 1242 … … 1273 1271 bool available = zone_flags_available(flags); 1274 1272 1275 printf("%- 2" PRIs, i);1273 printf("%-4" PRIs, i); 1276 1274 1277 1275 #ifdef __32_BITS__ … … 1289 1287 1290 1288 if (available) 1291 printf("%1 2" PRIs " %12" PRIs,1289 printf("%14" PRIs " %14" PRIs, 1292 1290 free_count, busy_count); 1293 1291 -
kernel/generic/src/mm/slab.c
r851f33a rccb426c 829 829 void slab_print_list(void) 830 830 { 831 printf("slab name size pages obj/pg slabs cached allocated" 832 " ctl\n"); 833 printf("---------------- -------- ------ -------- ------ ------ ---------" 834 " ---\n"); 831 printf("[slab name ] [size ] [pages ] [obj/pg] [slabs ]" 832 " [cached] [alloc ] [ctl]\n"); 835 833 836 834 size_t skip = 0; … … 887 885 irq_spinlock_unlock(&slab_cache_lock, true); 888 886 889 printf("%-1 6s %8" PRIs " %6u %8" PRIs " %6ld %6ld %9ld %-3s\n",887 printf("%-18s %8" PRIs " %8u %8" PRIs " %8ld %8ld %8ld %-5s\n", 890 888 name, size, (1 << order), objects, allocated_slabs, 891 889 cached_objs, allocated_objs,
Note:
See TracChangeset
for help on using the changeset viewer.