Searched refs:vcpu_gp_regs (Results 1 – 5 of 5) sorted by relevance
36 vcpu_gp_regs(vcpu)->pstate = read_sysreg_el2(SYS_SPSR); in __kvm_skip_instr()40 write_sysreg_el2(vcpu_gp_regs(vcpu)->pstate, SYS_SPSR); in __kvm_skip_instr()
142 return (unsigned long *)&vcpu_gp_regs(vcpu)->pc; in vcpu_pc()147 return (unsigned long *)&vcpu_gp_regs(vcpu)->pstate; in vcpu_cpsr()176 return (reg_num == 31) ? 0 : vcpu_gp_regs(vcpu)->regs[reg_num]; in vcpu_get_reg()183 vcpu_gp_regs(vcpu)->regs[reg_num] = val; in vcpu_set_reg()
589 #define vcpu_gp_regs(v) (&(v)->arch.ctxt.regs) macro
309 memset(vcpu_gp_regs(vcpu), 0, sizeof(*vcpu_gp_regs(vcpu))); in kvm_reset_vcpu()315 vcpu_gp_regs(vcpu)->pstate = pstate; in kvm_reset_vcpu()
286 vcpu_gp_regs(vcpu)->compat_lr_abt = return_address; in enter_exception32()291 vcpu_gp_regs(vcpu)->compat_lr_und = return_address; in enter_exception32()