Subversion Repositories HelenOS

Rev

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

Rev 4223 Rev 4267
Line 60... Line 60...
60
    init.cnt = bootinfo->cnt;
60
    init.cnt = bootinfo->cnt;
61
   
61
   
62
    for (i = 0; i < min3(bootinfo->cnt, TASKMAP_MAX_RECORDS, CONFIG_INIT_TASKS); ++i) {
62
    for (i = 0; i < min3(bootinfo->cnt, TASKMAP_MAX_RECORDS, CONFIG_INIT_TASKS); ++i) {
63
        init.tasks[i].addr = bootinfo->tasks[i].addr;
63
        init.tasks[i].addr = bootinfo->tasks[i].addr;
64
        init.tasks[i].size = bootinfo->tasks[i].size;
64
        init.tasks[i].size = bootinfo->tasks[i].size;
65
        str_ncpy(init.tasks[i].name, bootinfo->tasks[i].name,
65
        str_cpy(init.tasks[i].name, CONFIG_TASK_NAME_BUFLEN,
66
            CONFIG_TASK_NAME_BUFLEN);
66
            bootinfo->tasks[i].name);
67
    }
67
    }
68
}
68
}
69
 
69
 
70
/** Performs arm32 specific initialization before mm is initialized. */
70
/** Performs arm32 specific initialization before mm is initialized. */
71
void arch_pre_mm_init(void)
71
void arch_pre_mm_init(void)