Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/uvm Allow pmap_copy_page() and pmap_zero_page() to be #d...



details:   https://anonhg.NetBSD.org/src/rev/6e510a2f6763
branches:  trunk
changeset: 525320:6e510a2f6763
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Wed Apr 10 00:40:45 2002 +0000

description:
Allow pmap_copy_page() and pmap_zero_page() to be #define'd
in <machine/pmap.h>.

diffstat:

 sys/uvm/uvm_pmap.h |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (29 lines):

diff -r 1148a2edea4f -r 6e510a2f6763 sys/uvm/uvm_pmap.h
--- a/sys/uvm/uvm_pmap.h        Tue Apr 09 23:44:19 2002 +0000
+++ b/sys/uvm/uvm_pmap.h        Wed Apr 10 00:40:45 2002 +0000
@@ -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 @@
 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 @@
 #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)



Home | Main Index | Thread Index | Old Index