PERFORCE change 100864 for review

Bruce M Simpson bms at FreeBSD.org
Fri Jul 7 11:33:07 UTC 2006


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

Change 100864 by bms at bms_montagne on 2006/07/07 11:32:15

	Fix for mips32; kseg2 begins at 0xc0000000

Affected files ...

.. //depot/projects/mips2/src/sys/mips/include/tlb.h#2 edit

Differences ...

==== //depot/projects/mips2/src/sys/mips/include/tlb.h#2 (text+ko) ====

@@ -23,7 +23,7 @@
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
  *
- * $P4: //depot/projects/mips2/src/sys/mips/include/tlb.h#1 $
+ * $P4: //depot/projects/mips2/src/sys/mips/include/tlb.h#2 $
  */
 
 #ifndef	_MACHINE_TLB_H_
@@ -32,7 +32,7 @@
 extern pt_entry_t *kptmap;
 extern vm_size_t kptsize;
 
-#define	tlb_pte_index(va)	(((va) - (MIPS_XKSEG_START)) >> PAGE_SHIFT)
+#define	tlb_pte_index(va)	(((va) - (MIPS_KSEG2_START)) >> PAGE_SHIFT)
 #define	tlb_pte_find(t,va)	(&(t)[tlb_pte_index((va))])
 
 void tlb_bootstrap(vm_size_t, vm_offset_t (*)(vm_size_t));


More information about the p4-projects mailing list