Searched refs:KVM_REG_RISCV_CORE (Results 1 – 6 of 6) sorted by relevance
/openbmc/linux/tools/testing/selftests/kvm/riscv/ |
H A D | get-reg-list.c | 147 __u64 reg_off = id & ~(REG_MASK | KVM_REG_RISCV_CORE); in core_id_to_str() 448 case KVM_REG_RISCV_CORE: in print_reg() 492 KVM_REG_RISCV | KVM_REG_SIZE_ULONG | KVM_REG_RISCV_CORE | KVM_REG_RISCV_CORE_REG(regs.pc), 493 KVM_REG_RISCV | KVM_REG_SIZE_ULONG | KVM_REG_RISCV_CORE | KVM_REG_RISCV_CORE_REG(regs.ra), 494 KVM_REG_RISCV | KVM_REG_SIZE_ULONG | KVM_REG_RISCV_CORE | KVM_REG_RISCV_CORE_REG(regs.sp), 495 KVM_REG_RISCV | KVM_REG_SIZE_ULONG | KVM_REG_RISCV_CORE | KVM_REG_RISCV_CORE_REG(regs.gp), 496 KVM_REG_RISCV | KVM_REG_SIZE_ULONG | KVM_REG_RISCV_CORE | KVM_REG_RISCV_CORE_REG(regs.tp), 497 KVM_REG_RISCV | KVM_REG_SIZE_ULONG | KVM_REG_RISCV_CORE | KVM_REG_RISCV_CORE_REG(regs.t0), 498 KVM_REG_RISCV | KVM_REG_SIZE_ULONG | KVM_REG_RISCV_CORE | KVM_REG_RISCV_CORE_REG(regs.t1), 499 KVM_REG_RISCV | KVM_REG_SIZE_ULONG | KVM_REG_RISCV_CORE | KVM_REG_RISCV_CORE_REG(regs.t2), [all …]
|
/openbmc/linux/arch/riscv/kvm/ |
H A D | vcpu_onereg.c | 280 KVM_REG_RISCV_CORE); in kvm_riscv_vcpu_get_reg_core() 313 KVM_REG_RISCV_CORE); in kvm_riscv_vcpu_set_reg_core() 681 u64 reg = KVM_REG_RISCV | size | KVM_REG_RISCV_CORE | i; in copy_core_reg_indices() 1000 case KVM_REG_RISCV_CORE: in kvm_riscv_vcpu_set_reg() 1031 case KVM_REG_RISCV_CORE: in kvm_riscv_vcpu_get_reg()
|
/openbmc/linux/tools/testing/selftests/kvm/include/riscv/ |
H A D | processor.h | 29 #define RISCV_CORE_REG(name) __kvm_reg_id(KVM_REG_RISCV_CORE, \
|
/openbmc/linux/arch/riscv/include/uapi/asm/ |
H A D | kvm.h | 173 #define KVM_REG_RISCV_CORE (0x02 << KVM_REG_RISCV_TYPE_SHIFT) macro
|
/openbmc/qemu/linux-headers/asm-riscv/ |
H A D | kvm.h | 218 #define KVM_REG_RISCV_CORE (0x02 << KVM_REG_RISCV_TYPE_SHIFT) macro
|
/openbmc/qemu/target/riscv/kvm/ |
H A D | kvm-cpu.c | 111 kvm_riscv_reg_id_ulong(env, KVM_REG_RISCV_CORE, \ 565 uint64_t id = kvm_riscv_reg_id_ulong(env, KVM_REG_RISCV_CORE, i); in kvm_riscv_get_regs_core() 590 uint64_t id = kvm_riscv_reg_id_ulong(env, KVM_REG_RISCV_CORE, i); in kvm_riscv_put_regs_core()
|