Changeset View
Changeset View
Standalone View
Standalone View
head/sys/amd64/include/fpu.h
Show First 20 Lines • Show All 65 Lines • ▼ Show 20 Lines | int fpusetregs(struct thread *td, struct savefpu *addr, | ||||
char *xfpustate, size_t xfpustate_size); | char *xfpustate, size_t xfpustate_size); | ||||
int fpusetxstate(struct thread *td, char *xfpustate, | int fpusetxstate(struct thread *td, char *xfpustate, | ||||
size_t xfpustate_size); | size_t xfpustate_size); | ||||
void fpususpend(void *addr); | void fpususpend(void *addr); | ||||
int fputrap_sse(void); | int fputrap_sse(void); | ||||
int fputrap_x87(void); | int fputrap_x87(void); | ||||
void fpuuserinited(struct thread *td); | void fpuuserinited(struct thread *td); | ||||
struct fpu_kern_ctx *fpu_kern_alloc_ctx(u_int flags); | struct fpu_kern_ctx *fpu_kern_alloc_ctx(u_int flags); | ||||
struct fpu_kern_ctx *fpu_kern_alloc_ctx_domain(int domain, u_int flags); | |||||
void fpu_kern_free_ctx(struct fpu_kern_ctx *ctx); | void fpu_kern_free_ctx(struct fpu_kern_ctx *ctx); | ||||
void fpu_kern_enter(struct thread *td, struct fpu_kern_ctx *ctx, | void fpu_kern_enter(struct thread *td, struct fpu_kern_ctx *ctx, | ||||
u_int flags); | u_int flags); | ||||
int fpu_kern_leave(struct thread *td, struct fpu_kern_ctx *ctx); | int fpu_kern_leave(struct thread *td, struct fpu_kern_ctx *ctx); | ||||
int fpu_kern_thread(u_int flags); | int fpu_kern_thread(u_int flags); | ||||
int is_fpu_kern_thread(u_int flags); | int is_fpu_kern_thread(u_int flags); | ||||
struct savefpu *fpu_save_area_alloc(void); | struct savefpu *fpu_save_area_alloc(void); | ||||
Show All 14 Lines |