Subversion Repositories HelenOS

Rev

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

Rev 4153 Rev 4263
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_ncpy(init.tasks[i].name, bootinfo->taskmap.tasks[i].name,
91
            CONFIG_TASK_NAME_BUFLEN);
91
            CONFIG_TASK_NAME_BUFLEN);
92
    }
92
    }
93
}
93
}
94
 
94
 
95
void arch_pre_mm_init(void)
95
void arch_pre_mm_init(void)