Home
last modified time | relevance | path

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

/arch/x86/kvm/
Demulate.c4088 struct fxregs_state fx_state; in em_fxsave() local
4097 rc = asm_safe("fxsave %[fx]", , [fx] "+m"(fx_state)); in em_fxsave()
4104 return segmented_write_std(ctxt, ctxt->memop.addr.mem, &fx_state, in em_fxsave()
4115 static noinline int fxregs_fixup(struct fxregs_state *fx_state, in fxregs_fixup() argument
4122 memcpy((void *)fx_state + used_size, (void *)&fx_tmp + used_size, in fxregs_fixup()
4130 struct fxregs_state fx_state; in em_fxrstor() local
4139 rc = segmented_read_std(ctxt, ctxt->memop.addr.mem, &fx_state, size); in em_fxrstor()
4146 rc = fxregs_fixup(&fx_state, size); in em_fxrstor()
4151 if (fx_state.mxcsr >> 16) { in em_fxrstor()
4157 rc = asm_safe("fxrstor %[fx]", : [fx] "m"(fx_state)); in em_fxrstor()