svn commit: r324786 - head/sys/powerpc/booke

Justin Hibbits jhibbits at FreeBSD.org
Fri Oct 20 03:31:24 UTC 2017


Author: jhibbits
Date: Fri Oct 20 03:31:23 2017
New Revision: 324786
URL: https://svnweb.freebsd.org/changeset/base/324786

Log:
  Expand the TLB nest level mask to 3 bits to match the 32-bit mask
  
  This really doesn't change anything right now, because BOOKE_TLB_MAXNEST is only
  3, which fits into the 2 bits currently used.

Modified:
  head/sys/powerpc/booke/trap_subr.S

Modified: head/sys/powerpc/booke/trap_subr.S
==============================================================================
--- head/sys/powerpc/booke/trap_subr.S	Fri Oct 20 03:30:02 2017	(r324785)
+++ head/sys/powerpc/booke/trap_subr.S	Fri Oct 20 03:31:23 2017	(r324786)
@@ -365,7 +365,7 @@
 	ld	%r30, (TLBSAVE_BOOKE_R30)(br);				\
 	ld	%r31, (TLBSAVE_BOOKE_R31)(br);				
 #define TLB_NEST(outr,inr)						\
-	rlwinm	outr, inr, 7, 23, 24;	/* 8 x TLBSAVE_LEN */
+	rlwinm	outr, inr, 7, 22, 24;	/* 8 x TLBSAVE_LEN */
 #else
 #define TLB_SAVE_REGS(br)						\
 	stmw	%r20, TLBSAVE_BOOKE_R20(br)


More information about the svn-src-head mailing list