freebsd-nq/sys/cddl
Mark Johnston 6c2806594b Make the second argument of dtrace_invop() a trapframe pointer.
Currently this argument is a pointer into the stack which is used by FBT
to fetch the first five probe arguments. On all non-x86 architectures it's
simply the trapframe address, so this change has no functional impact. On
amd64 it's a pointer into the trapframe such that stack[1 .. 5] gives the
first five argument registers, which are deliberately grouped together in
the amd64 trapframe definition.

A trapframe argument simplifies the invop handlers on !x86 and makes the
x86 FBT invop handler easier to understand. Moreover, it allows for invop
handlers that may want to modify the register set of the interrupted thread.
2016-04-17 23:08:47 +00:00
..
boot/zfs Fix const conversion warning in lz4_decompress 2016-01-06 20:28:09 +00:00
compat/opensolaris remove emulation of VFS_HOLD and VFS_RELE from opensolaris compat 2016-04-02 16:25:46 +00:00
contrib/opensolaris Make the second argument of dtrace_invop() a trapframe pointer. 2016-04-17 23:08:47 +00:00
dev Make the second argument of dtrace_invop() a trapframe pointer. 2016-04-17 23:08:47 +00:00