Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/proc/scheduler.c

    rdf58e44 r26aafe8  
    102102#endif
    103103       
     104#ifdef CONFIG_UDEBUG
    104105        if (THREAD->btrace) {
    105106                istate_t *istate = THREAD->udebug.uspace_state;
     
    111112                THREAD->btrace = false;
    112113        }
     114#endif
    113115}
    114116
     
    352354       
    353355        /*
    354          * Through the 'THE' structure, we keep track of THREAD, TASK, CPU, VM
     356         * Through the 'THE' structure, we keep track of THREAD, TASK, CPU, AS
    355357         * and preemption counter. At this point THE could be coming either
    356358         * from THREAD's or CPU's stack.
     
    374376        context_save(&CPU->saved_context);
    375377        context_set(&CPU->saved_context, FADDR(scheduler_separated_stack),
    376             (uintptr_t) CPU->stack, CPU_STACK_SIZE);
     378            (uintptr_t) CPU->stack, STACK_SIZE);
    377379        context_restore(&CPU->saved_context);
    378380       
Note: See TracChangeset for help on using the changeset viewer.