Changeset 7e752b2 in mainline for kernel/generic/src/proc
- Timestamp:
- 2010-11-26T01:33:20Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- bf61d3a
- Parents:
- 202f57b
- Location:
- kernel/generic/src/proc
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/proc/program.c
r202f57b r7e752b2 145 145 146 146 program_loader = image_addr; 147 LOG("Registered program loader at 0x%" PRIp,148 image_addr);147 LOG("Registered program loader at %p", 148 (void *) image_addr); 149 149 150 150 return EOK; -
kernel/generic/src/proc/scheduler.c
r202f57b r7e752b2 727 727 irq_spinlock_lock(&cpus[cpu].lock, true); 728 728 729 printf("cpu%u: address=%p, nrdy=% ld, needs_relink=%" PRIs "\n",729 printf("cpu%u: address=%p, nrdy=%" PRIua ", needs_relink=%zu\n", 730 730 cpus[cpu].id, &cpus[cpu], atomic_get(&cpus[cpu].nrdy), 731 731 cpus[cpu].needs_relink); -
kernel/generic/src/proc/task.c
r202f57b r7e752b2 478 478 #ifdef __32_BITS__ 479 479 if (*additional) 480 printf("%-8" PRIu64 " %9 lu %7lu", task->taskid,480 printf("%-8" PRIu64 " %9" PRIua " %7" PRIua, task->taskid, 481 481 atomic_get(&task->refcount), atomic_get(&task->active_calls)); 482 482 else … … 489 489 #ifdef __64_BITS__ 490 490 if (*additional) 491 printf("%-8" PRIu64 " %9" PRIu64 "%c %9" PRIu64 "%c %9lu %7lu", 491 printf("%-8" PRIu64 " %9" PRIu64 "%c %9" PRIu64 "%c " 492 "%9" PRIua " %7" PRIua, 492 493 task->taskid, ucycles, usuffix, kcycles, ksuffix, 493 494 atomic_get(&task->refcount), atomic_get(&task->active_calls)); … … 501 502 for (i = 0; i < IPC_MAX_PHONES; i++) { 502 503 if (task->phones[i].callee) 503 printf(" % " PRIs ":%p", i, task->phones[i].callee);504 printf(" %zu:%p", i, task->phones[i].callee); 504 505 } 505 506 printf("\n");
Note:
See TracChangeset
for help on using the changeset viewer.