Subversion Repositories HelenOS-historic

Rev

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

Rev 282 Rev 296
Line 37... Line 37...
37
 
37
 
38
void fpu_context_restore(fpu_context_t *fctx)
38
void fpu_context_restore(fpu_context_t *fctx)
39
{
39
{
40
    if(THREAD==CPU->fpu_owner)
40
    if(THREAD==CPU->fpu_owner)
41
        reset_TS_flag();
41
        reset_TS_flag();
42
    else {
42
    else
43
        set_TS_flag();
43
        set_TS_flag();
44
        if (CPU->fpu_owner != NULL)
-
 
45
            CPU->fpu_owner->fpu_context_engaged=1;
-
 
46
    }
-
 
47
}
44
}
48
 
45
 
49
 
46
 
50
void fpu_lazy_context_save(fpu_context_t *fctx)
47
void fpu_lazy_context_save(fpu_context_t *fctx)
51
{
48
{