Subversion Repositories HelenOS-historic

Rev

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

Rev 22 Rev 52
Line 52... Line 52...
52
 */
52
 */
53
 
53
 
54
spinlock_t nrdylock;
54
spinlock_t nrdylock;
55
volatile int nrdy;
55
volatile int nrdy;
56
 
56
 
-
 
57
void before_thread_runs(void)
-
 
58
{
-
 
59
    before_thread_runs_arch();
-
 
60
    fpu_context_restore();
-
 
61
}
-
 
62
 
-
 
63
 
57
void scheduler_init(void)
64
void scheduler_init(void)
58
{
65
{
59
    spinlock_initialize(&nrdylock);
66
    spinlock_initialize(&nrdylock);
60
}
67
}
61
 
68