Changeset fbf7b4c in mainline for generic/src/proc


Ignore:
Timestamp:
2006-06-18T10:52:41Z (20 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
e600ec4
Parents:
281994b
Message:

make kernel prints case consistent

Location:
generic/src/proc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • generic/src/proc/task.c

    r281994b rfbf7b4c  
    356356               
    357357                        spinlock_lock(&t->lock);
    358                         printf("%s(%lld): address=%#zX, as=%#zX, ActiveCalls: %zd",
     358                        printf("%s(%lld): address=%#zx, as=%#zx, ActiveCalls: %zd",
    359359                                t->name, t->taskid, t, t->as, atomic_get(&t->active_calls));
    360360                        for (j=0; j < IPC_MAX_PHONES; j++) {
    361361                                if (t->phones[j].callee)
    362                                         printf(" Ph(%zd): %#zX ", j, t->phones[j].callee);
     362                                        printf(" Ph(%zd): %#zx ", j, t->phones[j].callee);
    363363                        }
    364364                        printf("\n");
  • generic/src/proc/thread.c

    r281994b rfbf7b4c  
    537537               
    538538                        t = (thread_t *) node->value[i];
    539                         printf("%s: address=%#zX, tid=%zd, state=%s, task=%#zX, code=%#zX, stack=%#zX, cpu=",
     539                        printf("%s: address=%#zx, tid=%zd, state=%s, task=%#zx, code=%#zx, stack=%#zx, cpu=",
    540540                                t->name, t, t->tid, thread_states[t->state], t->task, t->thread_code, t->kstack);
    541541                        if (t->cpu)
     
    544544                                printf("none");
    545545                        if (t->state == Sleeping) {
    546                                 printf(", kst=%#zX", t->kstack);
    547                                 printf(", wq=%#zX", t->sleep_queue);
     546                                printf(", kst=%#zx", t->kstack);
     547                                printf(", wq=%#zx", t->sleep_queue);
    548548                        }
    549549                        printf("\n");
Note: See TracChangeset for help on using the changeset viewer.