Changeset f88fcbe in mainline
- Timestamp:
- 2006-12-13T14:56:17Z (18 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 4c3b797
- Parents:
- f19d77a
- Location:
- kernel/generic/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/mm/frame.c
rf19d77a rf88fcbe 1099 1099 ipl = interrupts_disable(); 1100 1100 spinlock_lock(&zones.lock); 1101 printf("# Base address\tFree Frames\tBusy Frames\n");1102 printf(" ------------\t-----------\t-----------\n");1101 printf("# base address free frames busy frames\n"); 1102 printf("-- ------------ ------------ ------------\n"); 1103 1103 for (i = 0; i < zones.count; i++) { 1104 1104 zone = zones.info[i]; 1105 1105 spinlock_lock(&zone->lock); 1106 printf("% d: %.*p \t%10zd\t%10zd\n", i, sizeof(uintptr_t) * 2, PFN2ADDR(zone->base), zone->free_count, zone->busy_count);1106 printf("%-2d %12p %12zd %12zd\n", i, PFN2ADDR(zone->base), zone->free_count, zone->busy_count); 1107 1107 spinlock_unlock(&zone->lock); 1108 1108 } -
kernel/generic/src/proc/task.c
rf19d77a rf88fcbe 344 344 ipl = interrupts_disable(); 345 345 spinlock_lock(&tasks_lock); 346 347 printf("taskid name ctx address as active calls callee\n"); 348 printf("------ ---------- --- ---------- ---------- ------------ ------>\n"); 346 349 347 350 for (cur = tasks_btree.leaf_head.next; cur != &tasks_btree.leaf_head; cur = cur->next) { … … 357 360 358 361 spinlock_lock(&t->lock); 359 printf("%s(%lld): context=%ld, address=%#zx, as=%#zx, ActiveCalls: %zd", 360 t->name, t->taskid, t->context, t, t->as, atomic_get(&t->active_calls)); 361 for (j=0; j < IPC_MAX_PHONES; j++) { 362 printf("%-6lld %-10s %-3ld %#10zx %#10zx %12zd", t->taskid, t->name, t->context, t, t->as, atomic_get(&t->active_calls)); 363 for (j = 0; j < IPC_MAX_PHONES; j++) { 362 364 if (t->phones[j].callee) 363 printf(" Ph(%zd): %#zx", j, t->phones[j].callee);365 printf(" %zd:%#zx", j, t->phones[j].callee); 364 366 } 365 367 printf("\n");
Note:
See TracChangeset
for help on using the changeset viewer.