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 */
12struct trapframe;
13struct cpu_info;
14
15void fpuinit(struct cpu_info *);
16void fpudrop(void);
17void fpusave(struct lwp *);
18void fpudiscard(struct lwp *);
19void fputrap(struct trapframe *);
20void fpusave_lwp(struct lwp *, bool);
21void fpusave_cpu(bool);
22
23#endif
24
25#endif /* _AMD64_FPU_H_ */
26