Source-Changes-HG archive

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

[src/trunk]: src/sys Undo a misguided previous change to the pmap_update() API.



details:   https://anonhg.NetBSD.org/src/rev/83f6875ee79b
branches:  trunk
changeset: 508945:83f6875ee79b
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Sun Apr 22 23:19:26 2001 +0000

description:
Undo a misguided previous change to the pmap_update() API.

diffstat:

 sys/arch/alpha/alpha/pmap.c       |  8 ++++----
 sys/arch/alpha/include/pmap.h     |  4 ++--
 sys/arch/amiga/include/pmap.h     |  4 ++--
 sys/arch/arm/include/arm32/pmap.h |  4 ++--
 sys/arch/arm26/arm26/pmap.c       |  6 +++---
 sys/arch/atari/include/pmap.h     |  4 ++--
 sys/arch/hp300/include/pmap.h     |  4 ++--
 sys/arch/i386/include/pmap.h      |  4 ++--
 sys/arch/luna68k/include/pmap.h   |  4 ++--
 sys/arch/mac68k/include/pmap.h    |  4 ++--
 sys/arch/mips/include/pmap.h      |  4 ++--
 sys/arch/mvme68k/include/pmap.h   |  4 ++--
 sys/arch/news68k/include/pmap.h   |  4 ++--
 sys/arch/next68k/include/pmap.h   |  4 ++--
 sys/arch/pc532/include/pmap.h     |  4 ++--
 sys/arch/powerpc/include/pmap.h   |  4 ++--
 sys/arch/sh3/include/pmap.h       |  4 ++--
 sys/arch/sparc/include/pmap.h     |  4 ++--
 sys/arch/sparc64/include/pmap.h   |  4 ++--
 sys/arch/sun2/include/pmap.h      |  4 ++--
 sys/arch/sun3/include/pmap3.h     |  4 ++--
 sys/arch/sun3/include/pmap3x.h    |  4 ++--
 sys/arch/vax/include/pmap.h       |  4 ++--
 sys/arch/x68k/include/pmap.h      |  4 ++--
 sys/uvm/uvm_pmap.h                |  4 ++--
 25 files changed, 53 insertions(+), 53 deletions(-)

diffs (truncated from 474 to 300 lines):

diff -r 0a36eb2068b9 -r 83f6875ee79b sys/arch/alpha/alpha/pmap.c
--- a/sys/arch/alpha/alpha/pmap.c       Sun Apr 22 22:17:40 2001 +0000
+++ b/sys/arch/alpha/alpha/pmap.c       Sun Apr 22 23:19:26 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.c,v 1.164 2001/04/22 18:21:48 thorpej Exp $ */
+/* $NetBSD: pmap.c,v 1.165 2001/04/22 23:19:31 thorpej Exp $ */
 
 /*-
  * Copyright (c) 1998, 1999, 2000, 2001 The NetBSD Foundation, Inc.
@@ -154,7 +154,7 @@
 
 #include <sys/cdefs.h>                 /* RCS ID & Copyright macro defns */
 
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.164 2001/04/22 18:21:48 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.165 2001/04/22 23:19:31 thorpej Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -2281,12 +2281,12 @@
  *     pmap operations.
  */
 void
-pmap_update(pmap_t pmap)
+pmap_update(void)
 {
 
 #ifdef DEBUG
        if (pmapdebug & PDB_FOLLOW)
-               printf("pmap_update(%p)\n", pmap);
+               printf("pmap_update()\n");
 #endif
 
        /*
diff -r 0a36eb2068b9 -r 83f6875ee79b sys/arch/alpha/include/pmap.h
--- a/sys/arch/alpha/include/pmap.h     Sun Apr 22 22:17:40 2001 +0000
+++ b/sys/arch/alpha/include/pmap.h     Sun Apr 22 23:19:26 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.h,v 1.41 2001/04/22 00:34:00 thorpej Exp $ */
+/* $NetBSD: pmap.h,v 1.42 2001/04/22 23:19:27 thorpej Exp $ */
 
 /*-
  * Copyright (c) 1998, 1999, 2000 The NetBSD Foundation, Inc.
@@ -207,7 +207,7 @@
 #define        pmap_resident_count(pmap)       ((pmap)->pm_stats.resident_count)
 #define        pmap_wired_count(pmap)          ((pmap)->pm_stats.wired_count)
 
-#define        pmap_update(pmap)               /* nothing (yet) */
+#define        pmap_update()                   /* nothing (yet) */
 
 extern pt_entry_t *VPT;                /* Virtual Page Table */
 
diff -r 0a36eb2068b9 -r 83f6875ee79b sys/arch/amiga/include/pmap.h
--- a/sys/arch/amiga/include/pmap.h     Sun Apr 22 22:17:40 2001 +0000
+++ b/sys/arch/amiga/include/pmap.h     Sun Apr 22 23:19:26 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.h,v 1.29 2001/04/22 00:34:00 thorpej Exp $        */
+/*     $NetBSD: pmap.h,v 1.30 2001/04/22 23:19:27 thorpej Exp $        */
 
 /* 
  * Copyright (c) 1987 Carnegie-Mellon University
@@ -136,7 +136,7 @@
 #define        pmap_resident_count(pmap)       ((pmap)->pm_stats.resident_count)
 #define        pmap_wired_count(pmap)          ((pmap)->pm_stats.wired_count)
 
-#define        pmap_update(pmap)               /* nothing (yet) */
+#define        pmap_update()                   /* nothing (yet) */
 
 vaddr_t                pmap_map __P((vaddr_t, paddr_t, paddr_t, int));
 void           pmap_procwr __P((struct proc *, vaddr_t, u_long));
diff -r 0a36eb2068b9 -r 83f6875ee79b sys/arch/arm/include/arm32/pmap.h
--- a/sys/arch/arm/include/arm32/pmap.h Sun Apr 22 22:17:40 2001 +0000
+++ b/sys/arch/arm/include/arm32/pmap.h Sun Apr 22 23:19:26 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.h,v 1.6 2001/04/22 00:34:04 thorpej Exp $ */
+/*     $NetBSD: pmap.h,v 1.7 2001/04/22 23:19:31 thorpej Exp $ */
 
 /*
  * Copyright (c) 1994,1995 Mark Brinicombe.
@@ -147,7 +147,7 @@
  * Macros that we need to export
  */
 #define pmap_kernel()                  (&kernel_pmap_store)
-#define pmap_update(pmap)              /* nothing (yet) */
+#define pmap_update()                  /* nothing (yet) */
 #define        pmap_resident_count(pmap)       ((pmap)->pm_stats.resident_count)
 #define        pmap_wired_count(pmap)          ((pmap)->pm_stats.wired_count)
 
diff -r 0a36eb2068b9 -r 83f6875ee79b sys/arch/arm26/arm26/pmap.c
--- a/sys/arch/arm26/arm26/pmap.c       Sun Apr 22 22:17:40 2001 +0000
+++ b/sys/arch/arm26/arm26/pmap.c       Sun Apr 22 23:19:26 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.c,v 1.23 2001/04/22 18:21:49 thorpej Exp $ */
+/* $NetBSD: pmap.c,v 1.24 2001/04/22 23:19:32 thorpej Exp $ */
 /*-
  * Copyright (c) 1997, 1998, 2000 Ben Harris
  * All rights reserved.
@@ -105,7 +105,7 @@
 
 #include <sys/param.h>
 
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.23 2001/04/22 18:21:49 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.24 2001/04/22 23:19:32 thorpej Exp $");
 
 #include <sys/kernel.h> /* for cold */
 #include <sys/malloc.h>
@@ -926,7 +926,7 @@
  * now.
  */
 void
-pmap_update(pmap_t pmap)
+pmap_update(void)
 {
        UVMHIST_FUNC("pmap_update");
 
diff -r 0a36eb2068b9 -r 83f6875ee79b sys/arch/atari/include/pmap.h
--- a/sys/arch/atari/include/pmap.h     Sun Apr 22 22:17:40 2001 +0000
+++ b/sys/arch/atari/include/pmap.h     Sun Apr 22 23:19:26 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.h,v 1.23 2001/04/22 00:34:00 thorpej Exp $        */
+/*     $NetBSD: pmap.h,v 1.24 2001/04/22 23:19:27 thorpej Exp $        */
 
 /* 
  * Copyright (c) 1987 Carnegie-Mellon University
@@ -153,7 +153,7 @@
 #define        pmap_resident_count(pmap)       ((pmap)->pm_stats.resident_count)
 #define        pmap_wired_count(pmap)          ((pmap)->pm_stats.wired_count)
 
-#define        pmap_update(pmap)               /* nothing (yet) */
+#define        pmap_update()                   /* nothing (yet) */
 
 #define        active_user_pmap(pm) \
        (curproc && \
diff -r 0a36eb2068b9 -r 83f6875ee79b sys/arch/hp300/include/pmap.h
--- a/sys/arch/hp300/include/pmap.h     Sun Apr 22 22:17:40 2001 +0000
+++ b/sys/arch/hp300/include/pmap.h     Sun Apr 22 23:19:26 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.h,v 1.27 2001/04/22 00:34:00 thorpej Exp $        */
+/*     $NetBSD: pmap.h,v 1.28 2001/04/22 23:19:27 thorpej Exp $        */
 
 /* 
  * Copyright (c) 1987 Carnegie-Mellon University
@@ -147,7 +147,7 @@
 #define        pmap_resident_count(pmap)       ((pmap)->pm_stats.resident_count)
 #define        pmap_wired_count(pmap)          ((pmap)->pm_stats.wired_count)
 
-#define        pmap_update(pmap)               /* nothing (yet) */
+#define        pmap_update()                   /* nothing (yet) */
 
 extern pt_entry_t      *Sysmap;
 extern char            *vmmap;         /* map for mem, dumps, etc. */
diff -r 0a36eb2068b9 -r 83f6875ee79b sys/arch/i386/include/pmap.h
--- a/sys/arch/i386/include/pmap.h      Sun Apr 22 22:17:40 2001 +0000
+++ b/sys/arch/i386/include/pmap.h      Sun Apr 22 23:19:26 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.h,v 1.54 2001/04/22 00:34:00 thorpej Exp $        */
+/*     $NetBSD: pmap.h,v 1.55 2001/04/22 23:19:27 thorpej Exp $        */
 
 /*
  *
@@ -340,7 +340,7 @@
 #define        pmap_kernel()                   (&kernel_pmap_store)
 #define        pmap_resident_count(pmap)       ((pmap)->pm_stats.resident_count)
 #define        pmap_wired_count(pmap)          ((pmap)->pm_stats.wired_count)
-#define        pmap_update(pmap)               /* nothing (yet) */
+#define        pmap_update()                   /* nothing (yet) */
 
 #define pmap_clear_modify(pg)          pmap_change_attrs(pg, 0, PG_M)
 #define pmap_clear_reference(pg)       pmap_change_attrs(pg, 0, PG_U)
diff -r 0a36eb2068b9 -r 83f6875ee79b sys/arch/luna68k/include/pmap.h
--- a/sys/arch/luna68k/include/pmap.h   Sun Apr 22 22:17:40 2001 +0000
+++ b/sys/arch/luna68k/include/pmap.h   Sun Apr 22 23:19:26 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.h,v 1.3 2001/04/22 00:34:01 thorpej Exp $ */
+/*     $NetBSD: pmap.h,v 1.4 2001/04/22 23:19:28 thorpej Exp $ */
 
 /* 
  * Copyright (c) 1987 Carnegie-Mellon University
@@ -138,7 +138,7 @@
 #define        pmap_resident_count(pmap)       ((pmap)->pm_stats.resident_count)
 #define        pmap_wired_count(pmap)          ((pmap)->pm_stats.wired_count)
 
-#define        pmap_update(pmap)               /* nothing (yet) */
+#define        pmap_update()                   /* nothing (yet) */
 
 extern pt_entry_t      *Sysmap;
 extern char            *vmmap;         /* map for mem, dumps, etc. */
diff -r 0a36eb2068b9 -r 83f6875ee79b sys/arch/mac68k/include/pmap.h
--- a/sys/arch/mac68k/include/pmap.h    Sun Apr 22 22:17:40 2001 +0000
+++ b/sys/arch/mac68k/include/pmap.h    Sun Apr 22 23:19:26 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.h,v 1.29 2001/04/22 00:34:01 thorpej Exp $        */
+/*     $NetBSD: pmap.h,v 1.30 2001/04/22 23:19:28 thorpej Exp $        */
 
 /*
  * Copyright (c) 1987 Carnegie-Mellon University
@@ -181,7 +181,7 @@
 #define        pmap_resident_count(pmap)       ((pmap)->pm_stats.resident_count)
 #define        pmap_wired_count(pmap)          ((pmap)->pm_stats.wired_count)
 
-#define        pmap_update(pmap)               /* nothing (yet) */
+#define        pmap_update()                   /* nothing (yet) */
 
 extern pt_entry_t *Sysmap;
 extern char *vmmap;                    /* map for mem, dumps, etc. */
diff -r 0a36eb2068b9 -r 83f6875ee79b sys/arch/mips/include/pmap.h
--- a/sys/arch/mips/include/pmap.h      Sun Apr 22 22:17:40 2001 +0000
+++ b/sys/arch/mips/include/pmap.h      Sun Apr 22 23:19:26 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.h,v 1.32 2001/04/22 00:34:01 thorpej Exp $        */
+/*     $NetBSD: pmap.h,v 1.33 2001/04/22 23:19:28 thorpej Exp $        */
 
 /*
  * Copyright (c) 1987 Carnegie-Mellon University
@@ -116,7 +116,7 @@
 #define        pmap_wired_count(pmap)  ((pmap)->pm_stats.wired_count)
 #define pmap_resident_count(pmap) ((pmap)->pm_stats.resident_count)
 
-#define        pmap_update(pmap)       /* nothing (yet) */
+#define        pmap_update()           /* nothing (yet) */
 
 /*
  *     Bootstrap the system enough to run with virtual memory.
diff -r 0a36eb2068b9 -r 83f6875ee79b sys/arch/mvme68k/include/pmap.h
--- a/sys/arch/mvme68k/include/pmap.h   Sun Apr 22 22:17:40 2001 +0000
+++ b/sys/arch/mvme68k/include/pmap.h   Sun Apr 22 23:19:26 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.h,v 1.19 2001/04/22 00:34:01 thorpej Exp $        */
+/*     $NetBSD: pmap.h,v 1.20 2001/04/22 23:19:28 thorpej Exp $        */
 
 /* 
  * Copyright (c) 1987 Carnegie-Mellon University
@@ -141,7 +141,7 @@
 #define        pmap_resident_count(pmap)       ((pmap)->pm_stats.resident_count)
 #define        pmap_wired_count(pmap)          ((pmap)->pm_stats.wired_count)
 
-#define        pmap_update(pmap)               /* nothing (yet) */
+#define        pmap_update()                   /* nothing (yet) */
 
 extern pt_entry_t      *Sysmap;
 extern char            *vmmap;         /* map for mem, dumps, etc. */
diff -r 0a36eb2068b9 -r 83f6875ee79b sys/arch/news68k/include/pmap.h
--- a/sys/arch/news68k/include/pmap.h   Sun Apr 22 22:17:40 2001 +0000
+++ b/sys/arch/news68k/include/pmap.h   Sun Apr 22 23:19:26 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.h,v 1.5 2001/04/22 00:34:01 thorpej Exp $ */
+/*     $NetBSD: pmap.h,v 1.6 2001/04/22 23:19:29 thorpej Exp $ */
 
 /* 
  * Copyright (c) 1987 Carnegie-Mellon University
@@ -138,7 +138,7 @@
 #define        pmap_resident_count(pmap)       ((pmap)->pm_stats.resident_count)
 #define        pmap_wired_count(pmap)          ((pmap)->pm_stats.wired_count)
 
-#define        pmap_update(pmap)               /* nothing (yet) */
+#define        pmap_update()                   /* nothing (yet) */
 
 extern pt_entry_t      *Sysmap;
 extern char            *vmmap;         /* map for mem, dumps, etc. */
diff -r 0a36eb2068b9 -r 83f6875ee79b sys/arch/next68k/include/pmap.h
--- a/sys/arch/next68k/include/pmap.h   Sun Apr 22 22:17:40 2001 +0000
+++ b/sys/arch/next68k/include/pmap.h   Sun Apr 22 23:19:26 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.h,v 1.7 2001/04/22 00:34:02 thorpej Exp $ */
+/* $NetBSD: pmap.h,v 1.8 2001/04/22 23:19:29 thorpej Exp $ */
 
 /*
  * This file was taken from from mvme68k/include/pmap.h and
@@ -151,7 +151,7 @@
 #define        pmap_resident_count(pmap)       ((pmap)->pm_stats.resident_count)
 #define        pmap_wired_count(pmap)          ((pmap)->pm_stats.wired_count)
 
-#define        pmap_update(pmap)               /* nothing (yet) */
+#define        pmap_update()                   /* nothing (yet) */
 
 extern pt_entry_t      *Sysmap;
 extern char            *vmmap;         /* map for mem, dumps, etc. */
diff -r 0a36eb2068b9 -r 83f6875ee79b sys/arch/pc532/include/pmap.h
--- a/sys/arch/pc532/include/pmap.h     Sun Apr 22 22:17:40 2001 +0000
+++ b/sys/arch/pc532/include/pmap.h     Sun Apr 22 23:19:26 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.h,v 1.31 2001/04/22 00:34:02 thorpej Exp $        */
+/*     $NetBSD: pmap.h,v 1.32 2001/04/22 23:19:29 thorpej Exp $        */
 
 /*
  *
@@ -322,7 +322,7 @@
 #define        pmap_kernel()                   (&kernel_pmap_store)
 #define        pmap_resident_count(pmap)       ((pmap)->pm_stats.resident_count)
 #define        pmap_wired_count(pmap)          ((pmap)->pm_stats.wired_count)
-#define        pmap_update(pmap)               /* nothing (yet) */
+#define        pmap_update()                   /* nothing (yet) */
 
 #define pmap_clear_modify(pg)          pmap_change_attrs(pg, 0, PG_M)
 #define pmap_clear_reference(pg)       pmap_change_attrs(pg, 0, PG_U)
diff -r 0a36eb2068b9 -r 83f6875ee79b sys/arch/powerpc/include/pmap.h
--- a/sys/arch/powerpc/include/pmap.h   Sun Apr 22 22:17:40 2001 +0000
+++ b/sys/arch/powerpc/include/pmap.h   Sun Apr 22 23:19:26 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.h,v 1.20 2001/04/22 00:34:02 thorpej Exp $        */
+/*     $NetBSD: pmap.h,v 1.21 2001/04/22 23:19:29 thorpej Exp $        */



Home | Main Index | Thread Index | Old Index