Subversion Repositories HelenOS

Rev

Rev 4156 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4156 Rev 4296
Line 85... Line 85...
85
    for (i = 0; i < init.cnt; i++) {
85
    for (i = 0; i < init.cnt; i++) {
86
        init.tasks[i].addr =
86
        init.tasks[i].addr =
87
            ((unsigned long) bootinfo->taskmap.tasks[i].addr) |
87
            ((unsigned long) bootinfo->taskmap.tasks[i].addr) |
88
            VRN_MASK;
88
            VRN_MASK;
89
        init.tasks[i].size = bootinfo->taskmap.tasks[i].size;
89
        init.tasks[i].size = bootinfo->taskmap.tasks[i].size;
90
        strncpy(init.tasks[i].name, bootinfo->taskmap.tasks[i].name,
90
        str_cpy(init.tasks[i].name, CONFIG_TASK_NAME_BUFLEN,
91
            CONFIG_TASK_NAME_BUFLEN);
91
            bootinfo->taskmap.tasks[i].name);
92
    }
92
    }
93
}
93
}
94
 
94
 
95
void arch_pre_mm_init(void)
95
void arch_pre_mm_init(void)
96
{
96
{