Changes in kernel/generic/src/main/kinit.c [a4e23f8c:c8cbd39] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/main/kinit.c
ra4e23f8c rc8cbd39 172 172 #endif /* CONFIG_KCONSOLE */ 173 173 174 /*175 * Store the default stack size in sysinfo so that uspace can create176 * stack with this default size.177 */178 sysinfo_set_item_val("default.stack_size", NULL, STACK_SIZE_USER);179 180 174 interrupts_enable(); 181 175 … … 250 244 CAP_IO_MANAGER | CAP_IRQ_REG); 251 245 252 if (!ipc_phone_0) {246 if (!ipc_phone_0) 253 247 ipc_phone_0 = &programs[i].task->answerbox; 254 /*255 * Hold the first task so that the256 * ipc_phone_0 remains a valid pointer257 * even if the first task exits for258 * whatever reason.259 */260 task_hold(programs[i].task);261 }262 248 } 263 249
Note:
See TracChangeset
for help on using the changeset viewer.