PERFORCE change 45109 for review

Juli Mallett jmallett at FreeBSD.org
Sat Jan 10 21:36:11 PST 2004


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

Change 45109 by jmallett at jmallett_oingo on 2004/01/10 21:35:35

	Little things I should have gone back and checked,
	I never took the time.
	
	Consistently get to SI_SUB_VFS and whatnot - when indexing to
	do a TLB service, account for even/odd.

Affected files ...

.. //depot/projects/mips/sys/mips/mips/exception.S#10 edit

Differences ...

==== //depot/projects/mips/sys/mips/mips/exception.S#10 (text+ko) ====

@@ -178,10 +178,11 @@
 	subu	k0, k1
 	/*
 	 * Shift right logical to get a page index, but leaving
-	 * enough bits to index an array of 64 bit values.
+	 * enough bits to index an array of 64 bit values, plus
+	 * align for the even/odd TLB stuff.
 	 */
-	dsrl	k0, PAGE_SHIFT
-	dsll	k0, 3
+	dsrl	k0, PAGE_SHIFT + 1
+	dsll	k0, 3 + 1
 	dla	k1, kptmap
 	/*
 	 * Find the page table, and index it.


More information about the p4-projects mailing list