Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Apr 2010 01:04:32 +0000 (UTC)
From:      Juli Mallett <jmallett@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-user@freebsd.org
Subject:   svn commit: r206230 - user/jmallett/octeon/sys/mips/mips
Message-ID:  <201004060104.o3614WaO098648@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201004060104.o3614WaO098648>