Changeset 9c926f3 in mainline for src


Ignore:
Timestamp:
2005-05-08T23:47:00Z (20 years ago)
Author:
Jakub Vana <jakub.vana@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
79f1f38f
Parents:
0c47db1
Message:

Begin support for FPU context switching on platforms which can't do it in lazy way.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/proc/scheduler.c

    r0c47db1 r9c926f3  
    5858{
    5959        before_thread_runs_arch();
    60         fpu_context_restore();
     60        fpu_context_restore(&(THREAD->saved_fpu_context));
    6161}
    6262
     
    205205        if (THREAD) {
    206206                spinlock_lock(&THREAD->lock);
     207                fpu_context_save(&(THREAD->saved_fpu_context));
    207208                if (!context_save(&THREAD->saved_context)) {
    208209                        /*
Note: See TracChangeset for help on using the changeset viewer.