Changes in kernel/generic/src/proc/scheduler.c [df58e44:26aafe8] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/proc/scheduler.c
rdf58e44 r26aafe8 102 102 #endif 103 103 104 #ifdef CONFIG_UDEBUG 104 105 if (THREAD->btrace) { 105 106 istate_t *istate = THREAD->udebug.uspace_state; … … 111 112 THREAD->btrace = false; 112 113 } 114 #endif 113 115 } 114 116 … … 352 354 353 355 /* 354 * Through the 'THE' structure, we keep track of THREAD, TASK, CPU, VM356 * Through the 'THE' structure, we keep track of THREAD, TASK, CPU, AS 355 357 * and preemption counter. At this point THE could be coming either 356 358 * from THREAD's or CPU's stack. … … 374 376 context_save(&CPU->saved_context); 375 377 context_set(&CPU->saved_context, FADDR(scheduler_separated_stack), 376 (uintptr_t) CPU->stack, CPU_STACK_SIZE);378 (uintptr_t) CPU->stack, STACK_SIZE); 377 379 context_restore(&CPU->saved_context); 378 380
Note:
See TracChangeset
for help on using the changeset viewer.