svn commit: r318130 - head/sys/cddl/dev/fbt/powerpc

Justin Hibbits jhibbits at FreeBSD.org
Wed May 10 03:47:24 UTC 2017


Author: jhibbits
Date: Wed May 10 03:47:22 2017
New Revision: 318130
URL: https://svnweb.freebsd.org/changeset/base/318130

Log:
  Fix the encoded instruction for FBT traps on powerpc
  
  r314370 changed EXC_DTRACE to a different instruction, but neglected to
  make the same change to fbt, so dtrace didn't actually pick it up,
  resulting in entering KDB instead of trapping for dtrace.
  
  MFC after:	1 week

Modified:
  head/sys/cddl/dev/fbt/powerpc/fbt_isa.c

Modified: head/sys/cddl/dev/fbt/powerpc/fbt_isa.c
==============================================================================
--- head/sys/cddl/dev/fbt/powerpc/fbt_isa.c	Wed May 10 03:20:20 2017	(r318129)
+++ head/sys/cddl/dev/fbt/powerpc/fbt_isa.c	Wed May 10 03:47:22 2017	(r318130)
@@ -37,7 +37,7 @@
 
 #include "fbt.h"
 
-#define FBT_PATCHVAL		0x7c810808
+#define FBT_PATCHVAL		0x7ffff808
 #define FBT_MFLR_R0		0x7c0802a6
 #define FBT_MTLR_R0		0x7c0803a6
 #define FBT_BLR			0x4e800020


More information about the svn-src-all mailing list