/linux-2.4.37.9/arch/i386/kernel/ |
D | i387.c | 49 memcpy(&tsk->thread.i387, &empty_fpu_state, sizeof(union i387_union)); in load_empty_fpu() 75 : "=m" (tsk->thread.i387.fxsave) ); in __save_init_fpu() 76 if (tsk->thread.i387.fxsave.swd & (1<<7)) in __save_init_fpu() 82 : "=m" (tsk->thread.i387.fsave) ); in __save_init_fpu() 108 : : "m" (tsk->thread.i387.fxsave) ); in restore_fpu() 111 : : "m" (tsk->thread.i387.fsave) ); in restore_fpu() 186 return tsk->thread.i387.fxsave.cwd; in get_fpu_cwd() 188 return (unsigned short)tsk->thread.i387.fsave.cwd; in get_fpu_cwd() 195 return tsk->thread.i387.fxsave.swd; in get_fpu_swd() 197 return (unsigned short)tsk->thread.i387.fsave.swd; in get_fpu_swd() [all …]
|
D | process.c | 569 struct_cpy(&p->thread.i387, ¤t->thread.i387); in copy_thread() 613 dump->u_fpvalid = dump_fpu (regs, &dump->i387); in dump_thread()
|
D | Makefile | 21 pci-dma.o i386_ksyms.o i387.o bluesmoke.o dmi_scan.o
|
/linux-2.4.37.9/include/asm-x86_64/ |
D | i387.h | 65 #define get_fpu_mxcsr(t) ((t)->thread.i387.fxsave.mxcsr) 66 #define get_fpu_cwd(t) ((t)->thread.i387.fxsave.cwd) 67 #define get_fpu_fxsr_twd(t) ((t)->thread.i387.fxsave.twd) 68 #define get_fpu_swd(t) ((t)->thread.i387.fxsave.swd) 69 #define set_fpu_cwd(t,val) ((t)->thread.i387.fxsave.cwd = (val)) 70 #define set_fpu_swd(t,val) ((t)->thread.i387.fxsave.swd = (val)) 71 #define set_fpu_fxsr_twd(t,val) ((t)->thread.i387.fxsave.twd = (val)) 72 #define set_fpu_mxcsr(t,val) ((t)->thread.i387.fxsave.mxcsr = (val)&0xffbf) 119 : "=m" (tsk->thread.i387.fxsave)); in kernel_fpu_begin() 129 : "=m" (tsk->thread.i387.fxsave)); in save_init_fpu() [all …]
|
D | bugs.h | 22 if (offsetof(struct task_struct, thread.i387.fxsave) & 15) in check_fpu()
|
D | user.h | 87 struct user_i387_struct i387; /* Math Co-processor registers. */ member
|
D | user32.h | 48 struct user_i387_ia32_struct i387; /* Math Co-processor registers. */ member
|
D | processor.h | 320 union i387_union i387; member
|
/linux-2.4.37.9/arch/x86_64/kernel/ |
D | i387.c | 34 memset(&child->thread.i387.fxsave, 0, sizeof(struct i387_fxsave_struct)); in init_fpu() 35 child->thread.i387.fxsave.cwd = 0x37f; in init_fpu() 36 child->thread.i387.fxsave.mxcsr = 0x1f80; in init_fpu() 51 if (sizeof(struct user_i387_struct) != sizeof(tsk->thread.i387.fxsave)) in save_i387() 68 if (__copy_to_user(buf, &tsk->thread.i387.fxsave, in save_i387() 82 return __copy_to_user((void *)buf, &tsk->thread.i387.fxsave, in get_fpregs() 88 if (__copy_from_user(&tsk->thread.i387.fxsave, buf, in set_fpregs() 92 tsk->thread.i387.fxsave.mxcsr &= 0xffbf; in set_fpregs() 108 memcpy(fpu, &tsk->thread.i387.fxsave, sizeof(struct user_i387_struct)); in dump_fpu()
|
D | Makefile | 22 pci-dma.o x8664_ksyms.o i387.o syscall.o vsyscall.o \
|
D | process.c | 535 p->thread.i387 = current->thread.i387; in copy_thread()
|
D | traps.c | 825 restore_fpu_checking(&me->thread.i387.fxsave); in math_state_restore()
|
/linux-2.4.37.9/arch/x86_64/ia32/ |
D | fpu32.c | 155 if (__copy_from_user(&tsk->thread.i387.fxsave, in restore_i387_ia32() 159 tsk->thread.i387.fxsave.mxcsr &= 0xffbf; in restore_i387_ia32() 162 return convert_fxsr_from_user(&tsk->thread.i387.fxsave, buf); in restore_i387_ia32() 173 if (convert_fxsr_to_user(buf, &tsk->thread.i387.fxsave, regs, tsk)) in save_i387_ia32() 177 err |= __put_user(tsk->thread.i387.fxsave.swd, &buf->status); in save_i387_ia32() 181 err |= __copy_to_user(&buf->_fxsr_env[0], &tsk->thread.i387.fxsave, in save_i387_ia32()
|
D | ptrace32.c | 327 if (__copy_to_user(u, &child->thread.i387.fxsave, sizeof(*u))) in sys32_ptrace() 340 __copy_from_user(&child->thread.i387.fxsave, u, sizeof(*u)); in sys32_ptrace() 342 child->thread.i387.fxsave.mxcsr &= 0xffbf; in sys32_ptrace()
|
/linux-2.4.37.9/include/asm-i386/ |
D | user.h | 98 struct user_i387_struct i387; /* Math Co-processor registers. */ member
|
D | bugs.h | 82 if (offsetof(struct task_struct, thread.i387.fxsave) & 15) { in check_fpu()
|
D | processor.h | 373 union i387_union i387; member
|
/linux-2.4.37.9/arch/i386/math-emu/ |
D | fpu_system.h | 36 #define I387 (current->thread.i387)
|
/linux-2.4.37.9/arch/cris/kernel/ |
D | process.c | 322 dump->u_fpvalid = dump_fpu (regs, &dump->i387); in dump_thread()
|