Rev 4076 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4076 | Rev 4220 | ||
---|---|---|---|
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 | strncpy(init.tasks[i].name, bootinfo.taskmap.tasks[i].name, |
64 | str_ncpy(init.tasks[i].name, bootinfo.taskmap.tasks[i].name, |
65 | CONFIG_TASK_NAME_BUFLEN); |
65 | CONFIG_TASK_NAME_BUFLEN); |
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; |