diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2001-11-28 14:13:08 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2001-11-28 14:13:08 +0000 |
commit | b3a75296ffff7c75a11696f1dc07ddf8fe8ad4ca (patch) | |
tree | 2f908f8a056546659289876783d9141bb1eaec1a | |
parent | f17e9fc7db84dac3f5a03fc347ebf3dfb46c1bcc (diff) |
pmap_kenter_pgs is not used and not really useful. remove.
-rw-r--r-- | sys/arch/alpha/alpha/pmap.c | 30 | ||||
-rw-r--r-- | sys/arch/amiga/amiga/pmap.c | 14 | ||||
-rw-r--r-- | sys/arch/hp300/hp300/pmap.c | 15 | ||||
-rw-r--r-- | sys/arch/hppa/hppa/pmap.c | 15 | ||||
-rw-r--r-- | sys/arch/i386/i386/pmap.c | 42 | ||||
-rw-r--r-- | sys/arch/mac68k/mac68k/pmap.c | 14 | ||||
-rw-r--r-- | sys/arch/mvme68k/mvme68k/pmap.c | 14 | ||||
-rw-r--r-- | sys/arch/mvme88k/mvme88k/pmap.c | 14 | ||||
-rw-r--r-- | sys/arch/powerpc/powerpc/pmap.c | 17 | ||||
-rw-r--r-- | sys/arch/sparc/include/pmap.h | 5 | ||||
-rw-r--r-- | sys/arch/sparc/sparc/pmap.c | 63 | ||||
-rw-r--r-- | sys/arch/sun3/sun3/pmap.c | 14 | ||||
-rw-r--r-- | sys/arch/vax/vax/pmap.c | 35 | ||||
-rw-r--r-- | sys/uvm/uvm_pmap.h | 1 |
14 files changed, 15 insertions, 278 deletions
diff --git a/sys/arch/alpha/alpha/pmap.c b/sys/arch/alpha/alpha/pmap.c index e8d2602cd60..366065e25ac 100644 --- a/sys/arch/alpha/alpha/pmap.c +++ b/sys/arch/alpha/alpha/pmap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap.c,v 1.25 2001/11/28 13:47:37 art Exp $ */ +/* $OpenBSD: pmap.c,v 1.26 2001/11/28 14:13:06 art Exp $ */ /* $NetBSD: pmap.c,v 1.154 2000/12/07 22:18:55 thorpej Exp $ */ /*- @@ -2047,35 +2047,9 @@ pmap_kenter_pa(vaddr_t va, paddr_t pa, vm_prot_t prot) } /* - * pmap_kenter_pgs: [ INTERFACE ] - * - * Enter a va -> pa mapping for the array of vm_page's into the - * kernel pmap without any physical->virtual tracking, starting - * at address va, for npgs pages. - * - * Note: no locking is necessary in this function. - */ -void -pmap_kenter_pgs(vaddr_t va, vm_page_t *pgs, int npgs) -{ - int i; - -#ifdef DEBUG - if (pmapdebug & (PDB_FOLLOW|PDB_ENTER)) - printf("pmap_kenter_pgs(%lx, %p, %d)\n", - va, pgs, npgs); -#endif - - for (i = 0; i < npgs; i++) - pmap_kenter_pa(va + (PAGE_SIZE * i), - VM_PAGE_TO_PHYS(pgs[i]), - VM_PROT_READ|VM_PROT_WRITE); -} - -/* * pmap_kremove: [ INTERFACE ] * - * Remove a mapping entered with pmap_kenter_pa() or pmap_kenter_pgs() + * Remove a mapping entered with pmap_kenter_pa() * starting at va, for size bytes (assumed to be page rounded). */ void 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) { diff --git a/sys/arch/hp300/hp300/pmap.c b/sys/arch/hp300/hp300/pmap.c index 77f75eecac4..afda3f82a79 100644 --- a/sys/arch/hp300/hp300/pmap.c +++ b/sys/arch/hp300/hp300/pmap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap.c,v 1.33 2001/11/28 13:47:38 art Exp $ */ +/* $OpenBSD: pmap.c,v 1.34 2001/11/28 14:13:06 art Exp $ */ /* $NetBSD: pmap.c,v 1.80 1999/09/16 14:52:06 chs Exp $ */ /*- @@ -1457,19 +1457,6 @@ pmap_kenter_pa(va, pa, prot) } void -pmap_kenter_pgs(va, pgs, npgs) - vaddr_t va; - struct vm_page **pgs; - int npgs; -{ - int i; - - for (i = 0; i < npgs; i++, va += PAGE_SIZE) - pmap_kenter_pa(va, VM_PAGE_TO_PHYS(pgs[i]), - VM_PROT_READ|VM_PROT_WRITE); -} - -void pmap_kremove(va, len) vaddr_t va; vsize_t len; diff --git a/sys/arch/hppa/hppa/pmap.c b/sys/arch/hppa/hppa/pmap.c index cfdb7994368..5f4277fd920 100644 --- a/sys/arch/hppa/hppa/pmap.c +++ b/sys/arch/hppa/hppa/pmap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap.c,v 1.48 2001/11/28 13:47:38 art Exp $ */ +/* $OpenBSD: pmap.c,v 1.49 2001/11/28 14:13:06 art Exp $ */ /* * Copyright (c) 1998-2001 Michael Shalayeff @@ -1614,19 +1614,6 @@ pmap_kenter_pa(va, pa, prot) } void -pmap_kenter_pgs(va, pgs, npgs) - vaddr_t va; - vm_page_t *pgs; - int npgs; -{ - int i; - - va = hppa_trunc_page(va); - for (i = 0; i < npgs; i++) - pmap_kenter_pa(va + i*NBPG, VM_PAGE_TO_PHYS(pgs[i]), VM_PROT_ALL); -} - -void pmap_kremove(va, size) vaddr_t va; vsize_t size; diff --git a/sys/arch/i386/i386/pmap.c b/sys/arch/i386/i386/pmap.c index b3da2c94d8e..caaa1791e11 100644 --- a/sys/arch/i386/i386/pmap.c +++ b/sys/arch/i386/i386/pmap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap.c,v 1.48 2001/11/28 13:47:38 art Exp $ */ +/* $OpenBSD: pmap.c,v 1.49 2001/11/28 14:13:06 art Exp $ */ /* $NetBSD: pmap.c,v 1.91 2000/06/02 17:46:37 thorpej Exp $ */ /* @@ -607,7 +607,7 @@ pmap_unmap_ptes(pmap) * p m a p k e n t e r f u n c t i o n s * * functions to quickly enter/remove pages from the kernel address - * space. pmap_kremove/pmap_kenter_pgs are exported to MI kernel. + * space. pmap_kremove are exported to MI kernel. * we make use of the recursive PTE mappings. */ @@ -673,44 +673,6 @@ pmap_kremove(va, len) } /* - * pmap_kenter_pgs: enter in a number of vm_pages - */ - -void -pmap_kenter_pgs(va, pgs, npgs) - vaddr_t va; - struct vm_page **pgs; - int npgs; -{ - pt_entry_t *pte, opte; - int lcv; - vaddr_t tva; -#if defined(I386_CPU) - boolean_t need_update = FALSE; -#endif - - for (lcv = 0 ; lcv < npgs ; lcv++) { - tva = va + lcv * NBPG; - pte = vtopte(tva); - opte = *pte; - *pte = VM_PAGE_TO_PHYS(pgs[lcv]) | PG_RW | PG_V | pmap_pg_g; -#if defined(I386_CPU) - if (cpu_class == CPUCLASS_386) { - if (pmap_valid_entry(opte)) - need_update = TRUE; - continue; - } -#endif - if (pmap_valid_entry(opte)) - pmap_update_pg(tva); - } -#if defined(I386_CPU) - if (need_update && cpu_class == CPUCLASS_386) - pmap_update(); -#endif -} - -/* * p m a p i n i t f u n c t i o n s * * pmap_bootstrap and pmap_init are called during system startup 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) { 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) { diff --git a/sys/arch/mvme88k/mvme88k/pmap.c b/sys/arch/mvme88k/mvme88k/pmap.c index 43656667f40..0c16b59927f 100644 --- a/sys/arch/mvme88k/mvme88k/pmap.c +++ b/sys/arch/mvme88k/mvme88k/pmap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap.c,v 1.46 2001/11/28 13:47:38 art Exp $ */ +/* $OpenBSD: pmap.c,v 1.47 2001/11/28 14:13:06 art Exp $ */ /* * Copyright (c) 1996 Nivas Madhur * All rights reserved. @@ -4429,18 +4429,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) { diff --git a/sys/arch/powerpc/powerpc/pmap.c b/sys/arch/powerpc/powerpc/pmap.c index 57e61abfe98..fdab9983431 100644 --- a/sys/arch/powerpc/powerpc/pmap.c +++ b/sys/arch/powerpc/powerpc/pmap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap.c,v 1.48 2001/11/28 13:47:39 art Exp $ */ +/* $OpenBSD: pmap.c,v 1.49 2001/11/28 14:13:06 art Exp $ */ /* $NetBSD: pmap.c,v 1.1 1996/09/30 16:34:52 ws Exp $ */ /* @@ -1313,21 +1313,6 @@ pmap_kenter_pa(va, pa, prot) PMAP_CACHE_DEFAULT, KERN_MAP_PV); } -void -pmap_kenter_pgs(va, pgs, npgs) - vaddr_t va; - struct vm_page **pgs; - int npgs; -{ - int i; - - for (i = 0; i < npgs; i++, va += PAGE_SIZE) { - pmap_enter_c_pv(pmap_kernel(), va, VM_PAGE_TO_PHYS(pgs[i]), - VM_PROT_READ|VM_PROT_WRITE, PMAP_WIRED, - PMAP_CACHE_DEFAULT, KERN_MAP_PV); - } -} - void pmap_remove_pvl( struct pmap *pm, vm_offset_t va, vm_offset_t endva, int pv); void diff --git a/sys/arch/sparc/include/pmap.h b/sys/arch/sparc/include/pmap.h index 86c3e281bd1..dc25d6b4aba 100644 --- a/sys/arch/sparc/include/pmap.h +++ b/sys/arch/sparc/include/pmap.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap.h,v 1.23 2001/08/19 15:36:27 art Exp $ */ +/* $OpenBSD: pmap.h,v 1.24 2001/11/28 14:13:06 art Exp $ */ /* $NetBSD: pmap.h,v 1.30 1997/08/04 20:00:47 pk Exp $ */ /* @@ -357,7 +357,6 @@ void pmap_changeprot4m __P((pmap_t, vaddr_t, vm_prot_t, int)); #define pmap_is_modified pmap_is_modified4_4c #define pmap_is_referenced pmap_is_referenced4_4c #define pmap_kenter_pa pmap_kenter_pa4_4c -#define pmap_kenter_pgs pmap_kenter_pgs4_4c #define pmap_kremove pmap_kremove4_4c #define pmap_page_protect pmap_page_protect4_4c #define pmap_protect pmap_protect4_4c @@ -374,7 +373,6 @@ void pmap_changeprot4m __P((pmap_t, vaddr_t, vm_prot_t, int)); #define pmap_is_modified pmap_is_modified4m #define pmap_is_referenced pmap_is_referenced4m #define pmap_kenter_pa pmap_kenter_pa4m -#define pmap_kenter_pgs pmap_kenter_pgs4m #define pmap_kremove pmap_kremove4m #define pmap_page_protect pmap_page_protect4m #define pmap_protect pmap_protect4m @@ -411,7 +409,6 @@ extern void (*pmap_changeprot_p) __P((pmap_t, vaddr_t, #define pmap_is_modified (*pmap_is_modified_p) #define pmap_is_referenced (*pmap_is_referenced_p) #define pmap_kenter_pa (*pmap_kenter_pa_p) -#define pmap_kenter_pgs (*pmap_kenter_pgs_p) #define pmap_kremove (*pmap_kremove_p) #define pmap_page_protect (*pmap_page_protect_p) #define pmap_protect (*pmap_protect_p) diff --git a/sys/arch/sparc/sparc/pmap.c b/sys/arch/sparc/sparc/pmap.c index ccd9ac4597c..f1de4924ff6 100644 --- a/sys/arch/sparc/sparc/pmap.c +++ b/sys/arch/sparc/sparc/pmap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap.c,v 1.98 2001/11/28 13:47:39 art Exp $ */ +/* $OpenBSD: pmap.c,v 1.99 2001/11/28 14:13:06 art Exp $ */ /* $NetBSD: pmap.c,v 1.118 1998/05/19 19:00:18 thorpej Exp $ */ /* @@ -540,7 +540,6 @@ boolean_t (*pmap_extract_p) __P((pmap_t, vaddr_t, paddr_t *)); boolean_t (*pmap_is_modified_p) __P((struct vm_page *)); boolean_t (*pmap_is_referenced_p) __P((struct vm_page *)); void (*pmap_kenter_pa_p) __P((vaddr_t, paddr_t, vm_prot_t)); -void (*pmap_kenter_pgs_p) __P((vaddr_t, struct vm_page **, int)); void (*pmap_kremove_p) __P((vaddr_t, vsize_t)); void (*pmap_page_protect_p) __P((struct vm_page *, vm_prot_t)); void (*pmap_protect_p) __P((pmap_t, vaddr_t, vaddr_t, vm_prot_t)); @@ -2664,7 +2663,6 @@ pmap_bootstrap4_4c(nctx, nregion, nsegment) pmap_is_modified_p = pmap_is_modified4_4c; pmap_is_referenced_p = pmap_is_referenced4_4c; pmap_kenter_pa_p = pmap_kenter_pa4_4c; - pmap_kenter_pgs_p = pmap_kenter_pgs4_4c; pmap_kremove_p = pmap_kremove4_4c; pmap_page_protect_p = pmap_page_protect4_4c; pmap_protect_p = pmap_protect4_4c; @@ -2978,7 +2976,6 @@ pmap_bootstrap4m(void) pmap_is_modified_p = pmap_is_modified4m; pmap_is_referenced_p = pmap_is_referenced4m; pmap_kenter_pa_p = pmap_kenter_pa4m; - pmap_kenter_pgs_p = pmap_kenter_pgs4m; pmap_kremove_p = pmap_kremove4m; pmap_page_protect_p = pmap_page_protect4m; pmap_protect_p = pmap_protect4m; @@ -5216,20 +5213,6 @@ pmap_kenter_pa4_4c(va, pa, prot) } void -pmap_kenter_pgs4_4c(va, pgs, npgs) - vaddr_t va; - struct vm_page **pgs; - int npgs; -{ - int i; - - for (i = 0; i < npgs; i++, va += PAGE_SIZE) { - pmap_enter4_4c(pmap_kernel(), va, VM_PAGE_TO_PHYS(pgs[i]), - VM_PROT_READ|VM_PROT_WRITE, PMAP_WIRED); - } -} - -void pmap_kremove4_4c(va, len) vaddr_t va; vsize_t len; @@ -5561,50 +5544,6 @@ pmap_kenter_pa4m(va, pa, prot) } void -pmap_kenter_pgs4m(va, pgs, npgs) - vaddr_t va; - struct vm_page **pgs; - int npgs; -{ - int i, pteproto, pte, ctx; - struct pvlist *pv; - - /* - * The pages will always be "normal" so they can always be - * cached. - */ - pteproto = SRMMU_PG_C | SRMMU_TEPTE | PPROT_N_RX; -#if 0 - /* - * XXX - make the pages read-only until we know what protection they - * should have. - */ - | ((prot & VM_PROT_WRITE) ? PPROT_WRITE : 0); -#endif - - /* - * We can do even nastier stuff here. We happen to know that the - * pte's are contig in the kernel (don't have to worry about - * segment/region boundaries). - */ - ctx = getcontext4m(); - for (i = 0; i < npgs; i++, va += PAGE_SIZE) { - int pnum; - paddr_t pa; - - pa = VM_PAGE_TO_PHYS(pgs[i]); - pnum = atop(pa); - - pte = pteproto | (pnum << SRMMU_PPNSHIFT) | - PMAP_T2PTE_SRMMU(pa); - pv = pvhead(pnum); - pmap_enk4m(pmap_kernel(), va, VM_PROT_READ /* XXX */, - TRUE, pv, pte); - } - setcontext(ctx); -} - -void pmap_kremove4m(va, len) vaddr_t va; vsize_t len; diff --git a/sys/arch/sun3/sun3/pmap.c b/sys/arch/sun3/sun3/pmap.c index 59261de8bac..2daa29ecbf0 100644 --- a/sys/arch/sun3/sun3/pmap.c +++ b/sys/arch/sun3/sun3/pmap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap.c,v 1.32 2001/11/28 13:47:39 art Exp $ */ +/* $OpenBSD: pmap.c,v 1.33 2001/11/28 14:13:06 art Exp $ */ /* $NetBSD: pmap.c,v 1.64 1996/11/20 18:57:35 gwr Exp $ */ /*- @@ -3367,18 +3367,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) { diff --git a/sys/arch/vax/vax/pmap.c b/sys/arch/vax/vax/pmap.c index 2544cdbdbea..1a4e14a5b90 100644 --- a/sys/arch/vax/vax/pmap.c +++ b/sys/arch/vax/vax/pmap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap.c,v 1.25 2001/11/28 13:47:39 art Exp $ */ +/* $OpenBSD: pmap.c,v 1.26 2001/11/28 14:13:07 art Exp $ */ /* $NetBSD: pmap.c,v 1.74 1999/11/13 21:32:25 matt Exp $ */ /* * Copyright (c) 1994, 1998, 1999 Ludd, University of Lule}, Sweden. @@ -613,39 +613,6 @@ if(startpmapdebug) mtpr(0, PR_TBIA); } -void -pmap_kenter_pgs(va, pgs, npgs) - vaddr_t va; - struct vm_page **pgs; - int npgs; -{ - int i; - int *ptp; - -#ifdef PMAPDEBUG -if(startpmapdebug) - printf("pmap_kenter_pgs: va: %lx, pgs %p, npgs %x\n", va, pgs, npgs); -#endif - - /* - * May this routine affect page tables? - * We assume that, and uses TBIA. - */ - ptp = (int *)kvtopte(va); - for (i = 0 ; i < npgs ; i++) { - ptp[0] = PG_V | PG_KW | - PG_PFNUM(VM_PAGE_TO_PHYS(pgs[i])) | PG_SREF; - ptp[1] = ptp[0] + 1; - ptp[2] = ptp[0] + 2; - ptp[3] = ptp[0] + 3; - ptp[4] = ptp[0] + 4; - ptp[5] = ptp[0] + 5; - ptp[6] = ptp[0] + 6; - ptp[7] = ptp[0] + 7; - ptp += LTOHPN; - } -} - /* * pmap_enter() is the main routine that puts in mappings for pages, or * upgrades mappings to more "rights". Note that: diff --git a/sys/uvm/uvm_pmap.h b/sys/uvm/uvm_pmap.h index 325ed9e19d3..ccc64e2dfe7 100644 --- a/sys/uvm/uvm_pmap.h +++ b/sys/uvm/uvm_pmap.h @@ -127,7 +127,6 @@ vaddr_t pmap_growkernel __P((vaddr_t)); void pmap_init __P((void)); void pmap_kenter_pa __P((vaddr_t, paddr_t, vm_prot_t)); -void pmap_kenter_pgs __P((vaddr_t, struct vm_page **, int)); void pmap_kremove __P((vaddr_t, vsize_t)); #if !defined(pmap_is_modified) boolean_t pmap_is_modified __P((struct vm_page *)); |