Searched refs:vcpu_cpsr (Results 1 – 10 of 10) sorted by relevance
62 cpsr = *vcpu_cpsr(vcpu); in kvm_condition_valid32()99 unsigned long cpsr = *vcpu_cpsr(vcpu); in kvm_adjust_itstate()119 *vcpu_cpsr(vcpu) = cpsr; in kvm_adjust_itstate()130 is_thumb = !!(*vcpu_cpsr(vcpu) & PSR_AA32_T_BIT); in kvm_skip_instr32()
36 switch (*vcpu_cpsr(vcpu) & (PSR_MODE_MASK | PSR_MODE32_BIT)) { in get_except_vector()55 unsigned long cpsr = *vcpu_cpsr(vcpu); in inject_abt64()62 *vcpu_cpsr(vcpu) = PSTATE_FAULT_BITS_64; in inject_abt64()91 unsigned long cpsr = *vcpu_cpsr(vcpu); in inject_undef64()97 *vcpu_cpsr(vcpu) = PSTATE_FAULT_BITS_64; in inject_undef64()
148 *vcpu_cpsr(vcpu) |= DBG_SPSR_SS; in kvm_arm_setup_debug()158 trace_kvm_arm_set_dreg32("SPSR_EL2", *vcpu_cpsr(vcpu)); in kvm_arm_setup_debug()
104 unsigned long mode = *vcpu_cpsr(vcpu) & PSR_AA32_MODE_MASK; in vcpu_reg32()135 unsigned long mode = *vcpu_cpsr(vcpu) & PSR_AA32_MODE_MASK; in vcpu_spsr32_mode()
2102 cp, *vcpu_pc(vcpu), *vcpu_cpsr(vcpu)); in unhandled_cp_access()2253 *vcpu_pc(vcpu), *vcpu_cpsr(vcpu)); in emulate_sys_reg()
142 static inline unsigned long *vcpu_cpsr(const struct kvm_vcpu *vcpu) in vcpu_cpsr() function149 return !!(*vcpu_cpsr(vcpu) & PSR_MODE32_BIT); in vcpu_mode_is_32bit()162 *vcpu_cpsr(vcpu) |= PSR_AA32_T_BIT; in vcpu_set_thumb()212 mode = *vcpu_cpsr(vcpu) & PSR_AA32_MODE_MASK; in vcpu_mode_priv()216 mode = *vcpu_cpsr(vcpu) & PSR_MODE_MASK; in vcpu_mode_priv()373 *vcpu_cpsr(vcpu) |= PSR_AA32_E_BIT; in kvm_vcpu_set_be()384 return !!(*vcpu_cpsr(vcpu) & PSR_AA32_E_BIT); in kvm_vcpu_is_be()459 *vcpu_cpsr(vcpu) &= ~DBG_SPSR_SS; in kvm_skip_instr()
118 static inline unsigned long *vcpu_cpsr(const struct kvm_vcpu *vcpu) in vcpu_cpsr() function125 *vcpu_cpsr(vcpu) |= PSR_T_BIT; in vcpu_set_thumb()286 *vcpu_cpsr(vcpu) |= PSR_E_BIT; in kvm_vcpu_set_be()291 return !!(*vcpu_cpsr(vcpu) & PSR_E_BIT); in kvm_vcpu_is_be()
34 unsigned long new_spsr_value = *vcpu_cpsr(vcpu); in prepare_fault32()46 *vcpu_cpsr(vcpu) = cpsr; in prepare_fault32()
104 unsigned long mode = *vcpu_cpsr(vcpu) & MODE_MASK; in vcpu_reg()135 unsigned long mode = *vcpu_cpsr(vcpu) & MODE_MASK; in __vcpu_spsr()
599 *vcpu_pc(vcpu), *vcpu_cpsr(vcpu)); in emulate_cp15()