Rev 1158 | Rev 1177 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 1158 | Rev 1171 | ||
|---|---|---|---|
| Line 261... | Line 261... | ||
| 261 | ipl_t ipl; |
261 | ipl_t ipl; |
| 262 | 262 | ||
| 263 | t = (thread_t *) slab_alloc(thread_slab, 0); |
263 | t = (thread_t *) slab_alloc(thread_slab, 0); |
| 264 | if (!t) |
264 | if (!t) |
| 265 | return NULL; |
265 | return NULL; |
| - | 266 | ||
| - | 267 | thread_create_arch(t); |
|
| 266 | 268 | ||
| 267 | /* Not needed, but good for debugging */ |
269 | /* Not needed, but good for debugging */ |
| 268 | memsetb((__address)t->kstack, THREAD_STACK_SIZE * 1<<STACK_FRAMES, 0); |
270 | memsetb((__address)t->kstack, THREAD_STACK_SIZE * 1<<STACK_FRAMES, 0); |
| 269 | 271 | ||
| 270 | ipl = interrupts_disable(); |
272 | ipl = interrupts_disable(); |