Changeset 0f94c3d in mainline for kernel/generic/src/proc/task.c


Ignore:
Timestamp:
2009-03-01T20:51:26Z (16 years ago)
Author:
Jiri Svoboda <jirik.svoboda@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
2e079b70
Parents:
0d5a50c
Message:

Read command line for multiboot modules on ia32 and copy it to task name. Other arches will need to initialize task names in the init structure to an empty string.

File:
1 edited

Legend:

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

    r0d5a50c r0f94c3d  
    397397
    398398#ifdef __32_BITS__     
    399         printf("%-6" PRIu64 " %-10s %-3" PRIu32 " %10p %10p %9" PRIu64
     399        printf("%-6" PRIu64 " %-12s %-3" PRIu32 " %10p %10p %9" PRIu64
    400400            "%c %7ld %6ld", t->taskid, t->name, t->context, t, t->as, cycles,
    401401            suffix, atomic_get(&t->refcount), atomic_get(&t->active_calls));
     
    403403
    404404#ifdef __64_BITS__
    405         printf("%-6" PRIu64 " %-10s %-3" PRIu32 " %18p %18p %9" PRIu64
     405        printf("%-6" PRIu64 " %-12s %-3" PRIu32 " %18p %18p %9" PRIu64
    406406            "%c %7ld %6ld", t->taskid, t->name, t->context, t, t->as, cycles,
    407407            suffix, atomic_get(&t->refcount), atomic_get(&t->active_calls));
     
    430430        printf("taskid name       ctx address    as         "
    431431            "cycles     threads calls  callee\n");
    432         printf("------ ---------- --- ---------- ---------- "
     432        printf("------ ------------ --- ---------- ---------- "
    433433            "---------- ------- ------ ------>\n");
    434434#endif
     
    437437        printf("taskid name       ctx address            as                 "
    438438            "cycles     threads calls  callee\n");
    439         printf("------ ---------- --- ------------------ ------------------ "
     439        printf("------ ------------ --- ------------------ ------------------ "
    440440            "---------- ------- ------ ------>\n");
    441441#endif
Note: See TracChangeset for help on using the changeset viewer.