freebsd-skq/sys/cddl/contrib/opensolaris
markj b9677d1249 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
..
common Add new IOCTL compat shims for ABI breakage caused by r296510: 2016-03-09 11:16:15 +00:00
uts Make the second argument of dtrace_invop() a trapframe pointer. 2016-04-17 23:08:47 +00:00
OPENSOLARIS.LICENSE