Home
last modified time | relevance | path

Searched refs:sepc (Results 1 – 25 of 26) sorted by relevance

12

/openbmc/linux/arch/riscv/kvm/
H A Dvcpu_insn.c157 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 Dvcpu_exit.c159 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 Dvcpu_sbi.c130 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 Dvcpu_sbi_hsm.c30 reset_cntx->sepc = cp->a1; in kvm_sbi_hsm_vcpu_start()
H A Dvcpu.c741 trap.sepc = vcpu->arch.guest_context.sepc; in kvm_arch_vcpu_ioctl_run()
H A Dvcpu_onereg.c289 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 Dptrace.h13 unsigned long sepc; member
60 #define GET_IP(regs) ((regs)->sepc)
/openbmc/qemu/linux-user/hexagon/
H A Dtarget_syscall.h22 abi_long sepc; member
H A Dcpu_loop.c84 env->gpr[HEX_REG_PC] = regs->sepc; in target_cpu_copy_regs()
/openbmc/qemu/linux-user/riscv/
H A Dtarget_syscall.h12 abi_long sepc; member
H A Dcpu_loop.c103 env->pc = regs->sepc; in target_cpu_copy_regs()
/openbmc/linux/arch/riscv/include/asm/
H A Dkvm_host.h107 unsigned long sepc; member
147 unsigned long sepc; member
/openbmc/linux/arch/riscv/include/uapi/asm/
H A Dkvm.h77 unsigned long sepc; member
/openbmc/qemu/linux-headers/asm-riscv/
H A Dkvm.h76 unsigned long sepc; member
/openbmc/qemu/target/riscv/
H A Dcpu_helper.c563 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 Dmachine.c391 VMSTATE_UINTTL(env.sepc, RISCVCPU),
H A Dop_helper.c271 target_ulong retpc = env->sepc; in helper_sret()
H A Dcpu.h283 target_ulong sepc; member
H A Dcsr.c3141 *val = env->sepc; in read_sepc()
3148 env->sepc = val; in write_sepc()
/openbmc/linux/arch/riscv/kernel/
H A Dasm-offsets.c157 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 Dget-reg-list.c200 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 Dkvm-cpu.c609 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 Dimage-fit.c37 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 Dspelling.txt1021 sepc||spec
/openbmc/qemu/linux-user/
H A Delfload.c1872 regs->sepc = infop->entry; in init_thread()
2010 regs->sepc = infop->entry; in init_thread()

12