summaryrefslogtreecommitdiff
path: root/sys/arch/mac68k
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2001-11-28 14:13:08 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2001-11-28 14:13:08 +0000
commitb3a75296ffff7c75a11696f1dc07ddf8fe8ad4ca (patch)
tree2f908f8a056546659289876783d9141bb1eaec1a /sys/arch/mac68k
parentf17e9fc7db84dac3f5a03fc347ebf3dfb46c1bcc (diff)
pmap_kenter_pgs is not used and not really useful. remove.
Diffstat (limited to 'sys/arch/mac68k')
-rw-r--r--sys/arch/mac68k/mac68k/pmap.c14
1 files changed, 1 insertions, 13 deletions
diff --git a/sys/arch/mac68k/mac68k/pmap.c b/sys/arch/mac68k/mac68k/pmap.c
index 9afba2e761c..4cf8fc71d4c 100644
--- a/sys/arch/mac68k/mac68k/pmap.c
+++ b/sys/arch/mac68k/mac68k/pmap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap.c,v 1.32 2001/11/28 13:47:38 art Exp $ */
+/* $OpenBSD: pmap.c,v 1.33 2001/11/28 14:13:06 art Exp $ */
/* $NetBSD: pmap.c,v 1.55 1999/04/22 04:24:53 chs Exp $ */
/*
@@ -2359,18 +2359,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) {