diff options
Diffstat (limited to 'sys/arch/mvme68k')
-rw-r--r-- | sys/arch/mvme68k/mvme68k/pmap.c | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/sys/arch/mvme68k/mvme68k/pmap.c b/sys/arch/mvme68k/mvme68k/pmap.c index 690b73789b7..675bb53069b 100644 --- a/sys/arch/mvme68k/mvme68k/pmap.c +++ b/sys/arch/mvme68k/mvme68k/pmap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap.c,v 1.31 2001/11/28 13:47:38 art Exp $ */ +/* $OpenBSD: pmap.c,v 1.32 2001/11/28 14:13:06 art Exp $ */ /* * Copyright (c) 1995 Theo de Raadt @@ -2416,18 +2416,6 @@ pmap_kenter_pa(vaddr_t va, paddr_t pa, vm_prot_t prot) } void -pmap_kenter_pgs(vaddr_t va, struct vm_page **pgs, int npgs) -{ - int i; - - for (i = 0; i < npgs; i++, va += PAGE_SIZE) { - pmap_enter(pmap_kernel(), va, VM_PAGE_TO_PHYS(pgs[i]), - VM_PROT_READ|VM_PROT_WRITE, - VM_PROT_READ|VM_PROT_WRITE|PMAP_WIRED); - } -} - -void pmap_kremove(vaddr_t va, vsize_t len) { for (len >>= PAGE_SHIFT; len > 0; len--, va += PAGE_SIZE) { |