Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Jun 2003 04:36:08 -0700 (PDT)
From:      Juli Mallett <jmallett@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 32742 for review
Message-ID:  <200306071136.h57Ba8g9035905@repoman.freebsd.org>

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

Change 32742 by jmallett@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");



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