Home
last modified time | relevance | path

Searched refs:fx_sw (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/arch/x86/kernel/fpu/
H A Dsignal.c28 struct _fpx_sw_bytes *fx_sw) in check_xstate_in_sigframe() argument
35 if (__copy_from_user(fx_sw, &fxbuf->sw_reserved[0], sizeof(*fx_sw))) in check_xstate_in_sigframe()
39 if (fx_sw->magic1 != FP_XSTATE_MAGIC1 || in check_xstate_in_sigframe()
40 fx_sw->xstate_size < min_xstate_size || in check_xstate_in_sigframe()
41 fx_sw->xstate_size > current->thread.fpu.fpstate->user_size || in check_xstate_in_sigframe()
42 fx_sw->xstate_size > fx_sw->extended_size) in check_xstate_in_sigframe()
51 if (__get_user(magic2, (__u32 __user *)(fpstate + fx_sw->xstate_size))) in check_xstate_in_sigframe()
60 fx_sw->magic1 = 0; in check_xstate_in_sigframe()
61 fx_sw->xstate_size = sizeof(struct fxregs_state); in check_xstate_in_sigframe()
62 fx_sw->xfeatures = XFEATURE_MASK_FPSSE; in check_xstate_in_sigframe()
/openbmc/qemu/target/i386/nvmm/
H A Dnvmm-all.c149 state->fpu.fx_sw = (env->fpus & ~0x3800) | ((env->fpstt & 0x7) << 11); in nvmm_set_registers()
305 env->fpstt = (state->fpu.fx_sw >> 11) & 0x7; in nvmm_get_registers()
306 env->fpus = state->fpu.fx_sw & ~0x3800; in nvmm_get_registers()