Changeset 278
- Timestamp:
- Jul 26, 2017, 3:42:47 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/kern/scheduler.c
r101 r278 277 277 if( current->type != THREAD_USER ) return; 278 278 279 if( current == core->fpu_owner )hal_fpu_enable();280 else 279 if( next == core->fpu_owner ) hal_fpu_enable(); 280 else hal_fpu_disable(); 281 281 282 282 } // end sched_yield()
Note: See TracChangeset
for help on using the changeset viewer.