Subversion Repositories HelenOS-historic

Rev

Rev 1158 | Rev 1177 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1158 Rev 1171
Line 262... Line 262...
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
   
266
 
-
 
267
    thread_create_arch(t);
-
 
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();
271
    spinlock_lock(&tidlock);
273
    spinlock_lock(&tidlock);