Home
last modified time | relevance | path

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

/arch/x86/kvm/
Dkvm_cache_regs.h83 return (kvm_register_read(vcpu, VCPU_REGS_RAX) & -1u) in kvm_read_edx_eax()
Demulate.c1835 int reg = VCPU_REGS_RAX; in em_pusha()
1862 while (reg >= VCPU_REGS_RAX) { in em_popa()
2083 if (((u32) (old >> 0) != (u32) reg_read(ctxt, VCPU_REGS_RAX)) || in em_cmpxchg8b()
2085 *reg_write(ctxt, VCPU_REGS_RAX) = (u32) (old >> 0); in em_cmpxchg8b()
2158 ctxt->dst.val = reg_read(ctxt, VCPU_REGS_RAX); in em_cmpxchg()
2169 ctxt->dst.addr.reg = reg_rmw(ctxt, VCPU_REGS_RAX); in em_cmpxchg()
2506 tss->ax = reg_read(ctxt, VCPU_REGS_RAX); in save_state_to_tss16()
2530 *reg_write(ctxt, VCPU_REGS_RAX) = tss->ax; in load_state_from_tss16()
2629 tss->eax = reg_read(ctxt, VCPU_REGS_RAX); in save_state_to_tss32()
2658 *reg_write(ctxt, VCPU_REGS_RAX) = tss->eax; in load_state_from_tss32()
[all …]
Dcpuid.c807 function = eax = kvm_register_read(vcpu, VCPU_REGS_RAX); in kvm_emulate_cpuid()
810 kvm_register_write(vcpu, VCPU_REGS_RAX, eax); in kvm_emulate_cpuid()
Dsvm.c2421 kvm_register_write(&svm->vcpu, VCPU_REGS_RAX, hsave->save.rax); in nested_svm_vmexit()
2582 kvm_register_write(&svm->vcpu, VCPU_REGS_RAX, nested_vmcb->save.rax); in nested_svm_vmrun()
2770 vcpu->arch.regs[VCPU_REGS_RAX]); in invlpga_interception()
2773 kvm_mmu_invlpg(vcpu, vcpu->arch.regs[VCPU_REGS_RAX]); in invlpga_interception()
2782 trace_kvm_skinit(svm->vmcb->save.rip, svm->vcpu.arch.regs[VCPU_REGS_RAX]); in skinit_interception()
3152 svm->vcpu.arch.regs[VCPU_REGS_RAX] = data & 0xffffffff; in rdmsr_interception()
3264 u64 data = (svm->vcpu.arch.regs[VCPU_REGS_RAX] & -1u) in wrmsr_interception()
3884 svm->vmcb->save.rax = vcpu->arch.regs[VCPU_REGS_RAX]; in svm_vcpu_run()
4011 vcpu->arch.regs[VCPU_REGS_RAX] = svm->vmcb->save.rax; in svm_vcpu_run()
Dx86.c896 kvm_register_write(vcpu, VCPU_REGS_RAX, (u32)data); in kvm_rdpmc()
5463 unsigned long val = kvm_register_read(vcpu, VCPU_REGS_RAX); in kvm_fast_pio_out()
5857 (kvm_register_read(vcpu, VCPU_REGS_RAX) & 0xffffffff); in kvm_hv_hypercall()
5889 kvm_register_write(vcpu, VCPU_REGS_RAX, ret); in kvm_hv_hypercall()
5892 kvm_register_write(vcpu, VCPU_REGS_RAX, ret & 0xffffffff); in kvm_hv_hypercall()
5923 nr = kvm_register_read(vcpu, VCPU_REGS_RAX); in kvm_emulate_hypercall()
5960 kvm_register_write(vcpu, VCPU_REGS_RAX, ret); in kvm_emulate_hypercall()
6597 regs->rax = kvm_register_read(vcpu, VCPU_REGS_RAX); in kvm_arch_vcpu_ioctl_get_regs()
6627 kvm_register_write(vcpu, VCPU_REGS_RAX, regs->rax); in kvm_arch_vcpu_ioctl_set_regs()
Dvmx.c5304 vcpu->arch.regs[VCPU_REGS_RAX] = data & -1u; in handle_rdmsr()
5314 u64 data = (vcpu->arch.regs[VCPU_REGS_RAX] & -1u) in handle_wrmsr()
7698 [rax]"i"(offsetof(struct vcpu_vmx, vcpu.arch.regs[VCPU_REGS_RAX])), in vmx_vcpu_run()
/arch/x86/include/asm/
Dkvm_host.h103 VCPU_REGS_RAX = 0, enumerator