PERFORCE change 32742 for review
Juli Mallett
jmallett at FreeBSD.org
Sat Jun 7 04:36:11 PDT 2003
http://perforce.freebsd.org/chv.cgi?CH=32742
Change 32742 by jmallett at jmallett_dalek on 2003/06/07 04:35:37
Add tlbwi / tlbwr.
Affected files ...
.. //depot/projects/mips/sys/mips/include/cpufunc.h#12 edit
Differences ...
==== //depot/projects/mips/sys/mips/include/cpufunc.h#12 (text+ko) ====
@@ -34,6 +34,18 @@
#include <machine/cpuregs.h>
static __inline void
+mips_tlbwi(void)
+{
+ __asm __volatile ("tlbwi");
+}
+
+static __inline void
+mips_tlbwr(void)
+{
+ __asm __volatile ("tlbwr");
+}
+
+static __inline void
mips_wbflush(void)
{
__asm __volatile ("sync" : : : "memory");
More information about the p4-projects
mailing list