Changes in kernel/arch/ia32/src/fpu_context.c [45b4300:3194d83] in mainline
- File:
-
- 1 edited
-
kernel/arch/ia32/src/fpu_context.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ia32/src/fpu_context.c
r45b4300 r3194d83 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 39 40 40 41 /** x87 FPU scr values (P3+ MMX2) */ … … 59 60 X87_DENORMAL_EXC_FLAG = (1 << 1), 60 61 X87_INVALID_OP_EXC_FLAG = (1 << 0), 61 62 62 63 X87_ALL_MASK = X87_PRECISION_MASK | X87_UNDERFLOW_MASK | X87_OVERFLOW_MASK | X87_ZERO_DIV_MASK | X87_DENORMAL_OP_MASK | X87_INVALID_OP_MASK, 63 64 }; 64 65 66 65 67 typedef void (*fpu_context_function)(fpu_context_t *fctx); 66 68 67 static fpu_context_function fpu_save; 68 static fpu_context_function fpu_restore; 69 static fpu_context_function fpu_save, fpu_restore; 69 70 70 71 static void fpu_context_f_save(fpu_context_t *fctx) … … 103 104 void fpu_fxsr(void) 104 105 { 105 fpu_save =fpu_context_fx_save;106 fpu_restore =fpu_context_fx_restore;106 fpu_save=fpu_context_fx_save; 107 fpu_restore=fpu_context_fx_restore; 107 108 } 108 109
Note:
See TracChangeset
for help on using the changeset viewer.
