Rev 3742 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3742 | Rev 3770 | ||
---|---|---|---|
Line 171... | Line 171... | ||
171 | ballocs.size, PAGE_SIZE); |
171 | ballocs.size, PAGE_SIZE); |
172 | } |
172 | } |
173 | 173 | ||
174 | if (config.stack_base < stack_safe) |
174 | if (config.stack_base < stack_safe) |
175 | config.stack_base = ALIGN_UP(stack_safe, PAGE_SIZE); |
175 | config.stack_base = ALIGN_UP(stack_safe, PAGE_SIZE); |
176 | 176 | ||
177 | context_save(&ctx); |
177 | context_save(&ctx); |
178 | context_set(&ctx, FADDR(main_bsp_separated_stack), config.stack_base, |
178 | context_set(&ctx, FADDR(main_bsp_separated_stack), config.stack_base, |
179 | THREAD_STACK_SIZE); |
179 | THREAD_STACK_SIZE); |
180 | context_restore(&ctx); |
180 | context_restore(&ctx); |
181 | /* not reached */ |
181 | /* not reached */ |