Changeset 63a045c in mainline for kernel/arch/arm32/src/arm32.c
- Timestamp:
- 2018-10-10T17:41:44Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 9286475
- Parents:
- 63c1dd5
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-10-10 17:11:15)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-10-10 17:41:44)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/arm32/src/arm32.c
r63c1dd5 r63a045c 67 67 void arm32_pre_main(void *entry __attribute__((unused)), bootinfo_t *bootinfo) 68 68 { 69 init.cnt = min3(bootinfo-> cnt, TASKMAP_MAX_RECORDS, CONFIG_INIT_TASKS);69 init.cnt = min3(bootinfo->taskmap.cnt, TASKMAP_MAX_RECORDS, CONFIG_INIT_TASKS); 70 70 71 71 size_t i; 72 72 for (i = 0; i < init.cnt; i++) { 73 init.tasks[i].paddr = KA2PA(bootinfo->task s[i].addr);74 init.tasks[i].size = bootinfo->task s[i].size;73 init.tasks[i].paddr = KA2PA(bootinfo->taskmap.tasks[i].addr); 74 init.tasks[i].size = bootinfo->taskmap.tasks[i].size; 75 75 str_cpy(init.tasks[i].name, CONFIG_TASK_NAME_BUFLEN, 76 bootinfo->task s[i].name);76 bootinfo->taskmap.tasks[i].name); 77 77 } 78 78
Note:
See TracChangeset
for help on using the changeset viewer.