HomeFreeBSD

dtrace: handle page faults in riscv dtrace_trap()

Description

dtrace: handle page faults in riscv dtrace_trap()

We must detect the correct amount to increment sepc, as it may have been
a compressed instruction that triggered the fault.

Reviewed by: markj
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D38299

Details

Provenance
mhorneAuthored on Feb 6 2023, 6:08 PM
Reviewer
markj
Differential Revision
D38299: riscv: handle page faults in dtrace_trap()
Parents
rG0e563bde48b1: dtrace_asm.S: properly enter/exit user access
Branches
Unknown
Tags
Unknown