Home
last modified time | relevance | path

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

/arch/arm64/include/asm/
Dkvm_emulate.h118 return (unsigned long *)&vcpu_gp_regs(vcpu)->regs.pc; in vcpu_pc()
123 return (unsigned long *)&vcpu_gp_regs(vcpu)->elr_el1; in __vcpu_elr_el1()
144 return (unsigned long *)&vcpu_gp_regs(vcpu)->regs.pstate; in vcpu_cpsr()
173 return (reg_num == 31) ? 0 : vcpu_gp_regs(vcpu)->regs.regs[reg_num]; in vcpu_get_reg()
180 vcpu_gp_regs(vcpu)->regs.regs[reg_num] = val; in vcpu_set_reg()
191 return vcpu_gp_regs(vcpu)->spsr[KVM_SPSR_EL1]; in vcpu_read_spsr()
204 vcpu_gp_regs(vcpu)->spsr[KVM_SPSR_EL1] = v; in vcpu_write_spsr()
Dkvm_host.h378 #define vcpu_gp_regs(v) (&(v)->arch.ctxt.gp_regs) macro
/arch/arm64/kvm/
Dregmap.c151 return vcpu_gp_regs(vcpu)->spsr[spsr_idx]; in vcpu_read_spsr32()
174 vcpu_gp_regs(vcpu)->spsr[spsr_idx] = v; in vcpu_write_spsr32()
Dreset.c302 memcpy(vcpu_gp_regs(vcpu), cpu_reset, sizeof(*cpu_reset)); in kvm_reset_vcpu()
Dguest.c131 struct kvm_regs *regs = vcpu_gp_regs(vcpu); in get_core_reg()
153 struct kvm_regs *regs = vcpu_gp_regs(vcpu); in set_core_reg()