Changes in kernel/arch/arm32/src/arm32.c [82474ef:4872160] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/arm32/src/arm32.c
r82474ef r4872160 47 47 #include <userspace.h> 48 48 #include <macros.h> 49 #include <str ing.h>49 #include <str.h> 50 50 #include <arch/ras.h> 51 51 … … 62 62 void arch_pre_main(void *entry __attribute__((unused)), bootinfo_t *bootinfo) 63 63 { 64 unsigned int i;64 init.cnt = min3(bootinfo->cnt, TASKMAP_MAX_RECORDS, CONFIG_INIT_TASKS); 65 65 66 init.cnt = bootinfo->cnt; 67 68 for (i = 0; i < min3(bootinfo->cnt, TASKMAP_MAX_RECORDS, CONFIG_INIT_TASKS); ++i) { 69 init.tasks[i].addr = bootinfo->tasks[i].addr; 66 size_t i; 67 for (i = 0; i < init.cnt; i++) { 68 init.tasks[i].addr = (uintptr_t) bootinfo->tasks[i].addr; 70 69 init.tasks[i].size = bootinfo->tasks[i].size; 71 70 str_cpy(init.tasks[i].name, CONFIG_TASK_NAME_BUFLEN,
Note:
See TracChangeset
for help on using the changeset viewer.