diff options
author | dyson <dyson@FreeBSD.org> | 1996-09-28 22:37:57 +0000 |
---|---|---|
committer | dyson <dyson@FreeBSD.org> | 1996-09-28 22:37:57 +0000 |
commit | 58c3d8c035267cf3b4e02121092f6029061f7ffa (patch) | |
tree | b6aee9aace91297435860e212ee25ffbd4673fa7 /sys/i386/include/cpufunc.h | |
parent | ed2473fb10ba0d424b69fb735043be7b30937f43 (diff) | |
download | FreeBSD-src-58c3d8c035267cf3b4e02121092f6029061f7ffa.zip FreeBSD-src-58c3d8c035267cf3b4e02121092f6029061f7ffa.tar.gz |
Essentially rename pmap_update to be invltlb. It is a very machine
dependent operation, and not really a correct name. invltlb and invlpg
are more descriptive, and in the case of invlpg, a real opcode.
Additionally, fix the tlb management code for 386 machines.
Diffstat (limited to 'sys/i386/include/cpufunc.h')
-rw-r--r-- | sys/i386/include/cpufunc.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/i386/include/cpufunc.h b/sys/i386/include/cpufunc.h index 4b3f45a..f789ee1 100644 --- a/sys/i386/include/cpufunc.h +++ b/sys/i386/include/cpufunc.h @@ -30,7 +30,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: cpufunc.h,v 1.56 1996/09/24 17:47:59 bde Exp $ + * $Id: cpufunc.h,v 1.57 1996/09/28 04:22:46 dyson Exp $ */ /* @@ -271,7 +271,7 @@ outw(u_int port, u_short data) static __inline void -pmap_update(void) +invltlb(void) { u_long temp; /* @@ -283,7 +283,7 @@ pmap_update(void) } static __inline void -pmap_update_1pg(u_long addr) +invlpg(u_long addr) { __asm __volatile("invlpg (%0)": :"r"(addr)); } @@ -369,7 +369,6 @@ void outsb __P((u_int port, void *addr, size_t cnt)); void outsl __P((u_int port, void *addr, size_t cnt)); void outsw __P((u_int port, void *addr, size_t cnt)); void outw __P((u_int port, u_short data)); -void pmap_update __P((void)); u_long rcr2 __P((void)); quad_t rdmsr __P((u_int msr)); quad_t rdpmc __P((u_int pmc)); |