• Home
  • Raw
  • Download

Lines Matching refs:fxsave

2529 			&vcpu->arch.guest_fpu.state->fxsave,  in kvm_vcpu_ioctl_x86_get_xsave()
2548 memcpy(&vcpu->arch.guest_fpu.state->fxsave, in kvm_vcpu_ioctl_x86_set_xsave()
5841 struct i387_fxsave_struct *fxsave = in kvm_arch_vcpu_ioctl_get_fpu() local
5842 &vcpu->arch.guest_fpu.state->fxsave; in kvm_arch_vcpu_ioctl_get_fpu()
5844 memcpy(fpu->fpr, fxsave->st_space, 128); in kvm_arch_vcpu_ioctl_get_fpu()
5845 fpu->fcw = fxsave->cwd; in kvm_arch_vcpu_ioctl_get_fpu()
5846 fpu->fsw = fxsave->swd; in kvm_arch_vcpu_ioctl_get_fpu()
5847 fpu->ftwx = fxsave->twd; in kvm_arch_vcpu_ioctl_get_fpu()
5848 fpu->last_opcode = fxsave->fop; in kvm_arch_vcpu_ioctl_get_fpu()
5849 fpu->last_ip = fxsave->rip; in kvm_arch_vcpu_ioctl_get_fpu()
5850 fpu->last_dp = fxsave->rdp; in kvm_arch_vcpu_ioctl_get_fpu()
5851 memcpy(fpu->xmm, fxsave->xmm_space, sizeof fxsave->xmm_space); in kvm_arch_vcpu_ioctl_get_fpu()
5858 struct i387_fxsave_struct *fxsave = in kvm_arch_vcpu_ioctl_set_fpu() local
5859 &vcpu->arch.guest_fpu.state->fxsave; in kvm_arch_vcpu_ioctl_set_fpu()
5861 memcpy(fxsave->st_space, fpu->fpr, 128); in kvm_arch_vcpu_ioctl_set_fpu()
5862 fxsave->cwd = fpu->fcw; in kvm_arch_vcpu_ioctl_set_fpu()
5863 fxsave->swd = fpu->fsw; in kvm_arch_vcpu_ioctl_set_fpu()
5864 fxsave->twd = fpu->ftwx; in kvm_arch_vcpu_ioctl_set_fpu()
5865 fxsave->fop = fpu->last_opcode; in kvm_arch_vcpu_ioctl_set_fpu()
5866 fxsave->rip = fpu->last_ip; in kvm_arch_vcpu_ioctl_set_fpu()
5867 fxsave->rdp = fpu->last_dp; in kvm_arch_vcpu_ioctl_set_fpu()
5868 memcpy(fxsave->xmm_space, fpu->xmm, sizeof fxsave->xmm_space); in kvm_arch_vcpu_ioctl_set_fpu()