svn commit: r206230 - user/jmallett/octeon/sys/mips/mips

Juli Mallett jmallett at FreeBSD.org
Tue Apr 6 01:04:32 UTC 2010


Author: jmallett
Date: Tue Apr  6 01:04:32 2010
New Revision: 206230
URL: http://svn.freebsd.org/changeset/base/206230

Log:
  Add a hazard delay after the upte tlblo0 mtc0.

Modified:
  user/jmallett/octeon/sys/mips/mips/swtch.S

Modified: user/jmallett/octeon/sys/mips/mips/swtch.S
==============================================================================
--- user/jmallett/octeon/sys/mips/mips/swtch.S	Tue Apr  6 01:00:26 2010	(r206229)
+++ user/jmallett/octeon/sys/mips/mips/swtch.S	Tue Apr  6 01:04:32 2010	(r206230)
@@ -328,6 +328,7 @@ entry0set:
 /* SMP!! - Works only for  unshared TLB case - i.e. no v-cpus */
 	mtc0	zero, COP_0_TLB_INDEX		# TLB entry #0
 	mtc0	a1, COP_0_TLB_LO0		# upte
+	HAZARD_DELAY
 	addu	a1, TLBLO_PFN_ODD
 	mtc0	a1, COP_0_TLB_LO1		# upte + odd
 	HAZARD_DELAY


More information about the svn-src-user mailing list