/openbmc/linux/arch/riscv/kvm/ |
H A D | vcpu_insn.c | 157 utrap.sepc = vcpu->arch.guest_context.sepc; in truly_illegal_insn() 173 utrap.sepc = vcpu->arch.guest_context.sepc; in truly_virtual_insn() 245 vcpu->arch.guest_context.sepc += INSN_LEN(insn); in kvm_riscv_vcpu_csr_return() 390 vcpu->arch.guest_context.sepc += INSN_LEN(insn); in system_opcode_insn() 421 ct->sepc, in kvm_riscv_vcpu_virtual_insn() 424 utrap.sepc = ct->sepc; in kvm_riscv_vcpu_virtual_insn() 476 insn = kvm_riscv_vcpu_unpriv_read(vcpu, true, ct->sepc, in kvm_riscv_vcpu_mmio_load() 480 utrap.sepc = ct->sepc; in kvm_riscv_vcpu_mmio_load() 602 insn = kvm_riscv_vcpu_unpriv_read(vcpu, true, ct->sepc, in kvm_riscv_vcpu_mmio_store() 606 utrap.sepc = ct->sepc; in kvm_riscv_vcpu_mmio_store() [all …]
|
H A D | vcpu_exit.c | 159 csr_write(CSR_VSEPC, trap->sepc); in kvm_riscv_vcpu_trap_redirect() 162 vcpu->arch.guest_context.sepc = csr_read(CSR_VSTVEC); in kvm_riscv_vcpu_trap_redirect() 215 vcpu->arch.guest_context.sepc, in kvm_riscv_vcpu_exit()
|
H A D | vcpu_sbi.c | 130 vcpu->arch.guest_context.sepc += 4; in kvm_riscv_vcpu_sbi_return() 399 sbi_ret.utrap->sepc = cp->sepc; in kvm_riscv_vcpu_sbi_ecall() 415 cp->sepc += 4; in kvm_riscv_vcpu_sbi_ecall()
|
H A D | vcpu_sbi_hsm.c | 30 reset_cntx->sepc = cp->a1; in kvm_sbi_hsm_vcpu_start()
|
H A D | vcpu.c | 741 trap.sepc = vcpu->arch.guest_context.sepc; in kvm_arch_vcpu_ioctl_run()
|
H A D | vcpu_onereg.c | 289 reg_val = cntx->sepc; in kvm_riscv_vcpu_get_reg_core() 325 cntx->sepc = reg_val; in kvm_riscv_vcpu_set_reg_core()
|
/openbmc/u-boot/arch/riscv/include/asm/ |
H A D | ptrace.h | 13 unsigned long sepc; member 60 #define GET_IP(regs) ((regs)->sepc)
|
/openbmc/qemu/linux-user/hexagon/ |
H A D | target_syscall.h | 22 abi_long sepc; member
|
H A D | cpu_loop.c | 84 env->gpr[HEX_REG_PC] = regs->sepc; in target_cpu_copy_regs()
|
/openbmc/qemu/linux-user/riscv/ |
H A D | target_syscall.h | 12 abi_long sepc; member
|
H A D | cpu_loop.c | 103 env->pc = regs->sepc; in target_cpu_copy_regs()
|
/openbmc/linux/arch/riscv/include/asm/ |
H A D | kvm_host.h | 107 unsigned long sepc; member 147 unsigned long sepc; member
|
/openbmc/linux/arch/riscv/include/uapi/asm/ |
H A D | kvm.h | 77 unsigned long sepc; member
|
/openbmc/qemu/linux-headers/asm-riscv/ |
H A D | kvm.h | 76 unsigned long sepc; member
|
/openbmc/qemu/target/riscv/ |
H A D | cpu_helper.c | 563 env->vsepc = env->sepc; in riscv_cpu_swap_hypervisor_regs() 564 env->sepc = env->sepc_hs; in riscv_cpu_swap_hypervisor_regs() 586 env->sepc_hs = env->sepc; in riscv_cpu_swap_hypervisor_regs() 587 env->sepc = env->vsepc; in riscv_cpu_swap_hypervisor_regs() 1800 env->sepc = env->pc; in riscv_cpu_do_interrupt()
|
H A D | machine.c | 391 VMSTATE_UINTTL(env.sepc, RISCVCPU),
|
H A D | op_helper.c | 271 target_ulong retpc = env->sepc; in helper_sret()
|
H A D | cpu.h | 283 target_ulong sepc; member
|
H A D | csr.c | 3141 *val = env->sepc; in read_sepc() 3148 env->sepc = val; in write_sepc()
|
/openbmc/linux/arch/riscv/kernel/ |
H A D | asm-offsets.c | 157 OFFSET(KVM_ARCH_GUEST_SEPC, kvm_vcpu_arch, guest_context.sepc); in asm_offsets() 194 OFFSET(KVM_ARCH_HOST_SEPC, kvm_vcpu_arch, host_context.sepc); in asm_offsets() 201 OFFSET(KVM_ARCH_TRAP_SEPC, kvm_cpu_trap, sepc); in asm_offsets()
|
/openbmc/linux/tools/testing/selftests/kvm/riscv/ |
H A D | get-reg-list.c | 200 case KVM_REG_RISCV_CSR_REG(sepc): in general_csr_id_to_str() 201 return RISCV_CSR_GENERAL(sepc); in general_csr_id_to_str() 529 …| KVM_REG_SIZE_ULONG | KVM_REG_RISCV_CSR | KVM_REG_RISCV_CSR_GENERAL | KVM_REG_RISCV_CSR_REG(sepc),
|
/openbmc/qemu/target/riscv/kvm/ |
H A D | kvm-cpu.c | 609 KVM_RISCV_GET_CSR(cs, env, sepc, env->sepc); in kvm_riscv_get_regs_csr() 626 KVM_RISCV_SET_CSR(cs, env, sepc, env->sepc); in kvm_riscv_put_regs_csr() 1617 env->sepc = 0; in kvm_riscv_reset_vcpu()
|
/openbmc/u-boot/common/ |
H A D | image-fit.c | 37 static int fit_parse_spec(const char *spec, char sepc, ulong addr_curr, in fit_parse_spec() argument 45 sep = strchr(spec, sepc); in fit_parse_spec()
|
/openbmc/u-boot/scripts/ |
H A D | spelling.txt | 1021 sepc||spec
|
/openbmc/qemu/linux-user/ |
H A D | elfload.c | 1872 regs->sepc = infop->entry; in init_thread() 2010 regs->sepc = infop->entry; in init_thread()
|