Searched refs:stvec (Results 1 – 10 of 10) sorted by relevance
/openbmc/linux/arch/riscv/include/uapi/asm/ |
H A D | kvm.h | 75 unsigned long stvec; member
|
/openbmc/qemu/target/riscv/ |
H A D | cpu_helper.c | 637 env->vstvec = env->stvec; in riscv_cpu_swap_hypervisor_regs() 638 env->stvec = env->stvec_hs; in riscv_cpu_swap_hypervisor_regs() 660 env->stvec_hs = env->stvec; in riscv_cpu_swap_hypervisor_regs() 661 env->stvec = env->vstvec; in riscv_cpu_swap_hypervisor_regs() 1960 env->pc = (env->stvec >> 2 << 2) + in riscv_cpu_do_interrupt() 1961 ((async && (env->stvec & 3) == 1) ? cause * 4 : 0); in riscv_cpu_do_interrupt()
|
H A D | machine.c | 426 VMSTATE_UINTTL(env.stvec, RISCVCPU),
|
H A D | cpu.h | 299 target_ulong stvec; member
|
H A D | csr.c | 3155 *val = env->stvec; in read_stvec() 3164 env->stvec = val; in write_stvec()
|
/openbmc/qemu/linux-headers/asm-riscv/ |
H A D | kvm.h | 74 unsigned long stvec; member
|
/openbmc/linux/tools/testing/selftests/kvm/riscv/ |
H A D | get-reg-list.c | 196 case KVM_REG_RISCV_CSR_REG(stvec): in general_csr_id_to_str() 197 return RISCV_CSR_GENERAL(stvec); in general_csr_id_to_str() 527 … KVM_REG_SIZE_ULONG | KVM_REG_RISCV_CSR | KVM_REG_RISCV_CSR_GENERAL | KVM_REG_RISCV_CSR_REG(stvec),
|
/openbmc/qemu/target/riscv/kvm/ |
H A D | kvm-cpu.c | 614 KVM_RISCV_GET_CSR(cs, env, stvec, env->stvec); in kvm_riscv_get_regs_csr() 631 KVM_RISCV_SET_CSR(cs, env, stvec, env->stvec); in kvm_riscv_put_regs_csr() 1622 env->stvec = 0; in kvm_riscv_reset_vcpu()
|
/openbmc/linux/tools/testing/selftests/kvm/lib/riscv/ |
H A D | processor.c | 318 vcpu_set_reg(vcpu, RISCV_CSR_REG(stvec), (unsigned long)guest_unexp_trap); in vm_arch_vcpu_add()
|
/openbmc/linux/Documentation/virt/kvm/ |
H A D | api.rst | 2786 0x80x0 0000 0300 0002 stvec Supervisor trap vector base
|