Changes in kernel/generic/src/main/main.c [25939997:ed7e057] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/main/main.c
r25939997 red7e057 287 287 * starting the thread of kernel threads. 288 288 */ 289 current_copy(CURRENT, (current_t *) CPU_LOCAL->stack); 290 context_replace(scheduler_run, CPU_LOCAL->stack, STACK_SIZE); 289 scheduler_run(); 291 290 /* not reached */ 292 291 } … … 328 327 ARCH_OP(post_cpu_init); 329 328 329 current_copy(CURRENT, (current_t *) CPU_LOCAL->stack); 330 330 331 /* 331 332 * If we woke kmp up before we left the kernel stack, we could … … 333 334 * switch to this cpu's private stack prior to waking kmp up. 334 335 */ 335 current_copy(CURRENT, (current_t *) CPU_LOCAL->stack);336 336 context_replace(main_ap_separated_stack, CPU_LOCAL->stack, STACK_SIZE); 337 337 /* not reached */
Note:
See TracChangeset
for help on using the changeset viewer.