Subversion Repositories HelenOS-historic

Rev

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

Rev 534 Rev 897
Line 35... Line 35...
35
void before_thread_runs_arch(void)
35
void before_thread_runs_arch(void)
36
{
36
{
37
    CPU->arch.tss->esp0 = (__address) &THREAD->kstack[THREAD_STACK_SIZE-SP_DELTA];
37
    CPU->arch.tss->esp0 = (__address) &THREAD->kstack[THREAD_STACK_SIZE-SP_DELTA];
38
    CPU->arch.tss->ss0 = selector(KDATA_DES);
38
    CPU->arch.tss->ss0 = selector(KDATA_DES);
39
}
39
}
-
 
40
 
-
 
41
void after_thread_ran_arch(void)
-
 
42
{
-
 
43
}