Home
last modified time | relevance | path

Searched refs:usr_regs (Results 1 – 8 of 8) sorted by relevance

/Linux-v4.19/arch/arm/kvm/hyp/
Dbanked-sr.c31 ctxt->gp_regs.usr_regs.ARM_sp = read_special(SP_usr); in __banked_save_state()
32 ctxt->gp_regs.usr_regs.ARM_pc = read_special(ELR_hyp); in __banked_save_state()
33 ctxt->gp_regs.usr_regs.ARM_cpsr = read_special(SPSR); in __banked_save_state()
58 write_special(ctxt->gp_regs.usr_regs.ARM_sp, SP_usr); in __banked_restore_state()
59 write_special(ctxt->gp_regs.usr_regs.ARM_pc, ELR_hyp); in __banked_restore_state()
60 write_special(ctxt->gp_regs.usr_regs.ARM_cpsr, SPSR_cxsf); in __banked_restore_state()
/Linux-v4.19/arch/arm/include/asm/
Dkvm_emulate.h127 return &vcpu->arch.ctxt.gp_regs.usr_regs.ARM_pc; in vcpu_pc()
132 return (unsigned long *)&vcpu->arch.ctxt.gp_regs.usr_regs.ARM_cpsr; in vcpu_cpsr()
142 unsigned long cpsr_mode = vcpu->arch.ctxt.gp_regs.usr_regs.ARM_cpsr & MODE_MASK; in mode_has_spsr()
148 unsigned long cpsr_mode = vcpu->arch.ctxt.gp_regs.usr_regs.ARM_cpsr & MODE_MASK; in vcpu_mode_priv()
/Linux-v4.19/arch/arm/kvm/
Dreset.c37 .usr_regs.ARM_cpsr = SVC_MODE | PSR_A_BIT | PSR_I_BIT | PSR_F_BIT,
Demulate.c38 #define USR_REG_OFFSET(_num) REG_OFFSET(usr_regs.uregs[_num])
Dguest.c89 if (off == KVM_REG_ARM_CORE_REG(usr_regs.ARM_cpsr)) { in set_core_reg()
/Linux-v4.19/arch/arm/include/uapi/asm/
Dkvm.h62 struct pt_regs usr_regs; /* R0_usr - R14_usr, PC, CPSR */ member
/Linux-v4.19/tools/arch/arm/include/uapi/asm/
Dkvm.h62 struct pt_regs usr_regs; /* R0_usr - R14_usr, PC, CPSR */ member
/Linux-v4.19/arch/arm/kernel/
Dasm-offsets.c174 DEFINE(GP_REGS_USR, offsetof(struct kvm_regs, usr_regs)); in main()