PERFORCE change 32744 for review

Juli Mallett jmallett at FreeBSD.org
Sat Jun 7 05:01:43 PDT 2003


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

Change 32744 by jmallett at jmallett_dalek on 2003/06/07 05:01:02

	Include tlbr, tlbp.  Include pagemask reading.

Affected files ...

.. //depot/projects/mips/sys/mips/include/cpufunc.h#13 edit

Differences ...

==== //depot/projects/mips/sys/mips/include/cpufunc.h#13 (text+ko) ====

@@ -34,6 +34,18 @@
 #include <machine/cpuregs.h>
 
 static __inline void
+mips_tlbp(void)
+{
+	__asm __volatile ("tlbp");
+}
+
+static __inline void
+mips_tlbr(void)
+{
+	__asm __volatile ("tlbr");
+}
+
+static __inline void
 mips_tlbwi(void)
 {
 	__asm __volatile ("tlbwi");
@@ -74,6 +86,7 @@
 MIPS_RDRW64_COP0(entrylo0, MIPS_COP_0_TLB_LO0)
 MIPS_RDRW64_COP0(entrylo1, MIPS_COP_0_TLB_LO1)
 MIPS_RDRW64_COP0(entryhi, MIPS_COP_0_TLB_HI)
+MIPS_RDRW64_COP0(pagemask, MIPS_COP_0_TLB_PG_MASK)
 
 #undef	MIPS_RDRW64_COP0
 


More information about the p4-projects mailing list