Changes in kernel/arch/ia32/src/fpu_context.c [45b4300:193d280c] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ia32/src/fpu_context.c
r45b4300 r193d280c 72 72 asm volatile ( 73 73 "fnsave %[fctx]" 74 : [fctx] "=m" ( *fctx)74 : [fctx] "=m" (fctx->fpu) 75 75 ); 76 76 } … … 80 80 asm volatile ( 81 81 "frstor %[fctx]" 82 : [fctx] "=m" ( *fctx)82 : [fctx] "=m" (fctx->fpu) 83 83 ); 84 84 } … … 88 88 asm volatile ( 89 89 "fxsave %[fctx]" 90 : [fctx] "=m" ( *fctx)90 : [fctx] "=m" (fctx->fpu) 91 91 ); 92 92 } … … 96 96 asm volatile ( 97 97 "fxrstor %[fctx]" 98 : [fctx] "=m" ( *fctx)98 : [fctx] "=m" (fctx->fpu) 99 99 ); 100 100 } … … 125 125 126 126 /** Initialize x87 FPU. Mask all exceptions. */ 127 void fpu_init( )127 void fpu_init(void) 128 128 { 129 129 uint32_t help0 = 0;
Note:
See TracChangeset
for help on using the changeset viewer.