Changeset e7b7be3f in mainline for kernel/arch/amd64/src/fpu_context.c
- Timestamp:
- 2007-01-22T13:10:08Z (18 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 0f3fc9b
- Parents:
- 62c63fc
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/amd64/src/fpu_context.c
r62c63fc re7b7be3f 41 41 void fpu_context_save(fpu_context_t *fctx) 42 42 { 43 __asm__volatile (43 asm volatile ( 44 44 "fxsave %0" 45 45 : "=m"(*fctx) … … 50 50 void fpu_context_restore(fpu_context_t *fctx) 51 51 { 52 __asm__volatile (52 asm volatile ( 53 53 "fxrstor %0" 54 54 : "=m"(*fctx) … … 59 59 { 60 60 /* TODO: Zero all SSE, MMX etc. registers */ 61 __asm__volatile (61 asm volatile ( 62 62 "fninit;" 63 63 );
Note:
See TracChangeset
for help on using the changeset viewer.