From 338e6366720d30bdc03e390880998f74b8c64c6b Mon Sep 17 00:00:00 2001 From: thorpej Date: Wed, 10 Apr 2002 00:40:45 +0000 Subject: [PATCH] Allow pmap_copy_page() and pmap_zero_page() to be #define'd in . --- sys/uvm/uvm_pmap.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sys/uvm/uvm_pmap.h b/sys/uvm/uvm_pmap.h index f4f2e4ce0ea0..80413539be21 100644 --- a/sys/uvm/uvm_pmap.h +++ b/sys/uvm/uvm_pmap.h @@ -1,4 +1,4 @@ -/* $NetBSD: uvm_pmap.h,v 1.9 2001/09/10 21:19:43 chris Exp $ */ +/* $NetBSD: uvm_pmap.h,v 1.10 2002/04/10 00:40:45 thorpej Exp $ */ /* * Copyright (c) 1991, 1993 @@ -119,7 +119,9 @@ boolean_t pmap_clear_reference __P((struct vm_page *)); void pmap_collect __P((pmap_t)); void pmap_copy __P((pmap_t, pmap_t, vaddr_t, vsize_t, vaddr_t)); +#if !defined(pmap_copy_page) void pmap_copy_page __P((paddr_t, paddr_t)); +#endif struct pmap *pmap_create __P((void)); void pmap_destroy __P((pmap_t)); int pmap_enter __P((pmap_t, @@ -156,7 +158,9 @@ long pmap_resident_count __P((pmap_t)); #if !defined(pmap_wired_count) long pmap_wired_count __P((pmap_t)); #endif +#if !defined(pmap_zero_page) void pmap_zero_page __P((paddr_t)); +#endif void pmap_virtual_space __P((vaddr_t *, vaddr_t *)); #if defined(PMAP_STEAL_MEMORY)