Subversion Repositories HelenOS

Rev

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

Rev 4263 Rev 4327
Line 59... Line 59...
59
    uint32_t i;
59
    uint32_t i;
60
 
60
 
61
    for (i = 0; i < bootinfo.taskmap.count; i++) {
61
    for (i = 0; i < bootinfo.taskmap.count; i++) {
62
        init.tasks[i].addr = (uintptr_t) bootinfo.taskmap.tasks[i].addr;
62
        init.tasks[i].addr = (uintptr_t) bootinfo.taskmap.tasks[i].addr;
63
        init.tasks[i].size = bootinfo.taskmap.tasks[i].size;
63
        init.tasks[i].size = bootinfo.taskmap.tasks[i].size;
64
        str_ncpy(init.tasks[i].name, bootinfo.taskmap.tasks[i].name,
64
        str_cpy(init.tasks[i].name, CONFIG_TASK_NAME_BUFLEN,
65
            CONFIG_TASK_NAME_BUFLEN);
65
            bootinfo.taskmap.tasks[i].name);
66
    }
66
    }
67
   
67
   
68
    /* Copy boot allocations info. */
68
    /* Copy boot allocations info. */
69
    ballocs.base = bootinfo.ballocs.base;
69
    ballocs.base = bootinfo.ballocs.base;
70
    ballocs.size = bootinfo.ballocs.size;
70
    ballocs.size = bootinfo.ballocs.size;