Changeset 280a27e in mainline for generic/src/proc/thread.c


Ignore:
Timestamp:
2006-04-16T13:16:44Z (19 years ago)
Author:
Josef Cejka <malyzelenyhnus@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
50de918
Parents:
c624b96
Message:

Printf ported back from uspace to kernel.
Printf calls changed to match new conventions.

File:
1 edited

Legend:

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

    rc624b96 r280a27e  
    419419               
    420420                        t = (thread_t *) node->value[i];
    421                         printf("%s: address=%P, tid=%d, state=%s, task=%P, code=%P, stack=%P, cpu=",
     421                        printf("%s: address=%#zX, tid=%zd, state=%s, task=%#zX, code=%#zX, stack=%#zX, cpu=",
    422422                                t->name, t, t->tid, thread_states[t->state], t->task, t->thread_code, t->kstack);
    423423                        if (t->cpu)
    424                                 printf("cpu%d ", t->cpu->id);
     424                                printf("cpu%zd ", t->cpu->id);
    425425                        else
    426426                                printf("none");
Note: See TracChangeset for help on using the changeset viewer.