From b3a75296ffff7c75a11696f1dc07ddf8fe8ad4ca Mon Sep 17 00:00:00 2001 From: Artur Grabowski Date: Wed, 28 Nov 2001 14:13:08 +0000 Subject: pmap_kenter_pgs is not used and not really useful. remove. --- sys/arch/mac68k/mac68k/pmap.c | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) (limited to 'sys/arch/mac68k') 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 $ */ /* @@ -2358,18 +2358,6 @@ pmap_kenter_pa(vaddr_t va, paddr_t pa, vm_prot_t prot) pmap_enter(pmap_kernel(), va, pa, prot, VM_PROT_READ|VM_PROT_WRITE|PMAP_WIRED); } -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) { -- cgit v1.2.3