Subversion Repositories HelenOS

Rev

Rev 125 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 125 Rev 184
Line 194... Line 194...
194
        t->ustack = (__u8 *) frame_us;
194
        t->ustack = (__u8 *) frame_us;
195
       
195
       
196
       
196
       
197
        context_save(&t->saved_context);
197
        context_save(&t->saved_context);
198
        context_set(&t->saved_context, FADDR(cushion), t->kstack, THREAD_STACK_SIZE);
198
        context_set(&t->saved_context, FADDR(cushion), t->kstack, THREAD_STACK_SIZE);
-
 
199
       
-
 
200
        the_initialize((the_t *) t->kstack);
199
 
201
 
200
        pri = cpu_priority_high();
202
        pri = cpu_priority_high();
201
        t->saved_context.pri = cpu_priority_read();
203
        t->saved_context.pri = cpu_priority_read();
202
        cpu_priority_restore(pri);
204
        cpu_priority_restore(pri);
203
       
205