Rev 413 | Rev 430 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 413 | Rev 414 | ||
---|---|---|---|
Line 311... | Line 311... | ||
311 | * which is fooled by SP being set to the very top of the stack. |
311 | * which is fooled by SP being set to the very top of the stack. |
312 | * Therefore the scheduler() function continues in |
312 | * Therefore the scheduler() function continues in |
313 | * scheduler_separated_stack(). |
313 | * scheduler_separated_stack(). |
314 | */ |
314 | */ |
315 | context_save(&CPU->saved_context); |
315 | context_save(&CPU->saved_context); |
316 | context_set(&CPU->saved_context, FADDR(scheduler_separated_stack), CPU->stack, CPU_STACK_SIZE); |
316 | context_set(&CPU->saved_context, FADDR(scheduler_separated_stack), (__address) CPU->stack, CPU_STACK_SIZE); |
317 | context_restore(&CPU->saved_context); |
317 | context_restore(&CPU->saved_context); |
318 | /* not reached */ |
318 | /* not reached */ |
319 | } |
319 | } |
320 | 320 | ||
321 | 321 |