Home
last modified time | relevance | path

Searched refs:sscratch (Results 1 – 9 of 9) sorted by relevance

/openbmc/linux/arch/riscv/include/uapi/asm/
H A Dkvm.h76 unsigned long sscratch; member
/openbmc/qemu/linux-headers/asm-riscv/
H A Dkvm.h75 unsigned long sscratch; member
/openbmc/linux/tools/testing/selftests/kvm/riscv/
H A Dget-reg-list.c198 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 Dkvm-cpu.c615 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 Dcpu_helper.c640 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 Dmachine.c442 VMSTATE_UINTTL(env.sscratch, RISCVCPU),
H A Dcpu.h407 target_ulong sscratch; member
H A Dcsr.c3193 *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 Dapi.rst2787 0x80x0 0000 0300 0003 sscratch Supervisor scratch register