Changeset f7734012 in mainline for kernel/arch/sparc64/src/sparc64.c


Ignore:
Timestamp:
2009-03-05T19:32:36Z (16 years ago)
Author:
Jiri Svoboda <jirik.svoboda@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
3d360758
Parents:
46db10e9
Message:

Init-task names for sparc64 (that's the final one, whew).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/sparc64/src/sparc64.c

    r46db10e9 rf7734012  
    4848#include <userspace.h>
    4949#include <ddi/irq.h>
     50#include <string.h>
    5051
    5152bootinfo_t bootinfo;
     
    6263                init.tasks[i].addr = (uintptr_t) bootinfo.taskmap.tasks[i].addr;
    6364                init.tasks[i].size = bootinfo.taskmap.tasks[i].size;
     65                strncpy(init.tasks[i].name, bootinfo.taskmap.tasks[i].name,
     66                        CONFIG_TASK_NAME_BUFLEN);
    6467        }
    6568       
Note: See TracChangeset for help on using the changeset viewer.