Home
last modified time | relevance | path

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

/Linux-v4.19/arch/arm64/include/asm/
Dkvm_emulate.h108 return (unsigned long *)&vcpu_gp_regs(vcpu)->regs.pc; in vcpu_pc()
113 return (unsigned long *)&vcpu_gp_regs(vcpu)->elr_el1; in __vcpu_elr_el1()
134 return (unsigned long *)&vcpu_gp_regs(vcpu)->regs.pstate; in vcpu_cpsr()
171 return (reg_num == 31) ? 0 : vcpu_gp_regs(vcpu)->regs.regs[reg_num]; in vcpu_get_reg()
178 vcpu_gp_regs(vcpu)->regs.regs[reg_num] = val; in vcpu_set_reg()
189 return vcpu_gp_regs(vcpu)->spsr[KVM_SPSR_EL1]; in vcpu_read_spsr()
202 vcpu_gp_regs(vcpu)->spsr[KVM_SPSR_EL1] = v; in vcpu_write_spsr()
Dkvm_host.h310 #define vcpu_gp_regs(v) (&(v)->arch.ctxt.gp_regs) macro
/Linux-v4.19/arch/arm64/kvm/
Dregmap.c162 return vcpu_gp_regs(vcpu)->spsr[spsr_idx]; in vcpu_read_spsr32()
185 vcpu_gp_regs(vcpu)->spsr[spsr_idx] = v; in vcpu_write_spsr32()
Dreset.c121 memcpy(vcpu_gp_regs(vcpu), cpu_reset, sizeof(*cpu_reset)); in kvm_reset_vcpu()
Dguest.c108 struct kvm_regs *regs = vcpu_gp_regs(vcpu); in get_core_reg()
130 struct kvm_regs *regs = vcpu_gp_regs(vcpu); in set_core_reg()