Changeset f88fcbe in mainline for kernel/generic/src/proc/task.c
- 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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.