From c0e772492e23ff30c5589871a03472faa486f9d1 Mon Sep 17 00:00:00 2001 From: mycroft Date: Mon, 3 Jan 1994 16:21:48 +0000 Subject: Inline all the [lr]cr[023]() `functions' in cpufunc.h. --- sys/dev/ata/wd.c | 4 ++-- sys/dev/isa/wd.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'sys/dev') diff --git a/sys/dev/ata/wd.c b/sys/dev/ata/wd.c index 5a4e070c10e..e5ae3fdad28 100644 --- a/sys/dev/ata/wd.c +++ b/sys/dev/ata/wd.c @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * from: @(#)wd.c 7.2 (Berkeley) 5/9/91 - * $Id: wd.c,v 1.30 1993/12/24 13:56:14 ws Exp $ + * $Id: wd.c,v 1.31 1994/01/03 16:22:18 mycroft Exp $ */ /* Note: This code heavily modified by tih@barsoom.nhh.no; use at own risk! */ @@ -1518,7 +1518,7 @@ wddump(dev_t dev) pmap_enter(kernel_pmap, CADDR1, trunc_page(addr), VM_PROT_READ, TRUE); #else *(int *)CMAP1 = PG_V | PG_KW | ctob((long)addr); - load_cr3(rcr3()); + tlbflush(); #endif /* compute disk address */ diff --git a/sys/dev/isa/wd.c b/sys/dev/isa/wd.c index 5a4e070c10e..e5ae3fdad28 100644 --- a/sys/dev/isa/wd.c +++ b/sys/dev/isa/wd.c @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * from: @(#)wd.c 7.2 (Berkeley) 5/9/91 - * $Id: wd.c,v 1.30 1993/12/24 13:56:14 ws Exp $ + * $Id: wd.c,v 1.31 1994/01/03 16:22:18 mycroft Exp $ */ /* Note: This code heavily modified by tih@barsoom.nhh.no; use at own risk! */ @@ -1518,7 +1518,7 @@ wddump(dev_t dev) pmap_enter(kernel_pmap, CADDR1, trunc_page(addr), VM_PROT_READ, TRUE); #else *(int *)CMAP1 = PG_V | PG_KW | ctob((long)addr); - load_cr3(rcr3()); + tlbflush(); #endif /* compute disk address */ -- cgit