Home
last modified time | relevance | path

Searched refs:KVM_REG_RISCV_CORE_REG (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/tools/testing/selftests/kvm/riscv/
H A Dget-reg-list.c150 case KVM_REG_RISCV_CORE_REG(regs.pc): in core_id_to_str()
152 case KVM_REG_RISCV_CORE_REG(regs.ra): in core_id_to_str()
154 case KVM_REG_RISCV_CORE_REG(regs.sp): in core_id_to_str()
156 case KVM_REG_RISCV_CORE_REG(regs.gp): in core_id_to_str()
158 case KVM_REG_RISCV_CORE_REG(regs.tp): in core_id_to_str()
160 case KVM_REG_RISCV_CORE_REG(regs.t0) ... KVM_REG_RISCV_CORE_REG(regs.t2): in core_id_to_str()
163 case KVM_REG_RISCV_CORE_REG(regs.s0) ... KVM_REG_RISCV_CORE_REG(regs.s1): in core_id_to_str()
166 case KVM_REG_RISCV_CORE_REG(regs.a0) ... KVM_REG_RISCV_CORE_REG(regs.a7): in core_id_to_str()
169 case KVM_REG_RISCV_CORE_REG(regs.s2) ... KVM_REG_RISCV_CORE_REG(regs.s11): in core_id_to_str()
172 case KVM_REG_RISCV_CORE_REG(regs.t3) ... KVM_REG_RISCV_CORE_REG(regs.t6): in core_id_to_str()
[all …]
/openbmc/linux/arch/riscv/kvm/
H A Dvcpu_onereg.c288 if (reg_num == KVM_REG_RISCV_CORE_REG(regs.pc)) in kvm_riscv_vcpu_get_reg_core()
290 else if (KVM_REG_RISCV_CORE_REG(regs.pc) < reg_num && in kvm_riscv_vcpu_get_reg_core()
291 reg_num <= KVM_REG_RISCV_CORE_REG(regs.t6)) in kvm_riscv_vcpu_get_reg_core()
293 else if (reg_num == KVM_REG_RISCV_CORE_REG(mode)) in kvm_riscv_vcpu_get_reg_core()
324 if (reg_num == KVM_REG_RISCV_CORE_REG(regs.pc)) in kvm_riscv_vcpu_set_reg_core()
326 else if (KVM_REG_RISCV_CORE_REG(regs.pc) < reg_num && in kvm_riscv_vcpu_set_reg_core()
327 reg_num <= KVM_REG_RISCV_CORE_REG(regs.t6)) in kvm_riscv_vcpu_set_reg_core()
329 else if (reg_num == KVM_REG_RISCV_CORE_REG(mode)) { in kvm_riscv_vcpu_set_reg_core()
/openbmc/linux/tools/testing/selftests/kvm/include/riscv/
H A Dprocessor.h30 KVM_REG_RISCV_CORE_REG(name), \
/openbmc/linux/arch/riscv/include/uapi/asm/
H A Dkvm.h174 #define KVM_REG_RISCV_CORE_REG(name) \ macro
/openbmc/qemu/linux-headers/asm-riscv/
H A Dkvm.h219 #define KVM_REG_RISCV_CORE_REG(name) \ macro
/openbmc/qemu/target/riscv/kvm/
H A Dkvm-cpu.c112 KVM_REG_RISCV_CORE_REG(name))