Rev 4220 | Rev 4311 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4220 | Rev 4267 | ||
---|---|---|---|
Line 59... | Line 59... | ||
59 | uint32_t i; |
59 | uint32_t i; |
60 | 60 | ||
61 | for (i = 0; i < min3(bootinfo.taskmap.count, TASKMAP_MAX_RECORDS, CONFIG_INIT_TASKS); i++) { |
61 | for (i = 0; i < min3(bootinfo.taskmap.count, TASKMAP_MAX_RECORDS, CONFIG_INIT_TASKS); i++) { |
62 | init.tasks[i].addr = PA2KA(bootinfo.taskmap.tasks[i].addr); |
62 | init.tasks[i].addr = PA2KA(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 | 68 | ||
69 | void arch_pre_mm_init(void) |
69 | void arch_pre_mm_init(void) |
70 | { |
70 | { |