Changeset 79f1f38f in mainline for arch/ia32/src/fpu_context.c


Ignore:
Timestamp:
2005-05-09T00:35:09Z (20 years ago)
Author:
Jakub Vana <jakub.vana@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
9db5b66
Parents:
9c926f3
Message:

Functions for switching TS flag.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/ia32/src/fpu_context.c

    r9c926f3 r79f1f38f  
    3030
    3131#include <fpu_context.h>
     32#include <arch.h>
     33#include <cpu.h>
     34
    3235
    3336void fpu_context_save(fpu_context_t *fctx)
     
    3841void fpu_context_restore(fpu_context_t *fctx)
    3942{
     43        if(THREAD==CPU->arch.fpu_owner) reset_TS_flag();
     44        else set_TS_flag();
    4045}
    4146
Note: See TracChangeset for help on using the changeset viewer.