opnsense-src/sys/cddl/dev/dtrace/riscv
Kristof Provost effd82ca70 dtrace: fix fbt return probes on RISC-V
Return values are passed in a0, so read it from there. We also pass a1 through
to userspace, as the ABI allows small structs to be returned in registers
a0/a1. While here read the register values directly from the trapframe rather
than rtval, and remove the now unneeded argument from dtrace_invop().

Set fbtp_roffset so that we get the correct return location in arg0.

Reviewed by:	markj
Sponsored by:	Axiado
Differential Revision:	https://reviews.freebsd.org/D26389
2020-09-11 09:15:49 +00:00
..
dtrace_asm.S Rename assym.s to assym.inc 2018-03-20 17:58:51 +00:00
dtrace_isa.c
dtrace_subr.c dtrace: fix fbt return probes on RISC-V 2020-09-11 09:15:49 +00:00
regset.h