Home | History | Annotate | Line # | Download | only in include
fpu.h revision 1.1
      1 /*	$NetBSD: fpu.h,v 1.1 2014/02/11 20:17:16 dsl Exp $	*/
      2 
      3 #ifndef	_AMD64_FPU_H_
      4 #define	_AMD64_FPU_H_
      5 
      6 #include <x86/cpu_extended_state.h>
      7 
      8 #ifdef _KERNEL
      9 /*
     10  * XXX
     11  */
     12 struct trapframe;
     13 struct cpu_info;
     14 
     15 void fpuinit(struct cpu_info *);
     16 void fpudrop(void);
     17 void fpusave(struct lwp *);
     18 void fpudiscard(struct lwp *);
     19 void fputrap(struct trapframe *);
     20 void fpusave_lwp(struct lwp *, bool);
     21 void fpusave_cpu(bool);
     22 
     23 #endif
     24 
     25 #endif /* _AMD64_FPU_H_ */
     26