summaryrefslogtreecommitdiff
path: root/sys/arch/amiga
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/amiga
parentf17e9fc7db84dac3f5a03fc347ebf3dfb46c1bcc (diff)
pmap_kenter_pgs is not used and not really useful. remove.
Diffstat (limited to 'sys/arch/amiga')
-rw-r--r--sys/arch/amiga/amiga/pmap.c14
1 files changed, 1 insertions, 13 deletions
diff --git a/sys/arch/amiga/amiga/pmap.c b/sys/arch/amiga/amiga/pmap.c
index 2273f0bebb0..c7560e13191 100644
--- a/sys/arch/amiga/amiga/pmap.c
+++ b/sys/arch/amiga/amiga/pmap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap.c,v 1.39 2001/11/28 13:47:37 art Exp $ */
+/* $OpenBSD: pmap.c,v 1.40 2001/11/28 14:13:06 art Exp $ */
/* $NetBSD: pmap.c,v 1.68 1999/06/19 19:44:09 is Exp $ */
/*-
@@ -2599,18 +2599,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) {