freebsd-dev/sys/cddl/dev
Justin Hibbits 161c415133 Two fixups for dtrace
* Use the right incantation to get the next stack pointer.  Since powerpc uses
  special frames for traps, dereferencing the stack pointer straight up won't
  get us the next stack pointer in every case.
* Clear EE using the correct instruction sequence.  The PowerISA states that
  'andi.' ANDs the register with 0||<imm>, instead of sign extending or filling
  out the unavailable bits with 1.  Even if it did sign extend, PSL_EE is
  0x8000, so ~PSL_EE is 0x7fff, and the upper bits would be cleared.  Use rlwinm
  in the 32-bit case, and a two-rotate sequence in the 64-bit case, the latter
  chosen to follow the output generated by gcc.

MFC after:	1 week
2016-08-06 15:06:19 +00:00
..
dtmalloc The dtmalloc provider uses the short description of a malloc type as the 2013-06-28 03:14:40 +00:00
dtrace Two fixups for dtrace 2016-08-06 15:06:19 +00:00
fbt Remove unused variables. 2016-07-29 12:29:17 +00:00
profile Add initial DTrace support for RISC-V. 2016-05-24 16:41:37 +00:00
sdt Initialize SDT probes during SI_SUB_DTRACE_PROVIDER. 2016-04-10 01:24:27 +00:00
systrace Support an arbitrary number of arguments to DTrace syscall probes. 2015-12-17 00:00:27 +00:00
prototype.c