unstatic uvm_page_physload so pmap modules can use it too.

as requested by Eduardo E. Horvath
This commit is contained in:
chuck 1998-05-28 15:31:31 +00:00
parent ecf9000778
commit 07c8bdc65f
2 changed files with 8 additions and 7 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: uvm_page.c,v 1.10 1998/05/05 20:51:06 kleink Exp $ */
/* $NetBSD: uvm_page.c,v 1.11 1998/05/28 15:31:31 chuck Exp $ */
/*
* XXXCDC: "ROUGH DRAFT" QUALITY UVM PRE-RELEASE FILE!
@ -125,9 +125,6 @@ static struct pglist uvm_bootbucket;
*/
static void uvm_pageinsert __P((struct vm_page *));
#if !defined(PMAP_STEAL_MEMORY)
static boolean_t uvm_page_physget __P((vm_offset_t *));
#endif
/*
@ -452,7 +449,7 @@ uvm_pageboot_alloc(size)
* => return false if out of memory.
*/
static boolean_t
boolean_t
uvm_page_physget(paddrp)
vm_offset_t *paddrp;
{

View File

@ -1,4 +1,4 @@
/* $NetBSD: uvm_page.h,v 1.7 1998/03/22 21:29:30 chuck Exp $ */
/* $NetBSD: uvm_page.h,v 1.8 1998/05/28 15:31:31 chuck Exp $ */
/*
* XXXCDC: "ROUGH DRAFT" QUALITY UVM PRE-RELEASE FILE!
@ -100,14 +100,18 @@
#endif /* UVM_PAGE_INLINE */
/*
* prototypes: the following prototypes define the interface to amaps
* prototypes: the following prototypes define the interface to pages
*/
void uvm_page_init __P((vm_offset_t *, vm_offset_t *));
#if defined(UVM_PAGE_TRKOWN)
void uvm_page_own __P((struct vm_page *, char *));
#endif
#if !defined(PMAP_STEAL_MEMORY)
boolean_t uvm_page_physget __P((vm_offset_t *));
#endif
void uvm_page_rehash __P((void));
PAGE_INLINE void uvm_pageactivate __P((struct vm_page *));
vm_offset_t uvm_pageboot_alloc __P((vm_size_t));
PAGE_INLINE void uvm_pagecopy __P((struct vm_page *, struct vm_page *));