Subversion Repositories HelenOS-historic

Rev

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

Rev 84 Rev 90
Line 99... Line 99...
99
 
99
 
100
//  printf("-1\n");        
100
//  printf("-1\n");        
101
    reset_TS_flag();
101
    reset_TS_flag();
102
        if ((CPU->fpu_owner)!=NULL)
102
        if ((CPU->fpu_owner)!=NULL)
103
    {  
103
    {  
-
 
104
//      printf("tid:%d \n", THREAD->tid);
104
//          printf("owner %X\n",(int)(&((CPU->fpu_owner)->saved_fpu_context)));        
105
//      printf("owner:%d\n", (CPU->fpu_owner)->tid);
105
            fpu_lazy_context_save(&((CPU->fpu_owner)->saved_fpu_context));
106
            fpu_lazy_context_save(&((CPU->fpu_owner)->saved_fpu_context));
106
 
107
 
107
//          printf("owner 2\n");
108
//          printf("owner 2\n");
108
        (CPU->fpu_owner)->fpu_context_engaged=0; /* Enables migration */
109
        (CPU->fpu_owner)->fpu_context_engaged=0; /* Enables migration */
109
//          printf("owner 3\n");        
110
//          printf("owner 3\n");