Changeset 24c394b in mainline
- Timestamp:
- 2014-09-09T18:32:24Z (10 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 15b6715
- Parents:
- 5301662
- Location:
- kernel/arch
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/amd64/src/fpu_context.c
r5301662 r24c394b 41 41 asm volatile ( 42 42 "fxsave %[fctx]\n" 43 : [fctx] "=m" ( *fctx)43 : [fctx] "=m" (fctx->fpu) 44 44 ); 45 45 } … … 50 50 asm volatile ( 51 51 "fxrstor %[fctx]\n" 52 : [fctx] "=m" ( *fctx)52 : [fctx] "=m" (fctx->fpu) 53 53 ); 54 54 } -
kernel/arch/ia32/src/fpu_context.c
r5301662 r24c394b 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 }
Note:
See TracChangeset
for help on using the changeset viewer.