Home
last modified time | relevance | path

Searched refs:stval (Results 1 – 10 of 10) sorted by relevance

/freebsd/sys/riscv/riscv/
H A Dtrap.c207 uint64_t stval; in page_fault_handler() local
228 stval = frame->tf_stval; in page_fault_handler()
231 if (!VIRT_IS_VALID(stval)) { in page_fault_handler()
232 call_trapsignal(td, SIGSEGV, SEGV_MAPERR, (void *)stval, in page_fault_handler()
245 if (stval >= VM_MIN_KERNEL_ADDRESS) { in page_fault_handler()
254 va = trunc_page(stval); in page_fault_handler()
275 call_trapsignal(td, sig, ucode, (void *)stval, in page_fault_handler()
303 panic("Fatal page fault at %#lx: %#lx", frame->tf_sepc, stval); in page_fault_handler()
H A Dgenassym.c131 ASSYM(HYP_TRAP_STVAL, offsetof(struct hyptrap, stval));
H A Dexception.S110 csrr t0, stval
/freebsd/sys/riscv/vmm/
H A Dvmm_riscv.c433 (vme_ret->stval & 0x3); in riscv_gen_inst_emul_data()
474 gpa = (vme->htval << 2) | (vme->stval & 0x3); in riscv_handle_world_switch()
494 "0x%lx\n", __func__, vme->sepc, vme->stval, vme->htval); in riscv_handle_world_switch()
508 insn = vme->stval; in riscv_handle_world_switch()
701 vme->stval = csr_read(stval); in vmmops_run()
H A Driscv.h120 uint64_t stval; member
H A Dvmm_switch.S213 csrr a1, stval
/freebsd/sys/riscv/include/
H A Dvmm.h267 uint64_t stval; member
H A Dencoding.h1066 DECLARE_CSR(stval, CSR_STVAL)
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVSystemOperands.td127 def : SysReg<"stval", 0x143>;
H A DRISCVFeatures.td968 "'Sstvala' (stval provides all needed values)">;