Searched refs:sscratch (Results 1 – 9 of 9) sorted by relevance
/openbmc/linux/arch/riscv/include/uapi/asm/ |
H A D | kvm.h | 76 unsigned long sscratch; member
|
/openbmc/qemu/linux-headers/asm-riscv/ |
H A D | kvm.h | 75 unsigned long sscratch; member
|
/openbmc/linux/tools/testing/selftests/kvm/riscv/ |
H A D | get-reg-list.c | 198 case KVM_REG_RISCV_CSR_REG(sscratch): in general_csr_id_to_str() 199 return RISCV_CSR_GENERAL(sscratch); in general_csr_id_to_str() 528 …M_REG_SIZE_ULONG | KVM_REG_RISCV_CSR | KVM_REG_RISCV_CSR_GENERAL | KVM_REG_RISCV_CSR_REG(sscratch),
|
/openbmc/qemu/target/riscv/kvm/ |
H A D | kvm-cpu.c | 615 KVM_RISCV_GET_CSR(cs, env, sscratch, env->sscratch); in kvm_riscv_get_regs_csr() 632 KVM_RISCV_SET_CSR(cs, env, sscratch, env->sscratch); in kvm_riscv_put_regs_csr() 1623 env->sscratch = 0; in kvm_riscv_reset_vcpu()
|
/openbmc/qemu/target/riscv/ |
H A D | cpu_helper.c | 640 env->vsscratch = env->sscratch; in riscv_cpu_swap_hypervisor_regs() 641 env->sscratch = env->sscratch_hs; in riscv_cpu_swap_hypervisor_regs() 663 env->sscratch_hs = env->sscratch; in riscv_cpu_swap_hypervisor_regs() 664 env->sscratch = env->vsscratch; in riscv_cpu_swap_hypervisor_regs()
|
H A D | machine.c | 442 VMSTATE_UINTTL(env.sscratch, RISCVCPU),
|
H A D | cpu.h | 407 target_ulong sscratch; member
|
H A D | csr.c | 3193 *val = int128_make128(env->sscratch, env->sscratchh); in read_sscratch_i128() 3200 env->sscratch = int128_getlo(val); in write_sscratch_i128() 3208 *val = env->sscratch; in read_sscratch() 3215 env->sscratch = val; in write_sscratch()
|
/openbmc/linux/Documentation/virt/kvm/ |
H A D | api.rst | 2787 0x80x0 0000 0300 0003 sscratch Supervisor scratch register
|