Changeset 45b4300 in mainline for kernel/arch/ia32/src/fpu_context.c
- Timestamp:
- 2013-05-30T22:00:56Z (11 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 2b903ca
- Parents:
- 95e370f8
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ia32/src/fpu_context.c
r95e370f8 r45b4300 27 27 */ 28 28 29 /** @addtogroup ia32 29 /** @addtogroup ia32 30 30 * @{ 31 31 */ … … 37 37 #include <arch.h> 38 38 #include <cpu.h> 39 40 39 41 40 /** x87 FPU scr values (P3+ MMX2) */ … … 60 59 X87_DENORMAL_EXC_FLAG = (1 << 1), 61 60 X87_INVALID_OP_EXC_FLAG = (1 << 0), 62 61 63 62 X87_ALL_MASK = X87_PRECISION_MASK | X87_UNDERFLOW_MASK | X87_OVERFLOW_MASK | X87_ZERO_DIV_MASK | X87_DENORMAL_OP_MASK | X87_INVALID_OP_MASK, 64 63 }; 65 64 66 67 65 typedef void (*fpu_context_function)(fpu_context_t *fctx); 68 66 69 static fpu_context_function fpu_save, fpu_restore; 67 static fpu_context_function fpu_save; 68 static fpu_context_function fpu_restore; 70 69 71 70 static void fpu_context_f_save(fpu_context_t *fctx) … … 104 103 void fpu_fxsr(void) 105 104 { 106 fpu_save =fpu_context_fx_save;107 fpu_restore =fpu_context_fx_restore;105 fpu_save = fpu_context_fx_save; 106 fpu_restore = fpu_context_fx_restore; 108 107 } 109 108
Note:
See TracChangeset
for help on using the changeset viewer.