PERFORCE change 135390 for review

Oleksandr Tymoshenko gonzo at FreeBSD.org
Thu Feb 14 10:32:20 PST 2008


http://perforce.freebsd.org/chv.cgi?CH=135390

Change 135390 by gonzo at gonzo_jeeves on 2008/02/14 18:32:01

	o Fix MCHECK exception in mips_TBIAP by generating sequential 
	    bogus address values instead of using only one for every 
	    TLB entry.
	Tested by:	rrs

Affected files ...

.. //depot/projects/mips2-jnpr/src/sys/mips/mips/tlb.S#7 edit

Differences ...

==== //depot/projects/mips2-jnpr/src/sys/mips/mips/tlb.S#7 (text+ko) ====

@@ -473,7 +473,7 @@
 	_MFC0	t4, COP_0_TLB_HI		# Get current PID
 	move	t2, a0
 	mfc0	t1, COP_0_TLB_WIRED
-	li	v0, MIPS_KSEG0_START		# invalid address
+	li	v0, MIPS_KSEG0_START + 0x0fff0000	# invalid address
 	mfc0	t3, COP_0_TLB_PG_MASK		# save current pgMask
 
 	# do {} while (t1 < t2)
@@ -495,6 +495,7 @@
 	tlbwi					# invalidate the TLB entry
 2:
 	addu	t1, t1, 1
+	addu	v0, 1 << (PAGE_SHIFT + 1)
 	bne	t1, t2, 1b
 	nop
 


More information about the p4-projects mailing list