Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Jan 2004 21:36:05 -0800 (PST)
From:      Juli Mallett <jmallett@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 45109 for review
Message-ID:  <200401110536.i0B5a5q3066808@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=45109

Change 45109 by jmallett@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.



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