Changeset 25939997 in mainline for kernel/generic/src/main/main.c
- Timestamp:
- 2024-01-19T16:21:20Z (9 months ago)
- Branches:
- master
- Children:
- c1eaec4
- Parents:
- 1c1767f
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2023-04-16 19:36:25)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2024-01-19 16:21:20)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/main/main.c
r1c1767f r25939997 287 287 * starting the thread of kernel threads. 288 288 */ 289 scheduler_run(); 289 current_copy(CURRENT, (current_t *) CPU_LOCAL->stack); 290 context_replace(scheduler_run, CPU_LOCAL->stack, STACK_SIZE); 290 291 /* not reached */ 291 292 } … … 327 328 ARCH_OP(post_cpu_init); 328 329 329 current_copy(CURRENT, (current_t *) CPU_LOCAL->stack);330 331 330 /* 332 331 * If we woke kmp up before we left the kernel stack, we could … … 334 333 * switch to this cpu's private stack prior to waking kmp up. 335 334 */ 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.